lib/ogc/gml/unit_definition.rb in ogc-gml-1.0.0 vs lib/ogc/gml/unit_definition.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,9 +1,8 @@
# frozen_string_literal: true
-# --- unit_definition_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "code"
require_relative "code_with_authority"
require_relative "meta_data_property"
require_relative "reference"
@@ -11,10 +10,10 @@
require_relative "abstract_topology"
module Ogc
module Gml
class UnitDefinition < AbstractTopology
- attribute :remarks, Shale::Type::String
+ attribute :remarks, :string
attribute :quantity_type, StringOrRef
attribute :quantity_type_reference, Reference
attribute :catalog_symbol, Code
xml do