{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.7/commands/mep.fall.schema.json",
  "$comment": "OpenEik 0.5: folded by tools/fold-schemas-0.5.mjs from the proposal domainCommands, which 0.5 makes a rule (open questions, 139). Written by hand, not generated.",
  "title": "mep.fall",
  "description": "Lays a pipe's or a duct's fall (Part V, 2.3.1, rule 17): its heights, mep.z, from the end it flows to, which keeps its height, falling fall per mille of each segment's run in plan. Run as an update.",
  "type": "object",
  "properties": {
    "kind": {
      "const": "mep.fall"
    },
    "id": {
      "type": "string",
      "minLength": 1,
      "x-eik-ref": "element"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The element's revision as read."
    },
    "fall": {
      "type": "number",
      "minimum": 0,
      "maximum": 200,
      "description": "The fall, per mille."
    },
    "toward": {
      "type": "string",
      "enum": [
        "end",
        "start"
      ],
      "description": "The end it flows to, which keeps its height; end where it is left out."
    }
  },
  "required": [
    "kind",
    "id",
    "expectedRevision",
    "fall"
  ],
  "additionalProperties": false
}
