{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.4/commands/original.add.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.add",
  "description": "Adds elements, and what is hosted on them, to an original. A member the kind does not define is refused, not dropped (Part V, 1.4).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "original.add"
    },
    "id": {
      "type": "string",
      "minLength": 1
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0
    },
    "elementIds": {
      "type": "array",
      "minItems": 1,
      "maxItems": 5000,
      "items": {
        "type": "string",
        "minLength": 1,
        "x-eik-ref": "element"
      }
    }
  },
  "required": [
    "kind",
    "id",
    "expectedRevision",
    "elementIds"
  ],
  "additionalProperties": false
}
