{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.6/commands/sketch.edit.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": "sketch.edit",
  "description": "Edits an outline by a sketch operation (Part V, 2.3.1, rule 9; Part XIV, 17.1.2): a wall's elevation outline (wallOutline, from its length and height where it has none), or the outline of a slab, a roof, a ceiling, a foundation or a room drawn by hand. Run as an update.",
  "type": "object",
  "properties": {
    "kind": {
      "const": "sketch.edit"
    },
    "id": {
      "type": "string",
      "minLength": 1,
      "x-eik-ref": "element"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The element's revision as read."
    },
    "operation": {
      "$ref": "detail.draw.schema.json#/properties/operation"
    }
  },
  "required": [
    "kind",
    "id",
    "expectedRevision",
    "operation"
  ],
  "additionalProperties": false
}
