Sha256: d604a5ea94d9ac71317393d2d5ad83f5592384d1208c2662d19f4f96f6cda22a

Contents?: true

Size: 636 Bytes

Versions: 3

Compression:

Stored size: 636 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "string_or_ref"

module Ogc
  module Gml
    class DomainOfValidity < Lutaml::Model::Serializable
      attribute :nil_reason, :string
      attribute :remote_schema, :string
      attribute :ex_extent, StringOrRef

      xml do
        root "domainOfValidity"
        namespace "http://www.opengis.net/gml/3.2", "gml"

        map_attribute "nilReason", to: :nil_reason
        map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
        map_element "EX_Extent", to: :ex_extent
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ogc-gml-1.0.3 lib/ogc/gml/domain_of_validity.rb
ogc-gml-1.0.2 lib/ogc/gml/domain_of_validity.rb
ogc-gml-1.0.1 lib/ogc/gml/domain_of_validity.rb