{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.4/commands/original.edit.schema.json",
  "$comment": "Written by hand from Part V and the member names of the reference vocabulary; tools/generate-schemas.mjs does not make it yet (schemas/commands/README.md).",
  "title": "original.edit",
  "description": "Runs commands as one step with the original open to them: outside this command an element of an original is not changed. A member the kind does not define is refused, not dropped (Part V, 1.4).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "original.edit"
    },
    "id": {
      "type": "string",
      "minLength": 1
    },
    "at": {
      "type": "string",
      "minLength": 1,
      "description": "The instance the original is edited at."
    },
    "commands": {
      "type": "array",
      "minItems": 1,
      "maxItems": 500,
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "kind",
    "id",
    "at",
    "commands"
  ],
  "additionalProperties": false
}
