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

- old
+ new

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