lib/openactive/models/schema/archive_component.rb in openactive-0.1.2 vs lib/openactive/models/schema/archive_component.rb in openactive-0.2.0

- old
+ new

@@ -6,19 +6,21 @@ # @return [String] def type "schema:ArchiveComponent" end - # @return [OpenActive::Models::Schema::Place,String,OpenActive::Models::Schema::PostalAddress] + # @return [OpenActive::Models::Schema::ArchiveOrganization,URI] + define_property :holding_archive, as: "holdingArchive", types: [ + "OpenActive::Models::Schema::ArchiveOrganization", + "URI", + ] + + # @return [OpenActive::Models::Schema::PostalAddress,OpenActive::Models::Schema::Place,String,URI] define_property :item_location, as: "itemLocation", types: [ + "OpenActive::Models::Schema::PostalAddress", "OpenActive::Models::Schema::Place", "string", - "OpenActive::Models::Schema::PostalAddress", - ] - - # @return [OpenActive::Models::Schema::ArchiveOrganization] - define_property :holding_archive, as: "holdingArchive", types: [ - "OpenActive::Models::Schema::ArchiveOrganization", + "URI", ] end end end end