{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.7/commands/detail.place.schema.json",
  "$comment": "OpenEik 0.5: folded by tools/fold-schemas-0.5.mjs from the proposal drawingCommands, which 0.5 makes a rule (open questions, 137). Written by hand, not generated.",
  "title": "detail.place",
  "description": "Places one 2D item in a view, or replaces the view's item of its id in its place; a new one at the end of the view's items (Part V, 2.2; Part XIV, 17.1.1). Its provenance is a member of the item, which the processor keeps; of an agent's command it writes by agent and status proposed (Part XIV, 3.2 and 17.1.1, rule 6). The view is at its revision plus one.",
  "type": "object",
  "properties": {
    "kind": {
      "const": "detail.place"
    },
    "viewId": {
      "type": "string",
      "minLength": 1,
      "x-eik-ref": "view"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The view's revision as read."
    },
    "item": {
      "$ref": "../drawings/detail-item.schema.json"
    }
  },
  "required": [
    "kind",
    "viewId",
    "expectedRevision",
    "item"
  ],
  "additionalProperties": false
}
