Commit b11eb67bcef0dda7dfbaf5670c39fa52a39f94df
1 parent
aa33c09f
Exists in
dev
fix schema for output_data
Showing
1 changed file
with
7 additions
and
3 deletions
Show diff stats
config/schemas/schema_device-2.0.yml
... | ... | @@ -36,7 +36,7 @@ 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: |
... | ... | @@ -51,9 +51,13 @@ schema;schema_component_output_data: |
51 | 51 | value_type: |
52 | 52 | type: str |
53 | 53 | unit: |
54 | - type: str | |
54 | + type: str | |
55 | 55 | description: |
56 | - type: str | |
56 | + type: str | |
57 | + min_value: | |
58 | + type: any | |
59 | + max_value: | |
60 | + type: any | |
57 | 61 | |
58 | 62 | schema;schema_capability: |
59 | 63 | type: map | ... | ... |