diff --git a/tests/schemas/commands_discovery/provision.out b/tests/schemas/commands_discovery/provision.out index 19183398e3..822eaae055 100644 --- a/tests/schemas/commands_discovery/provision.out +++ b/tests/schemas/commands_discovery/provision.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object instance has properties which are not allowed by the schema: ["provision"] +1 schema violations found + object instance has properties which are not allowed by the schema: ["provision"] diff --git a/tests/schemas/config/blobset_final_incomplete_url.out b/tests/schemas/config/blobset_final_incomplete_url.out index 309b00389e..b97f30ec93 100644 --- a/tests/schemas/config/blobset_final_incomplete_url.out +++ b/tests/schemas/config/blobset_final_incomplete_url.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - /blobset/blobs/_firmware_update: object has missing required properties (["generation","sha256"]) +1 schema violations found + /blobset/blobs/_firmware_update: object has missing required properties (["generation","sha256"]) diff --git a/tests/schemas/config/delta_x1_gateway.out b/tests/schemas/config/delta_x1_gateway.out index 39e4af0ebf..ac8fda8b39 100644 --- a/tests/schemas/config/delta_x1_gateway.out +++ b/tests/schemas/config/delta_x1_gateway.out @@ -1,4 +1,3 @@ -While converting to json node: 2 schema violations found - 2 schema violations found - /localnet: object instance has properties which are not allowed by the schema: ["subsystem"] - object has missing required properties (["version"]) +2 schema violations found + /localnet: object instance has properties which are not allowed by the schema: ["subsystem"] + object has missing required properties (["version"]) diff --git a/tests/schemas/config/delta_x1_target.out b/tests/schemas/config/delta_x1_target.out index 39e4af0ebf..ac8fda8b39 100644 --- a/tests/schemas/config/delta_x1_target.out +++ b/tests/schemas/config/delta_x1_target.out @@ -1,4 +1,3 @@ -While converting to json node: 2 schema violations found - 2 schema violations found - /localnet: object instance has properties which are not allowed by the schema: ["subsystem"] - object has missing required properties (["version"]) +2 schema violations found + /localnet: object instance has properties which are not allowed by the schema: ["subsystem"] + object has missing required properties (["version"]) diff --git a/tests/schemas/config/empty.out b/tests/schemas/config/empty.out index a43a45d0df..6b478b7302 100644 --- a/tests/schemas/config/empty.out +++ b/tests/schemas/config/empty.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object has missing required properties (["timestamp","version"]) +1 schema violations found + object has missing required properties (["timestamp","version"]) diff --git a/tests/schemas/config/errors.out b/tests/schemas/config/errors.out index 633b4bfd99..e2c83487a7 100644 --- a/tests/schemas/config/errors.out +++ b/tests/schemas/config/errors.out @@ -1,8 +1,7 @@ -While converting to json node: 6 schema violations found - 6 schema violations found - /pointset/points/return_air_temperature_sensor: object instance has properties which are not allowed by the schema: ["object_type"] - /pointset/sample_rate_sec: instance type (string) does not match any allowed primitive type (allowed: ["integer"]) - /pointset/state_etag: string "2a8b71dwqhdhdddddddddddddddddddddddddddddddddddddddddd8" is too long (length: 55, maximum allowed: 32) - /pointset/version: instance type (integer) does not match any allowed primitive type (allowed: ["string"]) - /pointset: object instance has properties which are not allowed by the schema: ["config_etag","id","properties"] - object instance has properties which are not allowed by the schema: ["points","properties","type","upgraded_from"] +6 schema violations found + /pointset/points/return_air_temperature_sensor: object instance has properties which are not allowed by the schema: ["object_type"] + /pointset/sample_rate_sec: instance type (string) does not match any allowed primitive type (allowed: ["integer"]) + /pointset/state_etag: string "2a8b71dwqhdhdddddddddddddddddddddddddddddddddddddddddd8" is too long (length: 55, maximum allowed: 32) + /pointset/version: instance type (integer) does not match any allowed primitive type (allowed: ["string"]) + /pointset: object instance has properties which are not allowed by the schema: ["config_etag","id","properties"] + object instance has properties which are not allowed by the schema: ["points","properties","type","upgraded_from"] diff --git a/tests/schemas/config/fcu.out b/tests/schemas/config/fcu.out index a314ba1ff2..cedf4f9585 100644 --- a/tests/schemas/config/fcu.out +++ b/tests/schemas/config/fcu.out @@ -1,4 +1,3 @@ -While converting to json node: 2 schema violations found - 2 schema violations found - /pointset/points/chilled_water_valve_percentage_command: object instance has properties which are not allowed by the schema: ["min_update_ms"] - /system: object instance has properties which are not allowed by the schema: ["max_update_ms"] +2 schema violations found + /pointset/points/chilled_water_valve_percentage_command: object instance has properties which are not allowed by the schema: ["min_update_ms"] + /system: object instance has properties which are not allowed by the schema: ["max_update_ms"] diff --git a/tests/schemas/config/gateway.out b/tests/schemas/config/gateway.out index e453808440..a66518e068 100644 --- a/tests/schemas/config/gateway.out +++ b/tests/schemas/config/gateway.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - /gateway/proxy_ids/2: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "991" +1 schema violations found + /gateway/proxy_ids/2: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "991" diff --git a/tests/schemas/config/smartprimus.out b/tests/schemas/config/smartprimus.out index cbad7ad3b7..c06af5362a 100644 --- a/tests/schemas/config/smartprimus.out +++ b/tests/schemas/config/smartprimus.out @@ -1,4 +1,3 @@ -While converting to json node: 2 schema violations found - 2 schema violations found - /pointset/points/fan_run_enable: object instance has properties which are not allowed by the schema: ["fix_value"] - /pointset/points/fan_run_status: object instance has properties which are not allowed by the schema: ["fix_value"] +2 schema violations found + /pointset/points/fan_run_enable: object instance has properties which are not allowed by the schema: ["fix_value"] + /pointset/points/fan_run_status: object instance has properties which are not allowed by the schema: ["fix_value"] diff --git a/tests/schemas/configuration_endpoint/multiple.out b/tests/schemas/configuration_endpoint/multiple.out index 28d8793a11..7b0b39a451 100644 --- a/tests/schemas/configuration_endpoint/multiple.out +++ b/tests/schemas/configuration_endpoint/multiple.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - /topic_prefix: ECMA 262 regex "^[-_/a-zA-Z0-9]+$" does not match input string "/devices/#" +1 schema violations found + /topic_prefix: ECMA 262 regex "^[-_/a-zA-Z0-9]+$" does not match input string "/devices/#" diff --git a/tests/schemas/envelope/empty.out b/tests/schemas/envelope/empty.out index 5e0a72685d..411a14b17c 100644 --- a/tests/schemas/envelope/empty.out +++ b/tests/schemas/envelope/empty.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object has missing required properties (["deviceRegistryId"]) +1 schema violations found + object has missing required properties (["deviceRegistryId"]) diff --git a/tests/schemas/envelope/errors1.out b/tests/schemas/envelope/errors1.out index 6d75a25093..e149c3adfd 100644 --- a/tests/schemas/envelope/errors1.out +++ b/tests/schemas/envelope/errors1.out @@ -1,6 +1,5 @@ -While converting to json node: 4 schema violations found - 4 schema violations found - /deviceId: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "fcu-1" - /deviceNumId: ECMA 262 regex "^[0-9]+$" does not match input string "921302198324X" - /deviceRegistryId: ECMA 262 regex "^[a-zA-Z][-a-zA-Z0-9._+~%]*[a-zA-Z0-9]$" does not match input string "test/registry" - /subType: instance value (5) not found in enum (possible values: ["invalid","reflect","events","errors","commands","config","state","query","reply","model"]) +4 schema violations found + /deviceId: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "fcu-1" + /deviceNumId: ECMA 262 regex "^[0-9]+$" does not match input string "921302198324X" + /deviceRegistryId: ECMA 262 regex "^[a-zA-Z][-a-zA-Z0-9._+~%]*[a-zA-Z0-9]$" does not match input string "test/registry" + /subType: instance value (5) not found in enum (possible values: ["invalid","reflect","events","errors","commands","config","state","query","reply","model"]) diff --git a/tests/schemas/envelope/errors2.out b/tests/schemas/envelope/errors2.out index 00375e8533..a903995aa1 100644 --- a/tests/schemas/envelope/errors2.out +++ b/tests/schemas/envelope/errors2.out @@ -1,4 +1,3 @@ -While converting to json node: 2 schema violations found - 2 schema violations found - /deviceId: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "FCUs_02_NW_12" - /deviceNumId: ECMA 262 regex "^[0-9]+$" does not match input string "-9213923812" +2 schema violations found + /deviceId: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "FCUs_02_NW_12" + /deviceNumId: ECMA 262 regex "^[0-9]+$" does not match input string "-9213923812" diff --git a/tests/schemas/events_discovery/empty.out b/tests/schemas/events_discovery/empty.out index 88fabcd688..17f84d9366 100644 --- a/tests/schemas/events_discovery/empty.out +++ b/tests/schemas/events_discovery/empty.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object has missing required properties (["scan_family","timestamp","version"]) +1 schema violations found + object has missing required properties (["scan_family","timestamp","version"]) diff --git a/tests/schemas/events_discovery/errors.out b/tests/schemas/events_discovery/errors.out index 4640defbd2..89e23f0747 100644 --- a/tests/schemas/events_discovery/errors.out +++ b/tests/schemas/events_discovery/errors.out @@ -1,7 +1,6 @@ -While converting to json node: 5 schema violations found - 5 schema violations found - /families/bacnet: object has missing required properties (["addr"]) - /families/bacnet: object instance has properties which are not allowed by the schema: ["id"] - /families/mac: object instance has properties which are not allowed by the schema: ["group"] - object has missing required properties (["scan_family"]) - object instance has properties which are not allowed by the schema: ["addr","id","points","uniqs"] +5 schema violations found + /families/bacnet: object has missing required properties (["addr"]) + /families/bacnet: object instance has properties which are not allowed by the schema: ["id"] + /families/mac: object instance has properties which are not allowed by the schema: ["group"] + object has missing required properties (["scan_family"]) + object instance has properties which are not allowed by the schema: ["addr","id","points","uniqs"] diff --git a/tests/schemas/events_discovery/node.out b/tests/schemas/events_discovery/node.out index 0d807b6d31..98fe9b373a 100644 --- a/tests/schemas/events_discovery/node.out +++ b/tests/schemas/events_discovery/node.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - /system: object instance has properties which are not allowed by the schema: ["software"] +1 schema violations found + /system: object instance has properties which are not allowed by the schema: ["software"] diff --git a/tests/schemas/events_mapping/prediction.out b/tests/schemas/events_mapping/prediction.out index 3a7aee5005..11a2bfe8cf 100644 --- a/tests/schemas/events_mapping/prediction.out +++ b/tests/schemas/events_mapping/prediction.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object instance has properties which are not allowed by the schema: ["prediction"] +1 schema violations found + object instance has properties which are not allowed by the schema: ["prediction"] diff --git a/tests/schemas/events_pointset/empty.out b/tests/schemas/events_pointset/empty.out index 100298650d..bdb09a111e 100644 --- a/tests/schemas/events_pointset/empty.out +++ b/tests/schemas/events_pointset/empty.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object has missing required properties (["points","timestamp","version"]) +1 schema violations found + object has missing required properties (["points","timestamp","version"]) diff --git a/tests/schemas/events_pointset/errors.out b/tests/schemas/events_pointset/errors.out index b366f2ead1..1e6047f3d7 100644 --- a/tests/schemas/events_pointset/errors.out +++ b/tests/schemas/events_pointset/errors.out @@ -1,10 +1,9 @@ -While converting to json node: 8 schema violations found - 8 schema violations found - /points/guid: instance type (string) does not match any allowed primitive type (allowed: ["object"]) - /points/missing_present_value: object has missing required properties (["present_value"]) - /points/old_properties: object has missing required properties (["present_value"]) - /points/old_properties: object instance has properties which are not allowed by the schema: ["properties"] - /points/yoyo_motion_sensor: object has missing required properties (["present_value"]) - /points/yoyo_motion_sensor: object instance has properties which are not allowed by the schema: ["bad_property_name"] - /points: object instance has properties which are not allowed by the schema: ["analogValue_1","bad_____sensor","bad_entity_name_","comment$string"] - object instance has properties which are not allowed by the schema: ["comment$string","id","properties","state_etag"] +8 schema violations found + /points/guid: instance type (string) does not match any allowed primitive type (allowed: ["object"]) + /points/missing_present_value: object has missing required properties (["present_value"]) + /points/old_properties: object has missing required properties (["present_value"]) + /points/old_properties: object instance has properties which are not allowed by the schema: ["properties"] + /points/yoyo_motion_sensor: object has missing required properties (["present_value"]) + /points/yoyo_motion_sensor: object instance has properties which are not allowed by the schema: ["bad_property_name"] + /points: object instance has properties which are not allowed by the schema: ["analogValue_1","bad_____sensor","bad_entity_name_","comment$string"] + object instance has properties which are not allowed by the schema: ["comment$string","id","properties","state_etag"] diff --git a/tests/schemas/events_system/categories.out b/tests/schemas/events_system/categories.out index a9b587920f..182878a8e6 100644 --- a/tests/schemas/events_system/categories.out +++ b/tests/schemas/events_system/categories.out @@ -1,8 +1,7 @@ -While converting to json node: 6 schema violations found - 6 schema violations found - /logentries/3/category: instance failed to match exactly one schema (matched 0 out of 37) - /logentries/4/category: instance failed to match exactly one schema (matched 0 out of 37) - /logentries/5/category: instance failed to match exactly one schema (matched 0 out of 37) - /logentries/6/category: instance failed to match exactly one schema (matched 0 out of 37) - /logentries/7/category: instance failed to match exactly one schema (matched 0 out of 37) - /logentries/9/category: instance failed to match exactly one schema (matched 0 out of 37) +6 schema violations found + /logentries/3/category: instance failed to match exactly one schema (matched 0 out of 37) + /logentries/4/category: instance failed to match exactly one schema (matched 0 out of 37) + /logentries/5/category: instance failed to match exactly one schema (matched 0 out of 37) + /logentries/6/category: instance failed to match exactly one schema (matched 0 out of 37) + /logentries/7/category: instance failed to match exactly one schema (matched 0 out of 37) + /logentries/9/category: instance failed to match exactly one schema (matched 0 out of 37) diff --git a/tests/schemas/events_system/empty.out b/tests/schemas/events_system/empty.out index a43a45d0df..6b478b7302 100644 --- a/tests/schemas/events_system/empty.out +++ b/tests/schemas/events_system/empty.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object has missing required properties (["timestamp","version"]) +1 schema violations found + object has missing required properties (["timestamp","version"]) diff --git a/tests/schemas/events_system/errors.out b/tests/schemas/events_system/errors.out index 5f02a906bd..96ea55c516 100644 --- a/tests/schemas/events_system/errors.out +++ b/tests/schemas/events_system/errors.out @@ -1,6 +1,5 @@ -While converting to json node: 4 schema violations found - 4 schema violations found - /logentries/0/category: instance failed to match exactly one schema (matched 0 out of 37) - /logentries/0/level: numeric instance is lower than the required minimum (minimum: 100, found: 60) - /logentries/0: object has missing required properties (["message","timestamp"]) - /logentries/1: instance type (string) does not match any allowed primitive type (allowed: ["object"]) +4 schema violations found + /logentries/0/category: instance failed to match exactly one schema (matched 0 out of 37) + /logentries/0/level: numeric instance is lower than the required minimum (minimum: 100, found: 60) + /logentries/0: object has missing required properties (["message","timestamp"]) + /logentries/1: instance type (string) does not match any allowed primitive type (allowed: ["object"]) diff --git a/tests/schemas/metadata/bad.out b/tests/schemas/metadata/bad.out index 95d58b548b..71a1590d72 100644 --- a/tests/schemas/metadata/bad.out +++ b/tests/schemas/metadata/bad.out @@ -1,4 +1,3 @@ -While converting to json node: 2 schema violations found - 2 schema violations found - /gateway/proxy_ids/0: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "AHU-001" - /gateway/proxy_ids/1: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "A-1" +2 schema violations found + /gateway/proxy_ids/0: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "AHU-001" + /gateway/proxy_ids/1: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "A-1" diff --git a/tests/schemas/metadata/empty.out b/tests/schemas/metadata/empty.out index 17c7a41ff0..be18dff0c5 100644 --- a/tests/schemas/metadata/empty.out +++ b/tests/schemas/metadata/empty.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object has missing required properties (["system","timestamp","version"]) +1 schema violations found + object has missing required properties (["system","timestamp","version"]) diff --git a/tests/schemas/metadata/errors.out b/tests/schemas/metadata/errors.out index 533c7eef9c..5e04d07a5f 100644 --- a/tests/schemas/metadata/errors.out +++ b/tests/schemas/metadata/errors.out @@ -1,9 +1,8 @@ -While converting to json node: 7 schema violations found - 7 schema violations found - /pointset/points/return_air_temperature_sensor: object instance has properties which are not allowed by the schema: ["monkeys"] - /pointset: object instance has properties which are not allowed by the schema: ["rabbits"] - /system/location/site: ECMA 262 regex "^[A-Z]{2}-[A-Z]{3,4}-[A-Z0-9]{2,9}$" does not match input string "New Zealand" - /system/physical_tag/asset/name: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "AHU-A01_extension11-option" - /system/physical_tag/asset/site: ECMA 262 regex "^[A-Z]{2}-[A-Z]{3,4}-[A-Z0-9]{2,9}$" does not match input string "US-SFO-XYY_Noope!" - /system/physical_tag/asset: object has missing required properties (["guid"]) - /system: object instance has properties which are not allowed by the schema: ["guid"] +7 schema violations found + /pointset/points/return_air_temperature_sensor: object instance has properties which are not allowed by the schema: ["monkeys"] + /pointset: object instance has properties which are not allowed by the schema: ["rabbits"] + /system/location/site: ECMA 262 regex "^[A-Z]{2}-[A-Z]{3,4}-[A-Z0-9]{2,9}$" does not match input string "New Zealand" + /system/physical_tag/asset/name: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "AHU-A01_extension11-option" + /system/physical_tag/asset/site: ECMA 262 regex "^[A-Z]{2}-[A-Z]{3,4}-[A-Z0-9]{2,9}$" does not match input string "US-SFO-XYY_Noope!" + /system/physical_tag/asset: object has missing required properties (["guid"]) + /system: object instance has properties which are not allowed by the schema: ["guid"] diff --git a/tests/schemas/metadata/nosys.out b/tests/schemas/metadata/nosys.out index 0bbe4689b6..e7346293c0 100644 --- a/tests/schemas/metadata/nosys.out +++ b/tests/schemas/metadata/nosys.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object has missing required properties (["system"]) +1 schema violations found + object has missing required properties (["system"]) diff --git a/tests/schemas/metadata/toomany.out b/tests/schemas/metadata/toomany.out index b017e34774..ccd0449403 100644 --- a/tests/schemas/metadata/toomany.out +++ b/tests/schemas/metadata/toomany.out @@ -1,4 +1,3 @@ -While converting to json node: 2 schema violations found - 2 schema violations found - /pointset/points: object has too many properties (found 672 but schema requires at most 150) - /system/physical_tag/asset/name: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "UK-LON-S2_LTGW-3" +2 schema violations found + /pointset/points: object has too many properties (found 672 but schema requires at most 150) + /system/physical_tag/asset/name: ECMA 262 regex "^[A-Z]{2,6}-[1-9][0-9]*$" does not match input string "UK-LON-S2_LTGW-3" diff --git a/tests/schemas/site_metadata/errors.out b/tests/schemas/site_metadata/errors.out index 4548c7565a..f65310a0a8 100644 --- a/tests/schemas/site_metadata/errors.out +++ b/tests/schemas/site_metadata/errors.out @@ -1,5 +1,4 @@ -While converting to json node: 3 schema violations found - 3 schema violations found - /parameters/area/net_occupied_area/unit: instance failed to match exactly one schema (matched 0 out of 7) - /parameters/area: object instance has properties which are not allowed by the schema: ["extra"] - object has missing required properties (["timestamp"]) +3 schema violations found + /parameters/area/net_occupied_area/unit: instance failed to match exactly one schema (matched 0 out of 7) + /parameters/area: object instance has properties which are not allowed by the schema: ["extra"] + object has missing required properties (["timestamp"]) diff --git a/tests/schemas/state/delta_x1_gateway.out b/tests/schemas/state/delta_x1_gateway.out index f015b3eeca..3f6e25a6f4 100644 --- a/tests/schemas/state/delta_x1_gateway.out +++ b/tests/schemas/state/delta_x1_gateway.out @@ -1,6 +1,5 @@ -While converting to json node: 4 schema violations found - 4 schema violations found - /gateway: object instance has properties which are not allowed by the schema: ["error_ids"] - /system/hardware: object has missing required properties (["make","model"]) - /system/hardware: object instance has properties which are not allowed by the schema: ["cpu_usage","free_dynamic_memory","last_reset_timestamp","last_restart_reason","reset_count","revision","total_dynamic_memory"] - object instance has properties which are not allowed by the schema: ["last_config"] +4 schema violations found + /gateway: object instance has properties which are not allowed by the schema: ["error_ids"] + /system/hardware: object has missing required properties (["make","model"]) + /system/hardware: object instance has properties which are not allowed by the schema: ["cpu_usage","free_dynamic_memory","last_reset_timestamp","last_restart_reason","reset_count","revision","total_dynamic_memory"] + object instance has properties which are not allowed by the schema: ["last_config"] diff --git a/tests/schemas/state/delta_x1_target.out b/tests/schemas/state/delta_x1_target.out index d4aac02d41..859981bfa1 100644 --- a/tests/schemas/state/delta_x1_target.out +++ b/tests/schemas/state/delta_x1_target.out @@ -1,4 +1,3 @@ -While converting to json node: 2 schema violations found - 2 schema violations found - /system: object has missing required properties (["serial_no"]) - /system: object instance has properties which are not allowed by the schema: ["vendor_name"] +2 schema violations found + /system: object has missing required properties (["serial_no"]) + /system: object instance has properties which are not allowed by the schema: ["vendor_name"] diff --git a/tests/schemas/state/empty.out b/tests/schemas/state/empty.out index 17c7a41ff0..be18dff0c5 100644 --- a/tests/schemas/state/empty.out +++ b/tests/schemas/state/empty.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - object has missing required properties (["system","timestamp","version"]) +1 schema violations found + object has missing required properties (["system","timestamp","version"]) diff --git a/tests/schemas/state/errors.out b/tests/schemas/state/errors.out index 47d4c6efc1..28692d9343 100644 --- a/tests/schemas/state/errors.out +++ b/tests/schemas/state/errors.out @@ -1,8 +1,7 @@ -While converting to json node: 6 schema violations found - 6 schema violations found - /pointset/points/return_air_temperature_sensor/status: instance type (string) does not match any allowed primitive type (allowed: ["object"]) - /pointset/points/return_air_temperature_sensor: object instance has properties which are not allowed by the schema: ["cov_increment","deadband","high_limit","instance_number","low_limit","object_type","rapt","resolution"] - /system/status: instance type (string) does not match any allowed primitive type (allowed: ["object"]) - /system: object has missing required properties (["hardware","last_config","operation","serial_no","software"]) - /system: object instance has properties which are not allowed by the schema: ["device_id","device_status","fling","object_name","system_status"] - object instance has properties which are not allowed by the schema: ["id","status"] +6 schema violations found + /pointset/points/return_air_temperature_sensor/status: instance type (string) does not match any allowed primitive type (allowed: ["object"]) + /pointset/points/return_air_temperature_sensor: object instance has properties which are not allowed by the schema: ["cov_increment","deadband","high_limit","instance_number","low_limit","object_type","rapt","resolution"] + /system/status: instance type (string) does not match any allowed primitive type (allowed: ["object"]) + /system: object has missing required properties (["hardware","last_config","operation","serial_no","software"]) + /system: object instance has properties which are not allowed by the schema: ["device_id","device_status","fling","object_name","system_status"] + object instance has properties which are not allowed by the schema: ["id","status"] diff --git a/tests/schemas/state/makemodel_error.out b/tests/schemas/state/makemodel_error.out index 995c903a60..779dc6ded7 100644 --- a/tests/schemas/state/makemodel_error.out +++ b/tests/schemas/state/makemodel_error.out @@ -1,4 +1,3 @@ -While converting to json node: 2 schema violations found - 2 schema violations found - /system: object has missing required properties (["hardware","software"]) - /system: object instance has properties which are not allowed by the schema: ["firmware","make_model"] +2 schema violations found + /system: object has missing required properties (["hardware","software"]) + /system: object instance has properties which are not allowed by the schema: ["firmware","make_model"] diff --git a/tests/schemas/state/scan_bad.out b/tests/schemas/state/scan_bad.out index 93894bd67a..4e3842bea6 100644 --- a/tests/schemas/state/scan_bad.out +++ b/tests/schemas/state/scan_bad.out @@ -1,3 +1,2 @@ -While converting to json node: 1 schema violations found - 1 schema violations found - /discovery/families: object instance has properties which are not allowed by the schema: ["BACnet"] +1 schema violations found + /discovery/families: object instance has properties which are not allowed by the schema: ["BACnet"]