{
  "$schema": "../_schema.json",
  "format": "xlsx",
  "element": "cellis",
  "parent": "sheet",
  "operations": {"add": true, "get": true},
  "paths": {"positional": ["/SheetName/cf[N]"]},
  "note": "Compare cell value against literal/formula. Add via `add /Sheet1/cf --type cellis --prop sqref=A1:A10 --prop operator=greaterThan --prop value=50 --prop fill=FFFF00`. Lookup: Add.Cf.cs:453 (AddCellIs); Get: Query.cs:585.",
  "properties": {
    "ref": { "type":"string", "aliases":["sqref","range"], "add":true, "get":true, "description":"target cell range.", "examples":["--prop ref=A1:A10"], "enforcement":"report" },
    "operator": { "type":"enum", "values":["greaterThan","lessThan","greaterThanOrEqual","lessThanOrEqual","equal","notEqual","between","notBetween"], "add":true, "get":true, "description":"comparison operator. Aliases: gt/lt/gte/lte/eq/ne/=, etc.", "examples":["--prop operator=greaterThan","--prop operator=between"], "readback":"OOXML operator token", "enforcement":"report" },
    "value": { "type":"string", "aliases":["formula","value1"], "add":true, "get":true, "description":"primary comparison value (literal or formula). Required.", "examples":["--prop value=50","--prop value=\"=AVERAGE(A:A)\""], "readback":"formula text as stored", "enforcement":"report" },
    "value2": { "type":"string", "aliases":["formula2","maxvalue"], "add":true, "get":true, "description":"secondary value, only used by between/notBetween.", "examples":["--prop value2=100"], "readback":"formula text as stored", "enforcement":"report" },
    "fill": { "type":"color", "add":true, "get":false, "description":"background fill via dxf.", "examples":["--prop fill=FFFF00"], "enforcement":"report" },
    "font.color": { "type":"color", "add":true, "get":false, "description":"font color via dxf.", "examples":["--prop font.color=FF0000"], "enforcement":"report" },
    "font.bold": { "type":"bool", "add":true, "get":false, "description":"bold via dxf.", "examples":["--prop font.bold=true"], "enforcement":"report" },
    "stopIfTrue": { "type":"bool", "add":true, "get":false, "description":"stop evaluating subsequent CF rules when this rule applies.", "examples":["--prop stopIfTrue=true"], "enforcement":"report" },
    "type": { "type":"string", "add":false, "set":false, "get":true, "description":"canonical CF rule type token (e.g. \"dataBar\", \"colorScale\", \"iconSet\", \"formula\", \"topN\", \"cellIs\", \"containsText\", \"aboveAverage\", \"duplicateValues\", \"uniqueValues\", \"timePeriod\"). Emitted on every CF rule.", "readback":"normalized CF type token", "enforcement":"report" },
    "dxfId": { "type":"number", "add":false, "set":false, "get":true, "description":"differential format id referencing dxf styles. Emitted only when present on the rule.", "readback":"integer", "enforcement":"report" }
  }
}
