{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.3/commands/grid.upsert.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": "grid.upsert",
  "description": "Writes a grid line. Strict: expectedRevision is given exactly when the grid exists (Part V, 3.2). A member the kind does not define is refused, not dropped (Part V, 1.4).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "grid.upsert"
    },
    "grid": {
      "$ref": "../project/grid.schema.json"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0
    }
  },
  "required": [
    "kind",
    "grid"
  ],
  "additionalProperties": false
}
