{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.8/commands/original.exclude.schema.json",
  "$comment": "OpenEik 0.7: folded by tools/fold-schemas-0.7.mjs from the proposal groupExclusions, which 0.7 makes a rule (open questions, 183). Written by hand, not generated.",
  "title": "original.exclude",
  "description": "Leaves elements out of one instance of a group, with what depends on them there (Part V, 2.1.2, rule 1): every other instance keeps them. With keep, each stays where it stands as an element of no group (rule 4).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "original.exclude"
    },
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The group: its original's id."
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The group's revision as read."
    },
    "at": {
      "type": "string",
      "minLength": 1,
      "description": "The instance that leaves the elements out."
    },
    "elementIds": {
      "type": "array",
      "minItems": 1,
      "maxItems": 5000,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "The elements, each by its id in that instance."
    },
    "keep": {
      "const": true,
      "description": "Each stays where it stands as an element of no group, under an id of its own (Part V, 2.1.2, rule 4)."
    }
  },
  "required": [
    "kind",
    "id",
    "expectedRevision",
    "at",
    "elementIds"
  ],
  "additionalProperties": false
}
