{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.6/commands/framing.update.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.update",
  "description": "Writes a wall's framing out again (Part V, 2.3.1, rule 20): its members as its layout lays them out now, each materialised member it no longer lays deleted, each it lays updated where it differs and created where it is new; a member whose frameHost.edited is true is kept as it is. Refused for a wall that has none materialised from it. Run as type.upserts, deletes, updates and creates.",
  "type": "object",
  "properties": {
    "kind": {
      "const": "framing.update"
    },
    "wallId": {
      "type": "string",
      "minLength": 1,
      "x-eik-ref": "element"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The wall's revision as read."
    }
  },
  "required": [
    "kind",
    "wallId",
    "expectedRevision"
  ],
  "additionalProperties": false
}
