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

- old
+ new

@@ -1,15 +1,14 @@ # frozen_string_literal: true -# --- topo_point_property_type.rb --- -require "shale" +require "lutaml/model" require_relative "topo_point" module Ogc module Gml - class TopoPointProperty < Shale::Mapper - attribute :owns, Shale::Type::Boolean, default: -> { "false" } + class TopoPointProperty < Lutaml::Model::Serializable + attribute :owns, :boolean, default: -> { false } attribute :topo_point, TopoPoint xml do root "topoPointProperty" namespace "http://www.opengis.net/gml/3.2", "gml"