{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.6/commands/framing.detach.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": "framing.detach",
  "description": "Lets the framing members materialised from a wall go (Part V, 2.3.1, rule 16; Part IV, 7.4.12, rule 2): each element that names the wall in frameHost.wallId loses its frameHost, or with deleteMembers is deleted. Run as updates or deletes.",
  "type": "object",
  "properties": {
    "kind": {
      "const": "framing.detach"
    },
    "wallId": {
      "type": "string",
      "minLength": 1,
      "x-eik-ref": "element"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The wall's revision as read."
    },
    "deleteMembers": {
      "type": "boolean",
      "description": "true deletes the members; false, or left out, keeps them as elements of their own."
    }
  },
  "required": [
    "kind",
    "wallId",
    "expectedRevision"
  ],
  "additionalProperties": false
}
