{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.5/commands/areaAdjustment.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": "areaAdjustment.upsert",
  "description": "Writes a area adjustment 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 area adjustment's, and for a new one refused. Its levelId names a level of the model (ref-missing).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "areaAdjustment.upsert"
    },
    "adjustment": {
      "$ref": "../application-record.schema.json"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The area adjustment's revision as read, where given."
    }
  },
  "required": [
    "kind",
    "adjustment"
  ],
  "additionalProperties": false
}
