{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.7/pitSides/pit.schema.json",
  "$comment": "OpenEik 0.7: folded by tools/fold-schemas-0.7.mjs from the proposal pitSides, which 0.7 makes a rule (open questions, 165). Written by hand, not generated.",
  "title": "A pit with its own sides",
  "description": "A pit the project digs: a basement, a lift pit or a sump (Part XIX, 6), which may state its own working space and its own slope, either or both, in place of the project's (Part XIX, 6.3, rule 2). A member it does not give is the project's (rule 3).",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "../project/ground.schema.json#/$defs/id"
    },
    "name": {
      "$ref": "../project/ground.schema.json#/$defs/name"
    },
    "outline": {
      "$ref": "../project/ground.schema.json#/$defs/polygon",
      "description": "Its outline in plan (Part XIX, 6, rule 1)."
    },
    "bottom": {
      "$ref": "../project/ground.schema.json#/$defs/height",
      "description": "Its bottom level, a height (Part XIX, 6, rule 1)."
    },
    "workingSpace": {
      "type": "number",
      "description": "The width dug beside its outline at its bottom, mm, in place of the project's (Part XIX, 6.3, rule 2).",
      "minimum": 0,
      "maximum": 10000
    },
    "slope": {
      "type": "number",
      "description": "Its sides as 1:n, n horizontal per unit of depth, in place of the project's; 0 is plumb sides, a shored pit (Part XIX, 6.3, rules 2 and 4).",
      "minimum": 0,
      "maximum": 20
    }
  },
  "required": [
    "id",
    "outline",
    "bottom"
  ],
  "x-eik-closed": true
}
