lib/openactive/models/schema/dataset.rb in openactive-0.3.0 vs lib/openactive/models/schema/dataset.rb in openactive-0.4.0

- old
+ new

@@ -6,49 +6,64 @@ # @return [String] def type "schema:Dataset" end - # @return [OpenActive::Models::Schema::DataCatalog,URI] - define_property :catalog, as: "catalog", types: [ - "OpenActive::Models::Schema::DataCatalog", - "URI", + # @return [DateTime,nil] + define_property :dataset_time_interval, as: "datasetTimeInterval", types: [ + "DateTime", + "null", ] # @return [OpenActive::Models::Schema::DataCatalog,URI] define_property :included_data_catalog, as: "includedDataCatalog", types: [ "OpenActive::Models::Schema::DataCatalog", "URI", ] - # @return [OpenActive::Models::Schema::PropertyValue,String,URI] + # @return [OpenActive::Enums::PropertyEnumeration,OpenActive::Models::Schema::StatisticalVariable,String,OpenActive::Models::Schema::PropertyValue,URI,nil] define_property :variable_measured, as: "variableMeasured", types: [ - "OpenActive::Models::Schema::PropertyValue", + "OpenActive::Enums::PropertyEnumeration", + "OpenActive::Models::Schema::StatisticalVariable", "string", + "OpenActive::Models::Schema::PropertyValue", "URI", + "null", ] - # @return [String,URI] + # @return [OpenActive::Models::Schema::DefinedTerm,URI,String,OpenActive::Enums::Schema::MeasurementMethodEnum,nil] define_property :measurement_technique, as: "measurementTechnique", types: [ + "OpenActive::Models::Schema::DefinedTerm", + "URI", "string", + "OpenActive::Enums::Schema::MeasurementMethodEnum", + "null", + ] + + # @return [OpenActive::Models::Schema::DataCatalog,URI] + define_property :catalog, as: "catalog", types: [ + "OpenActive::Models::Schema::DataCatalog", "URI", ] - # @return [DateTime,nil] - define_property :dataset_time_interval, as: "datasetTimeInterval", types: [ - "DateTime", + # @return [String] + define_property :issn, as: "issn", types: [ + "string", + ] + + # @return [OpenActive::Models::Schema::DefinedTerm,URI,String,OpenActive::Enums::Schema::MeasurementMethodEnum,nil] + define_property :measurement_method, as: "measurementMethod", types: [ + "OpenActive::Models::Schema::DefinedTerm", + "URI", + "string", + "OpenActive::Enums::Schema::MeasurementMethodEnum", "null", ] # @return [OpenActive::Models::Schema::DataDownload,URI] define_property :distribution, as: "distribution", types: [ "OpenActive::Models::Schema::DataDownload", "URI", - ] - - # @return [String] - define_property :issn, as: "issn", types: [ - "string", ] # @return [OpenActive::Models::Schema::DataCatalog,URI] define_property :included_in_data_catalog, as: "includedInDataCatalog", types: [ "OpenActive::Models::Schema::DataCatalog",