module OpenActive module Models # # EARLY RELEASE NOTICE: This class represents a draft that is designed to inform the OpenActive specification work with implementation feedback. It is mostly stable, as it based almost entirely on schema.org. HOWEVER, IT IS STILL SUBJECT TO CHANGE, as the [Dataset API Discovery specification](https://openactive.io/dataset-api-discovery/EditorsDraft/) evolves. # # This type is derived from https://schema.org/Dataset, which means that any of this type's properties within schema.org may also be used. class Dataset < ::OpenActive::Models::Schema::Dataset # @!attribute type # @return [String] def type "Dataset" end # @return [String] define_property :name, as: "name", types: [ "string", ] # @return [String] define_property :description, as: "description", types: [ "string", ] # @return [OpenActive::Models::WebAPI] define_property :access_service, as: "accessService", types: [ "OpenActive::Models::WebAPI", ] # @return [OpenActive::Models::ImageObject] define_property :background_image, as: "backgroundImage", types: [ "OpenActive::Models::ImageObject", ] # @return [OpenActive::Models::BookingService] define_property :booking_service, as: "bookingService", types: [ "OpenActive::Models::BookingService", ] # @return [DateTime,nil] define_property :date_modified, as: "dateModified", types: [ "DateTime", "null", ] # @return [Date,DateTime,nil] define_property :date_published, as: "datePublished", types: [ "Date", "DateTime", "null", ] # @return [URI] define_property :discussion_url, as: "discussionUrl", types: [ "URI", ] # @return [Array] define_property :distribution, as: "distribution", types: [ "OpenActive::Models::DataDownload[]", ] # @return [URI] define_property :documentation, as: "documentation", types: [ "URI", ] # @return [Array] define_property :in_language, as: "inLanguage", types: [ "string[]", ] # @return [Array] define_property :keywords, as: "keywords", types: [ "string[]", ] # @return [URI] define_property :license, as: "license", types: [ "URI", ] # @return [OpenActive::Models::Organization] define_property :publisher, as: "publisher", types: [ "OpenActive::Models::Organization", ] # @return [URI] define_property :schema_version, as: "schemaVersion", types: [ "URI", ] # @return [URI] define_property :url, as: "url", types: [ "URI", ] end end end