{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.7/commands/view.delete.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": "view.delete",
  "description": "Removes a view (Part V, 2.3.1, rule 3; 5, rule 4): refused while a sheet places it (a viewport, its scale bar or a key plan), a view depends on it, a callout is of it, an item of another view refers to it or a report's figure shows it (in-use). Its own 2D items go with it.",
  "type": "object",
  "properties": {
    "kind": {
      "const": "view.delete"
    },
    "id": {
      "type": "string",
      "minLength": 1,
      "x-eik-ref": "view"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The view's revision as read."
    }
  },
  "required": [
    "kind",
    "id",
    "expectedRevision"
  ],
  "additionalProperties": false
}
