{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Line Feature with geometry by reference",
  "allOf": [
    {
      "$ref": "https://ogcincubator.github.io/topo-feature/build/annotated/geo/topo/features/topo-feature/schema.json"
    },
    {
      "properties": {
        "topology": {
          "allOf": [
            {
              "$ref": "https://ogcincubator.github.io/topo-feature/build/annotated/geo/topo/datatypes/topology/schema.json"
            },
            {
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "Edge",
                    "LineString",
                    "MultiLineString"
                  ]
                }
              }
            }
          ]
        }
      },
      "required": [
        "topology"
      ]
    }
  ]
}