lib/ogc/gml/history_property.rb in ogc-gml-1.0.0 vs lib/ogc/gml/history_property.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,15 +1,14 @@
# frozen_string_literal: true
-# --- history_property_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "abstract_time_slice"
module Ogc
module Gml
- class HistoryProperty < Shale::Mapper
- attribute :owns, Shale::Type::Boolean, default: -> { "false" }
+ class HistoryProperty < Lutaml::Model::Serializable
+ attribute :owns, :boolean, default: -> { false }
attribute :abstract_time_slice, AbstractTimeSlice, collection: true
xml do
root "track"
namespace "http://www.opengis.net/gml/3.2", "gml"