{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.8/commands/move.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": "move",
  "description": "Moves an element by delta, [dx, dy, dz] mm (Part V, 2.3.1, rule 8): one with no host moves its points in plan and rises by dz; a door or a window moves along its wall or up it; another hosted element is refused. Its declared geometry moves with it (Part II, 12.1, rule 6). Run as an update of it, and of each bar set anchored to it that it carries (Part II, 6.1.1, rule 4).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "move"
    },
    "id": {
      "type": "string",
      "minLength": 1,
      "x-eik-ref": "element"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The element's revision as read."
    },
    "delta": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "prefixItems": [
        {
          "type": "number"
        },
        {
          "type": "number"
        },
        {
          "type": "number"
        }
      ],
      "description": "The move, [dx, dy, dz], mm."
    }
  },
  "required": [
    "kind",
    "id",
    "expectedRevision",
    "delta"
  ],
  "additionalProperties": false
}
