Update config schema (#24)
(1) device_capability_model_uri is required (2) model_repository_uri is no longer required for DPS parameters
This commit is contained in:
Родитель
bd6d4457d7
Коммит
7e1f93602c
|
@ -75,7 +75,7 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["connection_string"]
|
||||
"required": ["connection_string", "device_capability_model_uri"]
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
|
@ -84,7 +84,7 @@
|
|||
"$ref": "#/definitions/dps_parameters_schema"
|
||||
}
|
||||
},
|
||||
"required": ["dps_parameters"]
|
||||
"required": ["dps_parameters", "device_capability_model_uri"]
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
|
@ -131,8 +131,7 @@
|
|||
"required": [
|
||||
"global_prov_uri",
|
||||
"id_scope",
|
||||
"device_id",
|
||||
"model_repository_uri"
|
||||
"device_id"
|
||||
]
|
||||
},
|
||||
"device_schema" : {
|
||||
|
|
Загрузка…
Ссылка в новой задаче