Sha256: 456f646193a4054854237a308770319f55839a9f5388149678d32af8af1dc65f

Contents?: true

Size: 746 Bytes

Versions: 3

Compression:

Stored size: 746 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class GovernmentService < ::OpenActive::Models::Schema::Service
        # @!attribute type
        # @return [String]
        def type
          "schema:GovernmentService"
        end

        # @return [OpenActive::Models::Schema::Organization,URI]
        define_property :service_operator, as: "serviceOperator", types: [
          "OpenActive::Models::Schema::Organization",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::AdministrativeArea,String,URI]
        define_property :jurisdiction, as: "jurisdiction", types: [
          "OpenActive::Models::Schema::AdministrativeArea",
          "string",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/government_service.rb
openactive-0.2.1 lib/openactive/models/schema/government_service.rb
openactive-0.2.0 lib/openactive/models/schema/government_service.rb