{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "pattern": "^Feature$"
    },
    "id": {
      "type": "string",
      "pattern": "^[a-z0-9_\\-]{3,255}$"
    },
    "geometry": {
      "$ref": "../../geojson/linestring.json"
    },
    "properties": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 255
        },
        "type": {
          "type": "string",
          "pattern": "^fhb$"
        },
        "layers": {
          "$ref": "../layers.json"
        },
        "cells": {
          "$ref": "../cells.json"
        },
        "isExcludedFromCalculation": {
          "type": "boolean"
        }
      },
      "required": [
        "name",
        "type",
        "cells",
        "layers"
      ]
    }
  },
  "required": [
    "type",
    "id",
    "geometry",
    "properties"
  ]
}
