# frozen_string_literal: true require "lutaml/model" require_relative "abstract_geometry" module Ogc module Gml class GeometryArrayProperty < Lutaml::Model::Serializable attribute :owns, :boolean, default: -> { false } attribute :abstract_geometry, AbstractGeometry, collection: true xml do root "geometryMembers" namespace "http://www.opengis.net/gml/3.2", "gml" map_attribute "owns", to: :owns map_element "AbstractGeometry", to: :abstract_geometry end end end end