Commit 6fd2df278e6db4e8ad73d4206534a0a042f90886
Exists in
dev
Merge branch 'dev' of https://gitlab.irap.omp.eu/epallier/pyros into dev
Showing
1 changed file
with
17 additions
and
13 deletions
Show diff stats
config/schemas/schema_device-2.0.yml
... | ... | @@ -40,24 +40,28 @@ schema;schema_component_output_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 | |
57 | - min_value: | |
58 | - type: any | |
59 | - max_value: | |
60 | - type: any | |
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 | |
61 | 65 | |
62 | 66 | schema;schema_capability: |
63 | 67 | type: map | ... | ... |