{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.5/commands/ground.levels.schema.json",
  "$comment": "OpenEik 0.5: folded by tools/fold-schemas-0.5.mjs from the proposal ground, which 0.5 makes a rule (open questions, 132). Written by hand, not generated.",
  "title": "ground.levels",
  "description": "Sets the ground's groundLevel and groundwater together; a member levels leaves out is removed (Part XIX, 8).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "ground.levels"
    },
    "levels": {
      "type": "object",
      "properties": {
        "groundLevel": {
          "$ref": "../project/ground.schema.json#/$defs/height"
        },
        "groundwater": {
          "$ref": "../project/ground.schema.json#/$defs/height"
        }
      },
      "additionalProperties": false,
      "description": "The ground's levels, each a height."
    },
    "expectedLevels": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "groundLevel": {
              "$ref": "../project/ground.schema.json#/$defs/height"
            },
            "groundwater": {
              "$ref": "../project/ground.schema.json#/$defs/height"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "The two as read, {} where the ground gave neither."
    }
  },
  "required": [
    "kind",
    "levels"
  ],
  "additionalProperties": false
}
