Properties
| Name | Type | Description |
|---|---|---|
| Id | string | Unique identifier of the rule. |
| ServiceId | string | Unique identifier of the `Service` the rule is assigned to. |
| Conditions | object | Conditions of the rule. |
| CreatedUtc | string | Creation date and time of the rule in UTC timezone in ISO 8601 format. |
| UpdatedUtc | string | Last update date and time of the rule in UTC timezone in ISO 8601 format. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Rule",
"title": "Rule",
"required": [
"Conditions",
"CreatedUtc",
"Id",
"ServiceId",
"UpdatedUtc"
],
"type": "object",
"properties": {
"Id": {
"type": "string",
"description": "Unique identifier of the rule.",
"format": "uuid"
},
"ServiceId": {
"type": "string",
"description": "Unique identifier of the `Service` the rule is assigned to.",
"format": "uuid"
},
"Conditions": {
"title": "Rule conditions",
"allOf": [
{
"$ref": "#/components/schemas/RuleConditions"
}
],
"description": "Conditions of the rule."
},
"CreatedUtc": {
"minLength": 1,
"type": "string",
"description": "Creation date and time of the rule in UTC timezone in ISO 8601 format.",
"format": "date-time"
},
"UpdatedUtc": {
"minLength": 1,
"type": "string",
"description": "Last update date and time of the rule in UTC timezone in ISO 8601 format.",
"format": "date-time"
}
},
"additionalProperties": false,
"x-schema-id": "Rule"
}