{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.8/commands/render.upsert.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": "render.upsert",
  "description": "Writes a render whole, an application record (Part V, 2.3.1, rule 19): one that is there in its place at its revision plus one, a new one at the end at revision 0; a given expectedRevision is the render's, and for a new one counted as revision 0.",
  "type": "object",
  "properties": {
    "kind": {
      "const": "render.upsert"
    },
    "render": {
      "$ref": "../application-record.schema.json"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The render's revision as read, where given."
    }
  },
  "required": [
    "kind",
    "render"
  ],
  "additionalProperties": false
}
