lib/ogc/gml/string_or_ref.rb in ogc-gml-1.0.0 vs lib/ogc/gml/string_or_ref.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,15 +1,14 @@
# frozen_string_literal: true
-# --- string_or_ref_type.rb ---
-require "shale"
+require "lutaml/model"
module Ogc
module Gml
- class StringOrRef < Shale::Mapper
- attribute :content, Shale::Type::String
- attribute :nil_reason, Shale::Type::Value
- attribute :remote_schema, Shale::Type::Value
+ class StringOrRef < Lutaml::Model::Serializable
+ attribute :content, :string
+ attribute :nil_reason, :string
+ attribute :remote_schema, :string
xml do
root "status"
namespace "http://www.opengis.net/gml/3.2", "gml"