|
299 | 299 | "markdownDescription": "The name of the enum this constant is a member of, if any.", |
300 | 300 | "type": "array", |
301 | 301 | "items": { "type": "string", "pattern": "^[A-Z]+[A-Za-z_]*$" } |
| 302 | + }, |
| 303 | + "value-type": { |
| 304 | + "markdownDescription": "For constants used as rule tags in list-based APIs: the type of the value that follows this constant in the list. Uses the same vocabulary as ruleset param types. 'string-csv' accepts a {string} array and serializes it as an escaped comma-separated string. 'string-map' accepts a {[string]: string} table and emits one tag/key/value triple per entry.", |
| 305 | + "enum": ["integer", "float", "string", "vector", "rotation", "boolean", "asset", "key", "string-csv", "string-map", "string-multi"], |
| 306 | + "type": "string" |
| 307 | + }, |
| 308 | + "range": { |
| 309 | + "markdownDescription": "An array with the start and end values.", |
| 310 | + "items": { |
| 311 | + "type": ["number", "string", "integer"] |
| 312 | + }, |
| 313 | + "maxItems": 2, |
| 314 | + "minItems": 2, |
| 315 | + "type": "array" |
| 316 | + }, |
| 317 | + "default": { |
| 318 | + "markdownDescription": "The default value.", |
| 319 | + "type": ["number", "string", "integer", "boolean"] |
| 320 | + }, |
| 321 | + "enum": { |
| 322 | + "markdownDescription": "A category of constants valid for this value.", |
| 323 | + "type": "string" |
| 324 | + }, |
| 325 | + "details": { |
| 326 | + "markdownDescription": "Additional information.", |
| 327 | + "type": "string" |
| 328 | + }, |
| 329 | + "access": { |
| 330 | + "markdownDescription": "Access mode. 'arg' is always an argument. 'read' is used only when reading. 'write' is used only when writing.", |
| 331 | + "enum": ["arg", "read", "write", "read/write"], |
| 332 | + "type": "string" |
| 333 | + }, |
| 334 | + "values": { |
| 335 | + "markdownDescription": "A list of values associated to the constant.", |
| 336 | + "type": "array", |
| 337 | + "items": { |
| 338 | + "type": "object", |
| 339 | + "additionalProperties": false, |
| 340 | + "properties": { |
| 341 | + "name": { |
| 342 | + "markdownDescription": "The name of this value.", |
| 343 | + "type": "string" |
| 344 | + }, |
| 345 | + "value-type": { |
| 346 | + "markdownDescription": "For constants used as rule tags in list-based APIs: the type of the value that follows this constant in the list. Uses the same vocabulary as ruleset param types. 'string-csv' accepts a {string} array and serializes it as an escaped comma-separated string. 'string-map' accepts a {[string]: string} table and emits one tag/key/value triple per entry.", |
| 347 | + "enum": ["integer", "float", "string", "vector", "rotation", "boolean", "asset", "key", "string-csv", "string-map", "string-multi"], |
| 348 | + "type": "string" |
| 349 | + }, |
| 350 | + "range": { |
| 351 | + "markdownDescription": "An array with the start and end values.", |
| 352 | + "items": { |
| 353 | + "type": ["number", "string", "integer"] |
| 354 | + }, |
| 355 | + "maxItems": 2, |
| 356 | + "minItems": 2, |
| 357 | + "type": "array" |
| 358 | + }, |
| 359 | + "default": { |
| 360 | + "markdownDescription": "The default value.", |
| 361 | + "type": ["number", "string", "integer", "boolean"] |
| 362 | + }, |
| 363 | + "enum": { |
| 364 | + "markdownDescription": "A category of constants valid for this value.", |
| 365 | + "type": "string" |
| 366 | + }, |
| 367 | + "details": { |
| 368 | + "markdownDescription": "Additional information.", |
| 369 | + "type": "string" |
| 370 | + }, |
| 371 | + "access": { |
| 372 | + "markdownDescription": "Access mode. 'arg' is always an argument. 'read' is used only when reading. 'write' is used only when writing.", |
| 373 | + "enum": ["arg", "read", "write", "read/write"], |
| 374 | + "type": "string" |
| 375 | + } |
| 376 | + } |
| 377 | + } |
302 | 378 | } |
303 | 379 | }, |
304 | 380 | "required": [ |
|
0 commit comments