lib/ogc/gml/temporal_datum.rb in ogc-gml-1.0.0 vs lib/ogc/gml/temporal_datum.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,9 +1,8 @@
# frozen_string_literal: true
-# --- temporal_datum_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "code"
require_relative "code_with_authority"
require_relative "meta_data_property"
require_relative "reference"
@@ -11,12 +10,12 @@
require_relative "abstract_topology"
module Ogc
module Gml
class TemporalDatum < AbstractTopology
- attribute :remarks, Shale::Type::String
- attribute :domain_of_validity, Shale::Type::String
- attribute :scope, Shale::Type::String, collection: true
+ attribute :remarks, :string
+ attribute :domain_of_validity, :string
+ attribute :scope, :string, collection: true
attribute :origin, TimeInstantProperty
xml do
root "TemporalDatum"
namespace "http://www.opengis.net/gml/3.2", "gml"