lib/ogc/gml/time_period_property.rb in ogc-gml-1.0.0 vs lib/ogc/gml/time_period_property.rb in ogc-gml-1.0.1

- old
+ new

@@ -1,17 +1,16 @@ # frozen_string_literal: true -# --- time_period_property_type.rb --- -require "shale" +require "lutaml/model" require_relative "time_period" module Ogc module Gml - class TimePeriodProperty < Shale::Mapper - attribute :nil_reason, Shale::Type::Value - attribute :remote_schema, Shale::Type::Value - attribute :owns, Shale::Type::Boolean, default: -> { "false" } + class TimePeriodProperty < Lutaml::Model::Serializable + attribute :nil_reason, :string + attribute :remote_schema, :string + attribute :owns, :boolean, default: -> { false } attribute :time_period, TimePeriod xml do root "TimePeriodPropertyType" namespace "http://www.opengis.net/gml/3.2", "gml"