Commit 403d32ff5c49c82962ef17562caa6cb845f8d6d5
1 parent
a5e18744
Exists in
dev
Update of the schema for output_data
Showing
1 changed file
with
18 additions
and
10 deletions
Show diff stats
config/schemas/schema_device-2.0.yml
... | ... | @@ -36,24 +36,32 @@ schema;schema_component_output_data: |
36 | 36 | type: map |
37 | 37 | required: False |
38 | 38 | mapping: |
39 | - attribute: | |
39 | + data: | |
40 | 40 | type: map |
41 | 41 | required: False |
42 | 42 | mapping: |
43 | - key: | |
44 | - type: str | |
43 | + key: # e.g. link with Json keys | |
44 | + type: any | |
45 | 45 | required: True |
46 | - category: | |
46 | + category: # general category of the sensor (official list) | |
47 | 47 | type: str |
48 | 48 | required: True |
49 | - label: | |
49 | + external: # internal/external of the building (information) | |
50 | + type: bool | |
51 | + monitoring_name: # Monitoring unique value (official list) | |
50 | 52 | type: str |
51 | - value_type: | |
53 | + quality: # float 0 to 1 | |
54 | + type: float | |
55 | + time_sampling: # period (s) to record in the history database | |
56 | + type: float | |
57 | + label: # Label for web display | |
52 | 58 | type: str |
53 | - unit: | |
54 | - type: str | |
55 | - description: | |
56 | - type: str | |
59 | + value_type: # value format for web display | |
60 | + type: any | |
61 | + unit: # Unit for web display | |
62 | + type: str | |
63 | + description: # for the web display | |
64 | + type: str | |
57 | 65 | |
58 | 66 | schema;schema_capability: |
59 | 67 | type: map | ... | ... |