lib/openactive/models/schema/legislation.rb in openactive-0.2.2 vs lib/openactive/models/schema/legislation.rb in openactive-0.3.0

- old
+ new

@@ -6,90 +6,90 @@ # @return [String] def type "schema:Legislation" end - # @return [OpenActive::Models::Schema::CategoryCode,String,URI] - define_property :legislation_type, as: "legislationType", types: [ - "OpenActive::Models::Schema::CategoryCode", - "string", + # @return [OpenActive::Models::Schema::Legislation,URI] + define_property :legislation_transposes, as: "legislationTransposes", types: [ + "OpenActive::Models::Schema::Legislation", "URI", ] # @return [OpenActive::Models::Schema::LegalForceStatus,URI] define_property :legislation_legal_force, as: "legislationLegalForce", types: [ "OpenActive::Models::Schema::LegalForceStatus", "URI", ] - # @return [Date,nil] - define_property :legislation_date, as: "legislationDate", types: [ - "Date", - "null", + # @return [OpenActive::Models::Schema::CategoryCode,String,URI] + define_property :legislation_type, as: "legislationType", types: [ + "OpenActive::Models::Schema::CategoryCode", + "string", + "URI", ] # @return [String,OpenActive::Models::Schema::AdministrativeArea,URI] - define_property :legislation_jurisdiction, as: "legislationJurisdiction", types: [ + define_property :jurisdiction, as: "jurisdiction", types: [ "string", "OpenActive::Models::Schema::AdministrativeArea", "URI", ] - # @return [OpenActive::Models::Schema::Legislation,URI] - define_property :legislation_consolidates, as: "legislationConsolidates", types: [ - "OpenActive::Models::Schema::Legislation", + # @return [String,URI] + define_property :legislation_identifier, as: "legislationIdentifier", types: [ + "string", "URI", ] - # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] - define_property :legislation_responsible, as: "legislationResponsible", types: [ - "OpenActive::Models::Schema::Person", - "OpenActive::Models::Schema::Organization", - "URI", - ] - # @return [OpenActive::Models::Schema::Legislation,URI] define_property :legislation_changes, as: "legislationChanges", types: [ "OpenActive::Models::Schema::Legislation", "URI", ] # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] - define_property :legislation_passed_by, as: "legislationPassedBy", types: [ + define_property :legislation_responsible, as: "legislationResponsible", types: [ "OpenActive::Models::Schema::Organization", "OpenActive::Models::Schema::Person", "URI", ] # @return [OpenActive::Models::Schema::AdministrativeArea,String,URI] - define_property :jurisdiction, as: "jurisdiction", types: [ + define_property :legislation_jurisdiction, as: "legislationJurisdiction", types: [ "OpenActive::Models::Schema::AdministrativeArea", "string", "URI", ] # @return [Date,nil] - define_property :legislation_date_version, as: "legislationDateVersion", types: [ + define_property :legislation_date, as: "legislationDate", types: [ "Date", "null", ] - # @return [String,URI] - define_property :legislation_identifier, as: "legislationIdentifier", types: [ - "string", + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] + define_property :legislation_passed_by, as: "legislationPassedBy", types: [ + "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::Organization", "URI", ] # @return [OpenActive::Models::Schema::Legislation,URI] - define_property :legislation_applies, as: "legislationApplies", types: [ + define_property :legislation_consolidates, as: "legislationConsolidates", types: [ "OpenActive::Models::Schema::Legislation", "URI", ] # @return [OpenActive::Models::Schema::Legislation,URI] - define_property :legislation_transposes, as: "legislationTransposes", types: [ + define_property :legislation_applies, as: "legislationApplies", types: [ "OpenActive::Models::Schema::Legislation", "URI", + ] + + # @return [Date,nil] + define_property :legislation_date_version, as: "legislationDateVersion", types: [ + "Date", + "null", ] end end end end