class Lutaml::Model::SchemaLocation

def parsed_schema_locations(schema_location)

def parsed_schema_locations(schema_location)
  locations = if schema_location.is_a?(Hash)
                schema_location
              else
                schema_location.split.each_slice(2)
              end
  locations.map do |n, l|
    Location.new(namespace: n, location: l)
  end
end