Scenario Definition¶
JSON Schema: Scenario_Definition.schema.json
Title: Scenario Definition
| Type | object |
| Required | No |
| Additional properties | Not allowed |
Description: Voluptuous validation schema for Scenario_Definition
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - alias | No | string | No |
| - enabled | No | boolean | No |
| - expose_state | No | boolean | No |
| - notify_entity | No | object | No |
| - conditions | No | array | No |
| - media | No | Combination | No |
| - action_groups | No | array of string | No |
| - delivery_selection | No | string | No |
| - delivery | No | Combination | No |
Property Scenario Definition > alias¶
| Type | string |
| Required | No |
Property Scenario Definition > enabled¶
| Type | boolean |
| Required | No |
| Default | true |
Property Scenario Definition > expose_state¶
| Type | boolean |
| Required | No |
| Default | true |
Property Scenario Definition > notify_entity¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > conditions¶
| Type | array |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| conditions items | - |
Scenario Definition > conditions > conditions items¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > media¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
Property Scenario Definition > media > anyOf > item 0¶
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - camera_entity_id | No | object | No |
| - camera_delay | No | integer | No |
| - camera_ptz_preset | No | Combination | No |
| - clip_url | No | string | No |
| - snapshot_url | No | Combination | No |
| - help_url | No | string | No |
| - snapshot_image_path | No | object | No |
| - jpeg_opts | No | object | No |
| - png_opts | No | object | No |
| - reprocess | No | enum (of string) | No |
| - crop | No | array of number | No |
| - desc | No | string | No |
Property Scenario Definition > media > anyOf > item 0 > camera_entity_id¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > media > anyOf > item 0 > camera_delay¶
| Type | integer |
| Required | No |
Property Scenario Definition > media > anyOf > item 0 > camera_ptz_preset¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
Property Scenario Definition > media > anyOf > item 0 > camera_ptz_preset > anyOf > item 0¶
| Type | integer |
| Required | No |
| Restrictions | |
|---|---|
| Minimum | ≥ 0 |
Property Scenario Definition > media > anyOf > item 0 > camera_ptz_preset > anyOf > item 1¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 0 > clip_url¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 0 > snapshot_url¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
Property Scenario Definition > media > anyOf > item 0 > snapshot_url > anyOf > item 0¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 0 > snapshot_url > anyOf > item 1¶
| Type | array |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| item 1 items | - |
Scenario Definition > media > anyOf > item 0 > snapshot_url > anyOf > item 1 > item 1 items¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
Property Scenario Definition > media > anyOf > item 0 > snapshot_url > anyOf > item 1 > item 1 items > anyOf > item 0¶
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| + url | No | string | No |
| - reprocess | No | enum (of string) | No |
Property Scenario Definition > media > anyOf > item 0 > snapshot_url > anyOf > item 1 > item 1 items > anyOf > item 0 > url¶
| Type | string |
| Required | Yes |
Property Scenario Definition > media > anyOf > item 0 > snapshot_url > anyOf > item 1 > item 1 items > anyOf > item 0 > reprocess¶
| Type | enum (of string) |
| Required | No |
Must be one of: * "always" * "never" * "preserve"
Property Scenario Definition > media > anyOf > item 0 > snapshot_url > anyOf > item 1 > item 1 items > anyOf > item 1¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 0 > help_url¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 0 > snapshot_image_path¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > media > anyOf > item 0 > jpeg_opts¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - Additional properties | No | object | No |
Property Scenario Definition > media > anyOf > item 0 > png_opts¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - Additional properties | No | object | No |
Property Scenario Definition > media > anyOf > item 0 > reprocess¶
| Type | enum (of string) |
| Required | No |
Must be one of: * "always" * "never" * "preserve"
Property Scenario Definition > media > anyOf > item 0 > crop¶
| Type | array of number |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | 4 |
| Max items | 4 |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| crop items | - |
Scenario Definition > media > anyOf > item 0 > crop > crop items¶
| Type | number |
| Required | No |
Property Scenario Definition > media > anyOf > item 0 > desc¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 1¶
| Type | array of object |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| item 1 items | - |
Scenario Definition > media > anyOf > item 1 > item 1 items¶
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - camera_entity_id | No | object | No |
| - camera_delay | No | integer | No |
| - camera_ptz_preset | No | Combination | No |
| - clip_url | No | string | No |
| - snapshot_url | No | Combination | No |
| - help_url | No | string | No |
| - snapshot_image_path | No | object | No |
| - jpeg_opts | No | object | No |
| - png_opts | No | object | No |
| - reprocess | No | enum (of string) | No |
| - crop | No | array of number | No |
| - desc | No | string | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > camera_entity_id¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > camera_delay¶
| Type | integer |
| Required | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > camera_ptz_preset¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > camera_ptz_preset > anyOf > item 0¶
| Type | integer |
| Required | No |
| Restrictions | |
|---|---|
| Minimum | ≥ 0 |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > camera_ptz_preset > anyOf > item 1¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > clip_url¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > snapshot_url¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > snapshot_url > anyOf > item 0¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > snapshot_url > anyOf > item 1¶
| Type | array |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| item 1 items | - |
Scenario Definition > media > anyOf > item 1 > item 1 items > snapshot_url > anyOf > item 1 > item 1 items¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > snapshot_url > anyOf > item 1 > item 1 items > anyOf > item 0¶
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| + url | No | string | No |
| - reprocess | No | enum (of string) | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > snapshot_url > anyOf > item 1 > item 1 items > anyOf > item 0 > url¶
| Type | string |
| Required | Yes |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > snapshot_url > anyOf > item 1 > item 1 items > anyOf > item 0 > reprocess¶
| Type | enum (of string) |
| Required | No |
Must be one of: * "always" * "never" * "preserve"
Property Scenario Definition > media > anyOf > item 1 > item 1 items > snapshot_url > anyOf > item 1 > item 1 items > anyOf > item 1¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > help_url¶
| Type | string |
| Required | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > snapshot_image_path¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > jpeg_opts¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - Additional properties | No | object | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > png_opts¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - Additional properties | No | object | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > reprocess¶
| Type | enum (of string) |
| Required | No |
Must be one of: * "always" * "never" * "preserve"
Property Scenario Definition > media > anyOf > item 1 > item 1 items > crop¶
| Type | array of number |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | 4 |
| Max items | 4 |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| crop items | - |
Scenario Definition > media > anyOf > item 1 > item 1 items > crop > crop items¶
| Type | number |
| Required | No |
Property Scenario Definition > media > anyOf > item 1 > item 1 items > desc¶
| Type | string |
| Required | No |
Property Scenario Definition > action_groups¶
| Type | array of string |
| Required | No |
| Default | [] |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| action_groups items | - |
Scenario Definition > action_groups > action_groups items¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery_selection¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | {} |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
| item 2 |
Property Scenario Definition > delivery > anyOf > item 0¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 1¶
| Type | array of string |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| item 1 items | - |
Scenario Definition > delivery > anyOf > item 1 > item 1 items¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2¶
| Type | object |
| Required | No |
| Additional properties | Each additional property must conform to the schema |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - Additional properties | No | object | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties¶
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - target | No | Combination | No |
| - enabled | No | boolean | No |
| - data | No | object | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
| item 2 |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0¶
| Type | object |
| Required | No |
| Additional properties | Each additional property must conform to the schema |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - entity_id | No | array | No |
| - device_id | No | array of string | No |
| - area_id | No | array of string | No |
| - floor_id | No | array of string | No |
| - label_id | No | array of string | No |
| No | array | No | |
| - phone | No | array of string | No |
| - mobile_app_id | No | array | No |
| - person_id | No | array | No |
| - Additional properties | No | array of string | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > entity_id¶
| Type | array |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| entity_id items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > entity_id > entity_id items¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > device_id¶
| Type | array of string |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| device_id items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > device_id > device_id items¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > area_id¶
| Type | array of string |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| area_id items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > area_id > area_id items¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > floor_id¶
| Type | array of string |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| floor_id items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > floor_id > floor_id items¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > label_id¶
| Type | array of string |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| label_id items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > label_id > label_id items¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > email¶
| Type | array |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| email items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > email > email items¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > phone¶
| Type | array of string |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| phone items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > phone > phone items¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > mobile_app_id¶
| Type | array |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| mobile_app_id items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > mobile_app_id > mobile_app_id items¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > person_id¶
| Type | array |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| person_id items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > person_id > person_id items¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > additionalProperties¶
| Type | array of string |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| additionalProperties items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 0 > additionalProperties > additionalProperties items¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 1¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 2¶
| Type | array |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| item 2 items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > target > anyOf > item 2 > item 2 items¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > enabled¶
| Type | boolean |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data¶
| Type | object |
| Required | No |
| Additional properties | Each additional property must conform to the schema |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - Additional properties | No | Combination | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data > additionalProperties¶
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Any of(Option) |
|---|
| item 0 |
| item 1 |
| item 2 |
| item 3 |
| item 4 |
| item 5 |
| item 6 |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data > additionalProperties > anyOf > item 0¶
| Type | string |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data > additionalProperties > anyOf > item 1¶
| Type | integer |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data > additionalProperties > anyOf > item 2¶
| Type | boolean |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data > additionalProperties > anyOf > item 3¶
| Type | number |
| Required | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data > additionalProperties > anyOf > item 4¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
| Property | Pattern | Type | Deprecated |
|---|---|---|---|
| - Additional properties | No | object | No |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data > additionalProperties > anyOf > item 5¶
| Type | array |
| Required | No |
| Array restrictions | |
|---|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|---|
| item 5 items | - |
Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data > additionalProperties > anyOf > item 5 > item 5 items¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Property Scenario Definition > delivery > anyOf > item 2 > additionalProperties > data > additionalProperties > anyOf > item 6¶
| Type | object |
| Required | No |
| Additional properties | Any type allowed |
Description: Must be null
Generated using json-schema-for-humans on 2026-12-03 at 11:22:38 +0000