Sha256: 7786dec1fabcb356a9192c330912ce5ea5f9dcbea051f1370131bf3300ca991f

Contents?: true

Size: 861 Bytes

Versions: 6

Compression:

Stored size: 861 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from http://www.w3.org/2004/02/skos/core#ConceptScheme.
    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

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/concept_scheme.rb
openactive-0.4.0 lib/openactive/models/concept_scheme.rb
openactive-0.3.0 lib/openactive/models/concept_scheme.rb
openactive-0.2.2 lib/openactive/models/concept_scheme.rb
openactive-0.2.1 lib/openactive/models/concept_scheme.rb
openactive-0.2.0 lib/openactive/models/concept_scheme.rb