Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| name | string | |
| enabled | boolean | |
| priority | integer | |
| condition | string | Rule condition expression |
| rolloutPercentage | integer | |
| startDate | string | |
| endDate | string | |
| value | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Rule",
"title": "Rule",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"priority": {
"type": "integer"
},
"condition": {
"type": "string",
"description": "Rule condition expression"
},
"rolloutPercentage": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Setting"
}
}
}
}