{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.5/commands/dimensionStyle.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": "dimensionStyle.upsert",
  "description": "Writes a dimension style whole (Part V, 2.2; 2.3.1, rule 5): a new one at the end of its list at revision 0, one that is there in its place at its revision plus one. The precondition is strict (Part V, 3, rule 2): expectedRevision is given exactly when the dimension style exists; in an envelope a new one says null (Part XVII, 9.1).",
  "type": "object",
  "properties": {
    "kind": {
      "const": "dimensionStyle.upsert"
    },
    "style": {
      "$ref": "../project/dimension-style.schema.json"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "description": "The dimension style's revision as read; given exactly when it exists."
    }
  },
  "required": [
    "kind",
    "style"
  ],
  "additionalProperties": false
}
