Sha256: ed8f7b8f3030f3952e29057db3b30ec930e5979aaf4a6aebfc74fd432dac4144

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

module OpenActive
  module Models
    # This type is derived from [ConceptScheme](http://www.w3.org/2004/02/skos/core#ConceptScheme), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
    class ConceptScheme < ::OpenActive::JsonLdModel
      # @!attribute type
      # @return [String]
      def type
        "ConceptScheme"
      end

      # @return [String]
      define_property :title, as: "title", types: [
        "string",
      ]

      # @return [String]
      define_property :description, as: "description", types: [
        "string",
      ]

      # @return [Array<OpenActive::Models::Concept>]
      define_property :concept, as: "concept", types: [
        "OpenActive::Models::Concept[]",
      ]

      # @return [URI]
      define_property :license, as: "license", types: [
        "URI",
      ]

      # @return [URI]
      define_property :url, as: "url", types: [
        "URI",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/concept_scheme.rb
openactive-0.1.1 lib/openactive/models/concept_scheme.rb
openactive-0.1.0 lib/openactive/models/concept_scheme.rb
openactive-0.1.0.rc1 lib/openactive/models/concept_scheme.rb