lib/ogc/gml/directed_face_property.rb in ogc-gml-1.0.0 vs lib/ogc/gml/directed_face_property.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,18 +1,17 @@
# frozen_string_literal: true
-# --- directed_face_property_type.rb ---
-require "shale"
+require "lutaml/model"
require_relative "face"
module Ogc
module Gml
- class DirectedFaceProperty < Shale::Mapper
- attribute :orientation, Shale::Type::String, default: -> { "+" }
- attribute :nil_reason, Shale::Type::Value
- attribute :remote_schema, Shale::Type::Value
- attribute :owns, Shale::Type::Boolean, default: -> { "false" }
+ class DirectedFaceProperty < Lutaml::Model::Serializable
+ attribute :orientation, :string, default: -> { "+" }
+ attribute :nil_reason, :string
+ attribute :remote_schema, :string
+ attribute :owns, :boolean, default: -> { false }
attribute :face, Face
xml do
root "directedFace"
namespace "http://www.opengis.net/gml/3.2", "gml"