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