lib/openactive/models/brand.rb in openactive-0.1.2 vs lib/openactive/models/brand.rb in openactive-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ module OpenActive module Models - # This type is derived from [Brand](https://schema.org/Brand), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available. + # This type is derived from https://schema.org/Brand, which means that any of this type's properties within schema.org may also be used. class Brand < ::OpenActive::Models::Schema::Brand # @!attribute type # @return [String] def type "Brand" @@ -35,12 +35,17 @@ # @return [URI] define_property :url, as: "url", types: [ "URI", ] - # @return [Array<OpenActive::Models::Schema::VideoObject>] + # @return [String] + define_property :formatted_description, as: "beta:formattedDescription", types: [ + "string", + ] + + # @return [Array<OpenActive::Models::VideoObject>] define_property :video, as: "beta:video", types: [ - "OpenActive::Models::Schema::VideoObject[]", + "OpenActive::Models::VideoObject[]", ] end end end