lib/ogc/gml/temporal_crs_property.rb in ogc-gml-1.0.0 vs lib/ogc/gml/temporal_crs_property.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,16 +1,15 @@
# frozen_string_literal: true
-# --- temporal_crs_property_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "temporal_crs"
module Ogc
module Gml
- class TemporalCRSProperty < Shale::Mapper
- attribute :nil_reason, Shale::Type::Value
- attribute :remote_schema, Shale::Type::Value
+ class TemporalCRSProperty < Lutaml::Model::Serializable
+ attribute :nil_reason, :string
+ attribute :remote_schema, :string
attribute :temporal_crs, TemporalCRS
xml do
root "temporalCRSRef"
namespace "http://www.opengis.net/gml/3.2", "gml"