lib/openactive/models/schema/creative_work.rb in openactive-0.2.2 vs lib/openactive/models/schema/creative_work.rb in openactive-0.3.0
- old
+ new
@@ -6,403 +6,460 @@
# @return [String]
def type
"schema:CreativeWork"
end
- # @return [String]
- define_property :text, as: "text", types: [
+ # @return [OpenActive::Models::Schema::DefinedTerm,String,URI]
+ define_property :teaches, as: "teaches", types: [
+ "OpenActive::Models::Schema::DefinedTerm",
"string",
- ]
-
- # @return [OpenActive::Models::Schema::AggregateRating,URI]
- define_property :aggregate_rating, as: "aggregateRating", types: [
- "OpenActive::Models::Schema::AggregateRating",
"URI",
]
- # @return [URI]
- define_property :discussion_url, as: "discussionUrl", types: [
+ # @return [URI,OpenActive::Models::Schema::DefinedTerm,String]
+ define_property :educational_level, as: "educationalLevel", types: [
"URI",
+ "OpenActive::Models::Schema::DefinedTerm",
+ "string",
]
- # @return [DateTime,String,nil]
- define_property :temporal, as: "temporal", types: [
- "DateTime",
+ # @return [String]
+ define_property :abstract, as: "abstract", types: [
"string",
- "null",
]
- # @return [String]
- define_property :conditions_of_access, as: "conditionsOfAccess", types: [
+ # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
+ define_property :creative_work_status, as: "creativeWorkStatus", types: [
"string",
+ "OpenActive::Models::Schema::DefinedTerm",
+ "URI",
]
# @return [Date,nil]
define_property :expires, as: "expires", types: [
"Date",
"null",
]
- # @return [OpenActive::Models::Schema::DefinedTerm,OpenActive::Models::Schema::SizeSpecification,OpenActive::Models::Schema::QuantitativeValue,String,URI]
- define_property :size, as: "size", types: [
- "OpenActive::Models::Schema::DefinedTerm",
- "OpenActive::Models::Schema::SizeSpecification",
- "OpenActive::Models::Schema::QuantitativeValue",
+ # @return [DateTime,nil]
+ define_property :content_reference_time, as: "contentReferenceTime", types: [
+ "DateTime",
+ "null",
+ ]
+
+ # @return [String,URI,OpenActive::Models::Schema::Product]
+ define_property :material, as: "material", types: [
"string",
"URI",
+ "OpenActive::Models::Schema::Product",
]
- # @return [ActiveSupport::Duration,URI,nil]
- define_property :time_required, as: "timeRequired", types: [
- "DateInterval",
+ # @return [OpenActive::Models::Schema::Review,URI]
+ define_property :review, as: "review", types: [
+ "OpenActive::Models::Schema::Review",
"URI",
- "null",
]
- # @return [DateTime,Date,nil]
- define_property :date_modified, as: "dateModified", types: [
- "DateTime",
- "Date",
- "null",
+ # @return [URI,String]
+ define_property :file_format, as: "fileFormat", types: [
+ "URI",
+ "string",
]
- # @return [OpenActive::Models::Schema::Place,URI]
- define_property :spatial_coverage, as: "spatialCoverage", types: [
- "OpenActive::Models::Schema::Place",
- "URI",
+ # @return [String]
+ define_property :text, as: "text", types: [
+ "string",
]
- # @return [URI,OpenActive::Models::Schema::DefinedTerm,String]
- define_property :educational_level, as: "educationalLevel", types: [
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
+ define_property :translator, as: "translator", types: [
+ "OpenActive::Models::Schema::Person",
+ "OpenActive::Models::Schema::Organization",
"URI",
- "OpenActive::Models::Schema::DefinedTerm",
+ ]
+
+ # @return [String]
+ define_property :award, as: "award", types: [
"string",
]
- # @return [OpenActive::Models::Schema::CreativeWork,URI]
- define_property :example_of_work, as: "exampleOfWork", types: [
- "OpenActive::Models::Schema::CreativeWork",
+ # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
+ define_property :assesses, as: "assesses", types: [
+ "string",
+ "OpenActive::Models::Schema::DefinedTerm",
"URI",
]
- # @return [BigDecimal,nil]
- define_property :copyright_year, as: "copyrightYear", types: [
- "Number",
- "null",
+ # @return [String]
+ define_property :copyright_notice, as: "copyrightNotice", types: [
+ "string",
]
- # @return [OpenActive::Models::Schema::Organization,URI]
- define_property :source_organization, as: "sourceOrganization", types: [
- "OpenActive::Models::Schema::Organization",
+ # @return [String,URI]
+ define_property :schema_version, as: "schemaVersion", types: [
+ "string",
"URI",
]
- # @return [OpenActive::Models::Schema::CreativeWork,URI]
- define_property :is_part_of, as: "isPartOf", types: [
- "OpenActive::Models::Schema::CreativeWork",
+ # @return [OpenActive::Models::Schema::Country,URI]
+ define_property :country_of_origin, as: "countryOfOrigin", types: [
+ "OpenActive::Models::Schema::Country",
"URI",
]
- # @return [OpenActive::Models::Schema::Clip,OpenActive::Models::Schema::VideoObject,URI]
- define_property :video, as: "video", types: [
- "OpenActive::Models::Schema::Clip",
- "OpenActive::Models::Schema::VideoObject",
+ # @return [OpenActive::Models::Schema::DefinedTerm,String,URI]
+ define_property :pattern, as: "pattern", types: [
+ "OpenActive::Models::Schema::DefinedTerm",
+ "string",
"URI",
]
- # @return [OpenActive::Models::Schema::CreativeWork,URI]
- define_property :work_translation, as: "workTranslation", types: [
- "OpenActive::Models::Schema::CreativeWork",
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :accountable_person, as: "accountablePerson", types: [
+ "OpenActive::Models::Schema::Person",
"URI",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :sd_publisher, as: "sdPublisher", types: [
- "OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::Grant,URI]
+ define_property :funding, as: "funding", types: [
+ "OpenActive::Models::Schema::Grant",
"URI",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :creator, as: "creator", types: [
- "OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::DefinedTerm,String,URI]
+ define_property :educational_use, as: "educationalUse", types: [
+ "OpenActive::Models::Schema::DefinedTerm",
+ "string",
"URI",
]
- # @return [URI]
- define_property :thumbnail_url, as: "thumbnailUrl", types: [
+ # @return [URI,String]
+ define_property :genre, as: "genre", types: [
"URI",
+ "string",
]
- # @return [OpenActive::Models::Schema::CreativeWork,URI]
- define_property :translation_of_work, as: "translationOfWork", types: [
- "OpenActive::Models::Schema::CreativeWork",
+ # @return [OpenActive::Models::Schema::DefinedTerm,String,URI]
+ define_property :keywords, as: "keywords", types: [
+ "OpenActive::Models::Schema::DefinedTerm",
+ "string",
"URI",
]
- # @return [DateTime,nil]
- define_property :content_reference_time, as: "contentReferenceTime", types: [
- "DateTime",
+ # @return [int,String,nil]
+ define_property :position, as: "position", types: [
+ "int",
+ "string",
"null",
]
- # @return [Date,DateTime,nil]
- define_property :date_published, as: "datePublished", types: [
- "Date",
- "DateTime",
- "null",
+ # @return [String]
+ define_property :accessibility_hazard, as: "accessibilityHazard", types: [
+ "string",
]
- # @return [String,DateTime,URI,nil]
- define_property :temporal_coverage, as: "temporalCoverage", types: [
+ # @return [String]
+ define_property :alternative_headline, as: "alternativeHeadline", types: [
"string",
- "DateTime",
+ ]
+
+ # @return [OpenActive::Models::Schema::Audience,URI]
+ define_property :audience, as: "audience", types: [
+ "OpenActive::Models::Schema::Audience",
"URI",
- "null",
]
- # @return [String,URI]
- define_property :file_format, as: "fileFormat", types: [
- "string",
+ # @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI]
+ define_property :offers, as: "offers", types: [
+ "OpenActive::Models::Schema::Offer",
+ "OpenActive::Models::Schema::Demand",
"URI",
]
# @return [OpenActive::Models::Schema::Place,URI]
- define_property :content_location, as: "contentLocation", types: [
+ define_property :location_created, as: "locationCreated", types: [
"OpenActive::Models::Schema::Place",
"URI",
]
- # @return [String]
- define_property :alternative_headline, as: "alternativeHeadline", types: [
+ # @return [OpenActive::Models::Schema::MediaObject,URI]
+ define_property :associated_media, as: "associatedMedia", types: [
+ "OpenActive::Models::Schema::MediaObject",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::QuantitativeValue,String,URI]
+ define_property :material_extent, as: "materialExtent", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
"string",
+ "URI",
]
+ # @return [OpenActive::Models::Schema::Thing,URI]
+ define_property :main_entity, as: "mainEntity", types: [
+ "OpenActive::Models::Schema::Thing",
+ "URI",
+ ]
+
# @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :contributor, as: "contributor", types: [
+ define_property :copyright_holder, as: "copyrightHolder", types: [
"OpenActive::Models::Schema::Organization",
"OpenActive::Models::Schema::Person",
"URI",
]
- # @return [BigDecimal,String,nil]
- define_property :version, as: "version", types: [
- "Number",
- "string",
- "null",
- ]
-
# @return [String]
- define_property :access_mode, as: "accessMode", types: [
+ define_property :awards, as: "awards", types: [
"string",
]
# @return [OpenActive::Models::Schema::Place,URI]
- define_property :spatial, as: "spatial", types: [
+ define_property :content_location, as: "contentLocation", types: [
"OpenActive::Models::Schema::Place",
"URI",
]
- # @return [OpenActive::Models::Schema::MediaObject,URI]
- define_property :encoding, as: "encoding", types: [
- "OpenActive::Models::Schema::MediaObject",
- "URI",
+ # @return [Date,nil]
+ define_property :sd_date_published, as: "sdDatePublished", types: [
+ "Date",
+ "null",
]
# @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
define_property :producer, as: "producer", types: [
"OpenActive::Models::Schema::Organization",
"OpenActive::Models::Schema::Person",
"URI",
]
- # @return [String]
- define_property :abstract, as: "abstract", types: [
- "string",
+ # @return [OpenActive::Models::Schema::Place,URI]
+ define_property :spatial, as: "spatial", types: [
+ "OpenActive::Models::Schema::Place",
+ "URI",
]
- # @return [OpenActive::Models::Schema::PublicationEvent,URI]
- define_property :publication, as: "publication", types: [
- "OpenActive::Models::Schema::PublicationEvent",
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
+ define_property :publisher, as: "publisher", types: [
+ "OpenActive::Models::Schema::Person",
+ "OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [OpenActive::Models::Schema::Place,URI]
- define_property :location_created, as: "locationCreated", types: [
- "OpenActive::Models::Schema::Place",
+ # @return [OpenActive::Models::Schema::Organization,URI]
+ define_property :source_organization, as: "sourceOrganization", types: [
+ "OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :maintainer, as: "maintainer", types: [
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :character, as: "character", types: [
"OpenActive::Models::Schema::Person",
- "OpenActive::Models::Schema::Organization",
"URI",
]
# @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :copyright_holder, as: "copyrightHolder", types: [
+ define_property :funder, as: "funder", types: [
"OpenActive::Models::Schema::Organization",
"OpenActive::Models::Schema::Person",
"URI",
]
- # @return [OpenActive::Models::Schema::Offer,OpenActive::Models::Schema::Demand,URI]
- define_property :offers, as: "offers", types: [
- "OpenActive::Models::Schema::Offer",
- "OpenActive::Models::Schema::Demand",
+ # @return [OpenActive::Models::Schema::CreativeWork,URI]
+ define_property :example_of_work, as: "exampleOfWork", types: [
+ "OpenActive::Models::Schema::CreativeWork",
"URI",
]
- # @return [URI,String]
- define_property :genre, as: "genre", types: [
+ # @return [OpenActive::Models::Schema::CreativeWork,URI]
+ define_property :usage_info, as: "usageInfo", types: [
+ "OpenActive::Models::Schema::CreativeWork",
"URI",
- "string",
]
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :author, as: "author", types: [
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :provider, as: "provider", types: [
+ "OpenActive::Models::Schema::Organization",
"OpenActive::Models::Schema::Person",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :sd_publisher, as: "sdPublisher", types: [
"OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
"URI",
]
+ # @return [OpenActive::Models::Schema::Comment,URI]
+ define_property :comment, as: "comment", types: [
+ "OpenActive::Models::Schema::Comment",
+ "URI",
+ ]
+
# @return [String]
- define_property :accessibility_summary, as: "accessibilitySummary", types: [
+ define_property :accessibility_feature, as: "accessibilityFeature", types: [
"string",
]
- # @return [DateTime,Date,nil]
- define_property :date_created, as: "dateCreated", types: [
- "DateTime",
- "Date",
- "null",
+ # @return [OpenActive::Models::Schema::PublicationEvent,URI]
+ define_property :publication, as: "publication", types: [
+ "OpenActive::Models::Schema::PublicationEvent",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Review,URI]
- define_property :reviews, as: "reviews", types: [
- "OpenActive::Models::Schema::Review",
+ # @return [OpenActive::Models::Schema::CreativeWork,URI]
+ define_property :translation_of_work, as: "translationOfWork", types: [
+ "OpenActive::Models::Schema::CreativeWork",
"URI",
]
- # @return [String,OpenActive::Models::Schema::Rating,URI]
- define_property :content_rating, as: "contentRating", types: [
+ # @return [String]
+ define_property :interactivity_type, as: "interactivityType", types: [
"string",
- "OpenActive::Models::Schema::Rating",
- "URI",
]
+ # @return [int,nil]
+ define_property :comment_count, as: "commentCount", types: [
+ "int",
+ "null",
+ ]
+
# @return [String]
- define_property :accessibility_api, as: "accessibilityAPI", types: [
+ define_property :access_mode, as: "accessMode", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :publisher, as: "publisher", types: [
- "OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::AggregateRating,URI]
+ define_property :aggregate_rating, as: "aggregateRating", types: [
+ "OpenActive::Models::Schema::AggregateRating",
"URI",
]
- # @return [OpenActive::Models::Schema::CreativeWork,URI]
- define_property :license, as: "license", types: [
- "OpenActive::Models::Schema::CreativeWork",
+ # @return [ActiveSupport::Duration,URI,nil]
+ define_property :time_required, as: "timeRequired", types: [
+ "DateInterval",
"URI",
- ]
-
- # @return [Boolean,nil]
- define_property :is_family_friendly, as: "isFamilyFriendly", types: [
- "bool",
"null",
]
# @return [String]
- define_property :accessibility_hazard, as: "accessibilityHazard", types: [
+ define_property :typical_age_range, as: "typicalAgeRange", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Thing,URI]
- define_property :main_entity, as: "mainEntity", types: [
- "OpenActive::Models::Schema::Thing",
+ # @return [OpenActive::Models::Schema::InteractionCounter,URI]
+ define_property :interaction_statistic, as: "interactionStatistic", types: [
+ "OpenActive::Models::Schema::InteractionCounter",
"URI",
]
- # @return [String]
- define_property :award, as: "award", types: [
- "string",
+ # @return [BigDecimal,nil]
+ define_property :copyright_year, as: "copyrightYear", types: [
+ "Number",
+ "null",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :provider, as: "provider", types: [
- "OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::CreativeWork,URI,OpenActive::Models::Schema::Product]
+ define_property :is_based_on, as: "isBasedOn", types: [
+ "OpenActive::Models::Schema::CreativeWork",
"URI",
+ "OpenActive::Models::Schema::Product",
]
- # @return [OpenActive::Models::Schema::Review,URI]
- define_property :review, as: "review", types: [
- "OpenActive::Models::Schema::Review",
+ # @return [OpenActive::Models::Schema::CreativeWork,URI]
+ define_property :work_example, as: "workExample", types: [
+ "OpenActive::Models::Schema::CreativeWork",
"URI",
]
+ # @return [URI,OpenActive::Models::Schema::CreativeWork]
+ define_property :publishing_principles, as: "publishingPrinciples", types: [
+ "URI",
+ "OpenActive::Models::Schema::CreativeWork",
+ ]
+
+ # @return [URI]
+ define_property :discussion_url, as: "discussionUrl", types: [
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::PublicationEvent,URI]
+ define_property :released_event, as: "releasedEvent", types: [
+ "OpenActive::Models::Schema::PublicationEvent",
+ "URI",
+ ]
+
+ # @return [Date,DateTime,nil]
+ define_property :date_created, as: "dateCreated", types: [
+ "Date",
+ "DateTime",
+ "null",
+ ]
+
+ # @return [OpenActive::Models::Schema::CreativeWork,URI]
+ define_property :work_translation, as: "workTranslation", types: [
+ "OpenActive::Models::Schema::CreativeWork",
+ "URI",
+ ]
+
# @return [OpenActive::Models::Schema::Person,URI]
- define_property :accountable_person, as: "accountablePerson", types: [
+ define_property :editor, as: "editor", types: [
"OpenActive::Models::Schema::Person",
"URI",
]
# @return [String]
- define_property :interactivity_type, as: "interactivityType", types: [
+ define_property :credit_text, as: "creditText", types: [
"string",
]
- # @return [String,URI]
+ # @return [OpenActive::Models::Schema::Event,URI]
+ define_property :recorded_at, as: "recordedAt", types: [
+ "OpenActive::Models::Schema::Event",
+ "URI",
+ ]
+
+ # @return [URI,String]
define_property :edit_eidr, as: "editEIDR", types: [
- "string",
"URI",
+ "string",
]
# @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :translator, as: "translator", types: [
+ define_property :author, as: "author", types: [
"OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [int,nil]
- define_property :comment_count, as: "commentCount", types: [
- "int",
+ # @return [DateTime,Date,nil]
+ define_property :date_modified, as: "dateModified", types: [
+ "DateTime",
+ "Date",
"null",
]
- # @return [String,URI]
- define_property :schema_version, as: "schemaVersion", types: [
- "string",
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :sponsor, as: "sponsor", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
"URI",
]
- # @return [Date,nil]
- define_property :sd_date_published, as: "sdDatePublished", types: [
- "Date",
- "null",
+ # @return [String]
+ define_property :accessibility_summary, as: "accessibilitySummary", types: [
+ "string",
]
- # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
- define_property :educational_use, as: "educationalUse", types: [
+ # @return [String,URI]
+ define_property :encoding_format, as: "encodingFormat", types: [
"string",
- "OpenActive::Models::Schema::DefinedTerm",
"URI",
]
- # @return [String]
- define_property :accessibility_control, as: "accessibilityControl", types: [
- "string",
- ]
-
# @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :sponsor, as: "sponsor", types: [
+ define_property :maintainer, as: "maintainer", types: [
"OpenActive::Models::Schema::Person",
"OpenActive::Models::Schema::Organization",
"URI",
]
@@ -410,276 +467,243 @@
define_property :educational_alignment, as: "educationalAlignment", types: [
"OpenActive::Models::Schema::AlignmentObject",
"URI",
]
+ # @return [OpenActive::Models::Schema::CreativeWork,URI]
+ define_property :acquire_license_page, as: "acquireLicensePage", types: [
+ "OpenActive::Models::Schema::CreativeWork",
+ "URI",
+ ]
+
# @return [Boolean,nil]
define_property :is_accessible_for_free, as: "isAccessibleForFree", types: [
"bool",
"null",
]
- # @return [OpenActive::Models::Schema::MediaObject,URI]
- define_property :encodings, as: "encodings", types: [
- "OpenActive::Models::Schema::MediaObject",
- "URI",
+ # @return [Date,DateTime,nil]
+ define_property :date_published, as: "datePublished", types: [
+ "Date",
+ "DateTime",
+ "null",
]
- # @return [OpenActive::Models::Schema::ItemList,URI]
- define_property :access_mode_sufficient, as: "accessModeSufficient", types: [
- "OpenActive::Models::Schema::ItemList",
+ # @return [OpenActive::Models::Schema::Place,URI]
+ define_property :spatial_coverage, as: "spatialCoverage", types: [
+ "OpenActive::Models::Schema::Place",
"URI",
]
# @return [OpenActive::Models::Schema::CreativeWork,URI]
- define_property :usage_info, as: "usageInfo", types: [
+ define_property :sd_license, as: "sdLicense", types: [
"OpenActive::Models::Schema::CreativeWork",
"URI",
]
- # @return [OpenActive::Models::Schema::Event,URI]
- define_property :recorded_at, as: "recordedAt", types: [
- "OpenActive::Models::Schema::Event",
- "URI",
+ # @return [String]
+ define_property :conditions_of_access, as: "conditionsOfAccess", types: [
+ "string",
]
- # @return [OpenActive::Models::Schema::Person,URI]
- define_property :character, as: "character", types: [
- "OpenActive::Models::Schema::Person",
+ # @return [URI,String,OpenActive::Models::Schema::CorrectionComment]
+ define_property :correction, as: "correction", types: [
"URI",
+ "string",
+ "OpenActive::Models::Schema::CorrectionComment",
]
- # @return [String,OpenActive::Models::Schema::CreativeWork,URI]
- define_property :citation, as: "citation", types: [
+ # @return [String,OpenActive::Models::Schema::Rating,URI]
+ define_property :content_rating, as: "contentRating", types: [
"string",
- "OpenActive::Models::Schema::CreativeWork",
+ "OpenActive::Models::Schema::Rating",
"URI",
]
- # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
- define_property :pattern, as: "pattern", types: [
- "string",
+ # @return [OpenActive::Models::Schema::QuantitativeValue,OpenActive::Models::Schema::DefinedTerm,String,OpenActive::Models::Schema::SizeSpecification,URI]
+ define_property :size, as: "size", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
"OpenActive::Models::Schema::DefinedTerm",
+ "string",
+ "OpenActive::Models::Schema::SizeSpecification",
"URI",
]
- # @return [String]
- define_property :copyright_notice, as: "copyrightNotice", types: [
- "string",
+ # @return [URI,OpenActive::Models::Schema::CreativeWork]
+ define_property :is_part_of, as: "isPartOf", types: [
+ "URI",
+ "OpenActive::Models::Schema::CreativeWork",
]
- # @return [String]
- define_property :headline, as: "headline", types: [
+ # @return [DateTime,String,nil]
+ define_property :temporal, as: "temporal", types: [
+ "DateTime",
"string",
+ "null",
]
- # @return [OpenActive::Models::Schema::InteractionCounter,URI]
- define_property :interaction_statistic, as: "interactionStatistic", types: [
- "OpenActive::Models::Schema::InteractionCounter",
+ # @return [URI]
+ define_property :thumbnail_url, as: "thumbnailUrl", types: [
"URI",
]
- # @return [OpenActive::Models::Schema::Thing,URI]
- define_property :mentions, as: "mentions", types: [
- "OpenActive::Models::Schema::Thing",
+ # @return [String,OpenActive::Models::Schema::Language,URI]
+ define_property :in_language, as: "inLanguage", types: [
+ "string",
+ "OpenActive::Models::Schema::Language",
"URI",
]
# @return [URI,OpenActive::Models::Schema::CreativeWork]
- define_property :sd_license, as: "sdLicense", types: [
+ define_property :license, as: "license", types: [
"URI",
"OpenActive::Models::Schema::CreativeWork",
]
- # @return [String,URI]
- define_property :encoding_format, as: "encodingFormat", types: [
- "string",
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :creator, as: "creator", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
"URI",
]
- # @return [String,OpenActive::Models::Schema::QuantitativeValue,URI]
- define_property :material_extent, as: "materialExtent", types: [
- "string",
- "OpenActive::Models::Schema::QuantitativeValue",
+ # @return [OpenActive::Models::Schema::Review,URI]
+ define_property :reviews, as: "reviews", types: [
+ "OpenActive::Models::Schema::Review",
"URI",
]
- # @return [String]
- define_property :credit_text, as: "creditText", types: [
- "string",
- ]
-
- # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
- define_property :learning_resource_type, as: "learningResourceType", types: [
- "string",
- "OpenActive::Models::Schema::DefinedTerm",
- "URI",
- ]
-
- # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
- define_property :teaches, as: "teaches", types: [
- "string",
- "OpenActive::Models::Schema::DefinedTerm",
- "URI",
- ]
-
# @return [OpenActive::Models::Schema::Thing,URI]
define_property :about, as: "about", types: [
"OpenActive::Models::Schema::Thing",
"URI",
]
- # @return [String,OpenActive::Models::Schema::Language,URI]
- define_property :in_language, as: "inLanguage", types: [
+ # @return [Boolean,nil]
+ define_property :is_family_friendly, as: "isFamilyFriendly", types: [
+ "bool",
+ "null",
+ ]
+
+ # @return [String]
+ define_property :headline, as: "headline", types: [
"string",
- "OpenActive::Models::Schema::Language",
- "URI",
]
- # @return [OpenActive::Models::Schema::DefinedTerm,String,URI]
- define_property :assesses, as: "assesses", types: [
- "OpenActive::Models::Schema::DefinedTerm",
+ # @return [String]
+ define_property :accessibility_api, as: "accessibilityAPI", types: [
"string",
+ ]
+
+ # @return [OpenActive::Models::Schema::Organization,URI]
+ define_property :publisher_imprint, as: "publisherImprint", types: [
+ "OpenActive::Models::Schema::Organization",
"URI",
]
- # @return [URI,OpenActive::Models::Schema::CreativeWork]
- define_property :acquire_license_page, as: "acquireLicensePage", types: [
+ # @return [URI,OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::Product]
+ define_property :is_based_on_url, as: "isBasedOnUrl", types: [
"URI",
"OpenActive::Models::Schema::CreativeWork",
+ "OpenActive::Models::Schema::Product",
]
- # @return [OpenActive::Models::Schema::PublicationEvent,URI]
- define_property :released_event, as: "releasedEvent", types: [
- "OpenActive::Models::Schema::PublicationEvent",
+ # @return [OpenActive::Models::Schema::MediaObject,URI]
+ define_property :encodings, as: "encodings", types: [
+ "OpenActive::Models::Schema::MediaObject",
"URI",
]
- # @return [OpenActive::Models::Schema::Clip,OpenActive::Models::Schema::AudioObject,OpenActive::Models::Schema::MusicRecording,URI]
- define_property :audio, as: "audio", types: [
- "OpenActive::Models::Schema::Clip",
- "OpenActive::Models::Schema::AudioObject",
- "OpenActive::Models::Schema::MusicRecording",
+ # @return [OpenActive::Models::Schema::Claim,URI]
+ define_property :interpreted_as_claim, as: "interpretedAsClaim", types: [
+ "OpenActive::Models::Schema::Claim",
"URI",
]
# @return [String]
- define_property :accessibility_feature, as: "accessibilityFeature", types: [
+ define_property :accessibility_control, as: "accessibilityControl", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Comment,URI]
- define_property :comment, as: "comment", types: [
- "OpenActive::Models::Schema::Comment",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::CreativeWork,URI]
- define_property :has_part, as: "hasPart", types: [
+ # @return [OpenActive::Models::Schema::CreativeWork,String,URI]
+ define_property :citation, as: "citation", types: [
"OpenActive::Models::Schema::CreativeWork",
+ "string",
"URI",
]
- # @return [OpenActive::Models::Schema::MediaObject,URI]
- define_property :associated_media, as: "associatedMedia", types: [
- "OpenActive::Models::Schema::MediaObject",
- "URI",
- ]
-
- # @return [String,int,nil]
- define_property :position, as: "position", types: [
+ # @return [BigDecimal,String,nil]
+ define_property :version, as: "version", types: [
+ "Number",
"string",
- "int",
"null",
]
- # @return [String,OpenActive::Models::Schema::DefinedTerm,URI]
- define_property :creative_work_status, as: "creativeWorkStatus", types: [
- "string",
- "OpenActive::Models::Schema::DefinedTerm",
+ # @return [OpenActive::Models::Schema::WebPage,URI]
+ define_property :archived_at, as: "archivedAt", types: [
+ "OpenActive::Models::Schema::WebPage",
"URI",
]
- # @return [OpenActive::Models::Schema::Product,URI,OpenActive::Models::Schema::CreativeWork]
- define_property :is_based_on_url, as: "isBasedOnUrl", types: [
- "OpenActive::Models::Schema::Product",
+ # @return [OpenActive::Models::Schema::DefinedTerm,String,URI]
+ define_property :learning_resource_type, as: "learningResourceType", types: [
+ "OpenActive::Models::Schema::DefinedTerm",
+ "string",
"URI",
- "OpenActive::Models::Schema::CreativeWork",
]
- # @return [OpenActive::Models::Schema::Product,String,URI]
- define_property :material, as: "material", types: [
- "OpenActive::Models::Schema::Product",
- "string",
+ # @return [OpenActive::Models::Schema::MediaObject,URI]
+ define_property :encoding, as: "encoding", types: [
+ "OpenActive::Models::Schema::MediaObject",
"URI",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
- define_property :funder, as: "funder", types: [
- "OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::AudioObject,OpenActive::Models::Schema::MusicRecording,OpenActive::Models::Schema::Clip,URI]
+ define_property :audio, as: "audio", types: [
+ "OpenActive::Models::Schema::AudioObject",
+ "OpenActive::Models::Schema::MusicRecording",
+ "OpenActive::Models::Schema::Clip",
"URI",
]
- # @return [URI,OpenActive::Models::Schema::CreativeWork]
- define_property :publishing_principles, as: "publishingPrinciples", types: [
+ # @return [OpenActive::Models::Schema::Thing,URI]
+ define_property :mentions, as: "mentions", types: [
+ "OpenActive::Models::Schema::Thing",
"URI",
- "OpenActive::Models::Schema::CreativeWork",
]
- # @return [String]
- define_property :awards, as: "awards", types: [
- "string",
- ]
-
- # @return [OpenActive::Models::Schema::Person,URI]
- define_property :editor, as: "editor", types: [
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::ItemList,URI]
+ define_property :access_mode_sufficient, as: "accessModeSufficient", types: [
+ "OpenActive::Models::Schema::ItemList",
"URI",
]
# @return [OpenActive::Models::Schema::CreativeWork,URI]
- define_property :work_example, as: "workExample", types: [
+ define_property :has_part, as: "hasPart", types: [
"OpenActive::Models::Schema::CreativeWork",
"URI",
]
- # @return [OpenActive::Models::Schema::Audience,URI]
- define_property :audience, as: "audience", types: [
- "OpenActive::Models::Schema::Audience",
+ # @return [URI,DateTime,String,nil]
+ define_property :temporal_coverage, as: "temporalCoverage", types: [
"URI",
- ]
-
- # @return [OpenActive::Models::Schema::CorrectionComment,String,URI]
- define_property :correction, as: "correction", types: [
- "OpenActive::Models::Schema::CorrectionComment",
+ "DateTime",
"string",
- "URI",
+ "null",
]
- # @return [URI,OpenActive::Models::Schema::DefinedTerm,String]
- define_property :keywords, as: "keywords", types: [
- "URI",
- "OpenActive::Models::Schema::DefinedTerm",
- "string",
- ]
-
- # @return [OpenActive::Models::Schema::Organization,URI]
- define_property :publisher_imprint, as: "publisherImprint", types: [
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :contributor, as: "contributor", types: [
"OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
"URI",
]
- # @return [OpenActive::Models::Schema::CreativeWork,URI,OpenActive::Models::Schema::Product]
- define_property :is_based_on, as: "isBasedOn", types: [
- "OpenActive::Models::Schema::CreativeWork",
+ # @return [OpenActive::Models::Schema::Clip,OpenActive::Models::Schema::VideoObject,URI]
+ define_property :video, as: "video", types: [
+ "OpenActive::Models::Schema::Clip",
+ "OpenActive::Models::Schema::VideoObject",
"URI",
- "OpenActive::Models::Schema::Product",
- ]
-
- # @return [String]
- define_property :typical_age_range, as: "typicalAgeRange", types: [
- "string",
]
end
end
end
end