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

- old
+ new

@@ -1,8 +1,8 @@ module OpenActive module Models - # This type is derived from [Place](https://schema.org/Place), 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/Place, which means that any of this type's properties within schema.org may also be used. class Place < ::OpenActive::Models::Schema::Place # @!attribute type # @return [String] def type "Place" @@ -58,9 +58,14 @@ "OpenActive::Models::ImageObject[]", ] # @return [Array<OpenActive::Models::OpeningHoursSpecification>] define_property :opening_hours_specification, as: "openingHoursSpecification", types: [ + "OpenActive::Models::OpeningHoursSpecification[]", + ] + + # @return [Array<OpenActive::Models::OpeningHoursSpecification>] + define_property :special_opening_hours_specification, as: "specialOpeningHoursSpecification", types: [ "OpenActive::Models::OpeningHoursSpecification[]", ] # @return [String] define_property :telephone, as: "telephone", types: [