{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.6/commands/offset.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": "offset",
  "description": "Moves a straight wall or a beam across its line by distance, mm, to its left where positive (Part V, 2.3.1, rule 7), or a copy of it under copyId. Run as updates and creates.",
  "type": "object",
  "properties": {
    "kind": {
      "const": "offset"
    },
    "id": {
      "type": "string",
      "minLength": 1,
      "x-eik-ref": "element"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The element's revision as read."
    },
    "distance": {
      "type": "number",
      "description": "How far, mm, along the element's left normal."
    },
    "copyId": {
      "type": "string",
      "minLength": 1,
      "description": "Where given, the element stays and a copy is made under this id, new; its hosted elements are copied under <copyId>:<their id>."
    }
  },
  "required": [
    "kind",
    "id",
    "expectedRevision",
    "distance"
  ],
  "additionalProperties": false
}
