@seamapi/types 1.91.1 → 1.91.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -758,389 +758,22 @@ export default {
758
758
  },
759
759
  {
760
760
  properties: {
761
- august_metadata: {
761
+ assa_abloy_credential_service_metadata: {
762
762
  properties: {
763
- has_keypad: { type: 'boolean' },
764
- house_id: { type: 'string' },
765
- house_name: { type: 'string' },
766
- keypad_battery_level: { type: 'string' },
767
- lock_id: { type: 'string' },
768
- lock_name: { type: 'string' },
769
- model: { type: 'string' },
770
- },
771
- required: [
772
- 'lock_id',
773
- 'lock_name',
774
- 'house_name',
775
- 'has_keypad',
776
- ],
777
- type: 'object',
778
- },
779
- avigilon_alta_metadata: {
780
- properties: {
781
- entry_name: { type: 'string' },
782
- org_name: { type: 'string' },
783
- site_id: { type: 'number' },
784
- site_name: { type: 'string' },
785
- zone_id: { type: 'number' },
786
- zone_name: { type: 'string' },
787
- },
788
- required: [
789
- 'entry_name',
790
- 'org_name',
791
- 'zone_id',
792
- 'zone_name',
793
- 'site_id',
794
- 'site_name',
795
- ],
796
- type: 'object',
797
- },
798
- brivo_metadata: {
799
- properties: { device_name: { type: 'string' } },
800
- required: ['device_name'],
801
- type: 'object',
802
- },
803
- controlbyweb_metadata: {
804
- properties: {
805
- device_id: { type: 'string' },
806
- device_name: { type: 'string' },
807
- relay_name: { nullable: true, type: 'string' },
808
- },
809
- required: [
810
- 'device_id',
811
- 'device_name',
812
- 'relay_name',
813
- ],
814
- type: 'object',
815
- },
816
- dormakaba_oracode_metadata: {
817
- properties: {
818
- device_id: { type: 'number' },
819
- door_id: { type: 'number' },
820
- door_name: { type: 'string' },
821
- iana_timezone: { type: 'string' },
822
- predefined_time_slots: {
763
+ endpoints: {
823
764
  items: {
824
765
  properties: {
825
- check_in_time: { type: 'string' },
826
- check_out_time: { type: 'string' },
827
- dormakaba_oracode_user_level_id: {
828
- format: 'uuid',
829
- type: 'string',
830
- },
831
- ext_dormakaba_oracode_user_level_prefix: {
832
- type: 'number',
833
- },
834
- is_24_hour: { type: 'boolean' },
835
- is_biweekly_mode: { type: 'boolean' },
836
- is_master: { type: 'boolean' },
837
- is_one_shot: { type: 'boolean' },
838
- name: { type: 'string' },
839
- prefix: { type: 'number' },
766
+ endpoint_id: { type: 'string' },
767
+ is_active: { type: 'boolean' },
840
768
  },
841
- required: [
842
- 'name',
843
- 'prefix',
844
- 'check_in_time',
845
- 'check_out_time',
846
- 'is_24_hour',
847
- 'is_biweekly_mode',
848
- 'is_one_shot',
849
- 'is_master',
850
- 'ext_dormakaba_oracode_user_level_prefix',
851
- 'dormakaba_oracode_user_level_id',
852
- ],
769
+ required: ['endpoint_id', 'is_active'],
853
770
  type: 'object',
854
771
  },
855
772
  type: 'array',
856
773
  },
857
- site_id: { type: 'number' },
858
- site_name: { type: 'string' },
859
- },
860
- required: [
861
- 'door_id',
862
- 'door_name',
863
- 'site_id',
864
- 'site_name',
865
- ],
866
- type: 'object',
867
- },
868
- ecobee_metadata: {
869
- properties: {
870
- device_name: { type: 'string' },
871
- ecobee_device_id: { type: 'string' },
872
- },
873
- required: ['ecobee_device_id', 'device_name'],
874
- type: 'object',
875
- },
876
- four_suites_metadata: {
877
- properties: {
878
- device_id: { type: 'number' },
879
- device_name: { type: 'string' },
880
- reclose_delay_in_seconds: { type: 'number' },
881
- },
882
- required: [
883
- 'device_id',
884
- 'device_name',
885
- 'reclose_delay_in_seconds',
886
- ],
887
- type: 'object',
888
- },
889
- genie_metadata: {
890
- properties: {
891
- device_name: { type: 'string' },
892
- door_name: { type: 'string' },
893
- },
894
- required: ['device_name', 'door_name'],
895
- type: 'object',
896
- },
897
- hubitat_metadata: {
898
- properties: {
899
- device_id: { type: 'string' },
900
- device_label: { type: 'string' },
901
- device_name: { type: 'string' },
902
- },
903
- required: [
904
- 'device_id',
905
- 'device_name',
906
- 'device_label',
907
- ],
908
- type: 'object',
909
- },
910
- igloo_metadata: {
911
- properties: {
912
- bridge_id: { type: 'string' },
913
- device_id: { type: 'string' },
914
- model: { type: 'string' },
915
- },
916
- required: ['device_id', 'bridge_id'],
917
- type: 'object',
918
- },
919
- igloohome_metadata: {
920
- properties: {
921
- bridge_id: { type: 'string' },
922
- bridge_name: { type: 'string' },
923
- device_id: { type: 'string' },
924
- device_name: { type: 'string' },
925
- },
926
- required: ['device_id', 'device_name'],
927
- type: 'object',
928
- },
929
- kwikset_metadata: {
930
- properties: {
931
- device_id: { type: 'string' },
932
- device_name: { type: 'string' },
933
- model_number: { type: 'string' },
934
- },
935
- required: [
936
- 'device_id',
937
- 'device_name',
938
- 'model_number',
939
- ],
940
- type: 'object',
941
- },
942
- lockly_metadata: {
943
- properties: {
944
- device_id: { type: 'string' },
945
- device_name: { type: 'string' },
946
- model: { type: 'string' },
947
- },
948
- required: ['device_id', 'device_name'],
949
- type: 'object',
950
- },
951
- minut_metadata: {
952
- properties: {
953
- device_id: { type: 'string' },
954
- device_name: { type: 'string' },
955
- latest_sensor_values: {
956
- properties: {
957
- accelerometer_z: {
958
- properties: {
959
- time: { type: 'string' },
960
- value: { type: 'number' },
961
- },
962
- required: ['time', 'value'],
963
- type: 'object',
964
- },
965
- humidity: {
966
- properties: {
967
- time: { type: 'string' },
968
- value: { type: 'number' },
969
- },
970
- required: ['time', 'value'],
971
- type: 'object',
972
- },
973
- pressure: {
974
- properties: {
975
- time: { type: 'string' },
976
- value: { type: 'number' },
977
- },
978
- required: ['time', 'value'],
979
- type: 'object',
980
- },
981
- sound: {
982
- properties: {
983
- time: { type: 'string' },
984
- value: { type: 'number' },
985
- },
986
- required: ['time', 'value'],
987
- type: 'object',
988
- },
989
- temperature: {
990
- properties: {
991
- time: { type: 'string' },
992
- value: { type: 'number' },
993
- },
994
- required: ['time', 'value'],
995
- type: 'object',
996
- },
997
- },
998
- required: [
999
- 'temperature',
1000
- 'sound',
1001
- 'humidity',
1002
- 'pressure',
1003
- 'accelerometer_z',
1004
- ],
1005
- type: 'object',
1006
- },
1007
- },
1008
- required: [
1009
- 'device_id',
1010
- 'device_name',
1011
- 'latest_sensor_values',
1012
- ],
1013
- type: 'object',
1014
- },
1015
- nest_metadata: {
1016
- properties: {
1017
- custom_name: { type: 'string' },
1018
- device_name: { type: 'string' },
1019
- nest_device_id: { type: 'string' },
1020
- },
1021
- required: [
1022
- 'nest_device_id',
1023
- 'device_name',
1024
- 'custom_name',
1025
- ],
1026
- type: 'object',
1027
- },
1028
- noiseaware_metadata: {
1029
- properties: {
1030
- device_id: { type: 'string' },
1031
- device_model: {
1032
- enum: ['indoor', 'outdoor'],
1033
- type: 'string',
1034
- },
1035
- device_name: { type: 'string' },
1036
- noise_level_decibel: { type: 'number' },
1037
- noise_level_nrs: { type: 'number' },
1038
- },
1039
- required: [
1040
- 'device_model',
1041
- 'noise_level_nrs',
1042
- 'noise_level_decibel',
1043
- 'device_name',
1044
- 'device_id',
1045
- ],
1046
- type: 'object',
1047
- },
1048
- nuki_metadata: {
1049
- properties: {
1050
- device_id: { type: 'string' },
1051
- device_name: { type: 'string' },
1052
- keypad_battery_critical: { type: 'boolean' },
1053
- },
1054
- required: ['device_id', 'device_name'],
1055
- type: 'object',
1056
- },
1057
- salto_metadata: {
1058
- properties: {
1059
- battery_level: { type: 'string' },
1060
- customer_reference: { type: 'string' },
1061
- lock_id: { type: 'string' },
1062
- lock_type: { type: 'string' },
1063
- locked_state: { type: 'string' },
1064
- model: { type: 'string' },
1065
- },
1066
- required: [
1067
- 'lock_id',
1068
- 'customer_reference',
1069
- 'lock_type',
1070
- 'battery_level',
1071
- 'locked_state',
1072
- ],
1073
- type: 'object',
1074
- },
1075
- schlage_metadata: {
1076
- properties: {
1077
- access_code_length: { type: 'number' },
1078
- device_id: { type: 'string' },
1079
- device_name: { type: 'string' },
1080
- model: { type: 'string' },
1081
- },
1082
- required: [
1083
- 'device_id',
1084
- 'device_name',
1085
- 'access_code_length',
1086
- ],
1087
- type: 'object',
1088
- },
1089
- seam_bridge_metadata: {
1090
- properties: {
1091
- device_num: { type: 'number' },
1092
- name: { type: 'string' },
1093
- unlock_method: {
1094
- enum: ['bridge', 'doorking'],
1095
- type: 'string',
1096
- },
1097
- },
1098
- required: ['device_num', 'name'],
1099
- type: 'object',
1100
- },
1101
- smartthings_metadata: {
1102
- properties: {
1103
- device_id: { type: 'string' },
1104
- device_name: { type: 'string' },
1105
- location_id: { type: 'string' },
1106
- model: { type: 'string' },
1107
- },
1108
- required: ['device_id', 'device_name'],
1109
- type: 'object',
1110
- },
1111
- ttlock_metadata: {
1112
- properties: {
1113
- lock_alias: { type: 'string' },
1114
- lock_id: { type: 'number' },
1115
- },
1116
- required: ['lock_id', 'lock_alias'],
1117
- type: 'object',
1118
- },
1119
- two_n_metadata: {
1120
- properties: {
1121
- device_id: { type: 'number' },
1122
- device_name: { type: 'string' },
1123
- },
1124
- required: ['device_id', 'device_name'],
1125
- type: 'object',
1126
- },
1127
- wyze_metadata: {
1128
- properties: {
1129
- device_id: { type: 'string' },
1130
- device_info_model: { type: 'string' },
1131
- device_name: { type: 'string' },
1132
- product_model: { type: 'string' },
1133
- product_name: { type: 'string' },
1134
- product_type: { type: 'string' },
774
+ has_active_endpoint: { type: 'boolean' },
1135
775
  },
1136
- required: [
1137
- 'device_id',
1138
- 'device_name',
1139
- 'product_name',
1140
- 'product_type',
1141
- 'product_model',
1142
- 'device_info_model',
1143
- ],
776
+ required: ['has_active_endpoint', 'endpoints'],
1144
777
  type: 'object',
1145
778
  },
1146
779
  },
@@ -1149,597 +782,864 @@ export default {
1149
782
  ],
1150
783
  },
1151
784
  {
1152
- allOf: [
1153
- {
785
+ properties: {
786
+ august_metadata: {
787
+ properties: {
788
+ has_keypad: { type: 'boolean' },
789
+ house_id: { type: 'string' },
790
+ house_name: { type: 'string' },
791
+ keypad_battery_level: { type: 'string' },
792
+ lock_id: { type: 'string' },
793
+ lock_name: { type: 'string' },
794
+ model: { type: 'string' },
795
+ },
796
+ required: [
797
+ 'lock_id',
798
+ 'lock_name',
799
+ 'house_name',
800
+ 'has_keypad',
801
+ ],
802
+ type: 'object',
803
+ },
804
+ avigilon_alta_metadata: {
1154
805
  properties: {
1155
- _experimental_supported_code_from_access_codes_lengths:
1156
- { items: { type: 'number' }, type: 'array' },
1157
- code_constraints: {
806
+ entry_name: { type: 'string' },
807
+ org_name: { type: 'string' },
808
+ site_id: { type: 'number' },
809
+ site_name: { type: 'string' },
810
+ zone_id: { type: 'number' },
811
+ zone_name: { type: 'string' },
812
+ },
813
+ required: [
814
+ 'entry_name',
815
+ 'org_name',
816
+ 'zone_id',
817
+ 'zone_name',
818
+ 'site_id',
819
+ 'site_name',
820
+ ],
821
+ type: 'object',
822
+ },
823
+ brivo_metadata: {
824
+ properties: { device_name: { type: 'string' } },
825
+ required: ['device_name'],
826
+ type: 'object',
827
+ },
828
+ controlbyweb_metadata: {
829
+ properties: {
830
+ device_id: { type: 'string' },
831
+ device_name: { type: 'string' },
832
+ relay_name: { nullable: true, type: 'string' },
833
+ },
834
+ required: ['device_id', 'device_name', 'relay_name'],
835
+ type: 'object',
836
+ },
837
+ dormakaba_oracode_metadata: {
838
+ properties: {
839
+ device_id: { type: 'number' },
840
+ door_id: { type: 'number' },
841
+ door_name: { type: 'string' },
842
+ iana_timezone: { type: 'string' },
843
+ predefined_time_slots: {
1158
844
  items: {
1159
- oneOf: [
1160
- {
1161
- properties: {
1162
- constraint_type: {
1163
- enum: [
1164
- 'no_zeros',
1165
- 'cannot_start_with_12',
1166
- 'no_triple_consecutive_ints',
1167
- 'cannot_specify_pin_code',
1168
- 'pin_code_matches_existing_set',
1169
- 'start_date_in_future',
1170
- ],
1171
- type: 'string',
1172
- },
1173
- },
1174
- required: ['constraint_type'],
1175
- type: 'object',
845
+ properties: {
846
+ check_in_time: { type: 'string' },
847
+ check_out_time: { type: 'string' },
848
+ dormakaba_oracode_user_level_id: {
849
+ format: 'uuid',
850
+ type: 'string',
1176
851
  },
1177
- {
1178
- properties: {
1179
- constraint_type: {
1180
- enum: ['name_length'],
1181
- type: 'string',
1182
- },
1183
- max_length: { type: 'number' },
1184
- min_length: { type: 'number' },
1185
- },
1186
- required: ['constraint_type'],
1187
- type: 'object',
852
+ ext_dormakaba_oracode_user_level_prefix: {
853
+ type: 'number',
1188
854
  },
855
+ is_24_hour: { type: 'boolean' },
856
+ is_biweekly_mode: { type: 'boolean' },
857
+ is_master: { type: 'boolean' },
858
+ is_one_shot: { type: 'boolean' },
859
+ name: { type: 'string' },
860
+ prefix: { type: 'number' },
861
+ },
862
+ required: [
863
+ 'name',
864
+ 'prefix',
865
+ 'check_in_time',
866
+ 'check_out_time',
867
+ 'is_24_hour',
868
+ 'is_biweekly_mode',
869
+ 'is_one_shot',
870
+ 'is_master',
871
+ 'ext_dormakaba_oracode_user_level_prefix',
872
+ 'dormakaba_oracode_user_level_id',
1189
873
  ],
874
+ type: 'object',
1190
875
  },
1191
876
  type: 'array',
1192
877
  },
1193
- door_open: { type: 'boolean' },
1194
- has_native_entry_events: { type: 'boolean' },
1195
- keypad_battery: {
1196
- properties: { level: { type: 'number' } },
1197
- required: ['level'],
1198
- type: 'object',
1199
- },
1200
- locked: { type: 'boolean' },
1201
- max_active_codes_supported: { type: 'number' },
1202
- supported_code_lengths: {
1203
- items: { type: 'number' },
1204
- type: 'array',
1205
- },
1206
- supports_backup_access_code_pool: { type: 'boolean' },
878
+ site_id: { type: 'number' },
879
+ site_name: { type: 'string' },
1207
880
  },
881
+ required: [
882
+ 'door_id',
883
+ 'door_name',
884
+ 'site_id',
885
+ 'site_name',
886
+ ],
1208
887
  type: 'object',
1209
888
  },
1210
- {
1211
- oneOf: [
1212
- {
889
+ ecobee_metadata: {
890
+ properties: {
891
+ device_name: { type: 'string' },
892
+ ecobee_device_id: { type: 'string' },
893
+ },
894
+ required: ['ecobee_device_id', 'device_name'],
895
+ type: 'object',
896
+ },
897
+ four_suites_metadata: {
898
+ properties: {
899
+ device_id: { type: 'number' },
900
+ device_name: { type: 'string' },
901
+ reclose_delay_in_seconds: { type: 'number' },
902
+ },
903
+ required: [
904
+ 'device_id',
905
+ 'device_name',
906
+ 'reclose_delay_in_seconds',
907
+ ],
908
+ type: 'object',
909
+ },
910
+ genie_metadata: {
911
+ properties: {
912
+ device_name: { type: 'string' },
913
+ door_name: { type: 'string' },
914
+ },
915
+ required: ['device_name', 'door_name'],
916
+ type: 'object',
917
+ },
918
+ hubitat_metadata: {
919
+ properties: {
920
+ device_id: { type: 'string' },
921
+ device_label: { type: 'string' },
922
+ device_name: { type: 'string' },
923
+ },
924
+ required: ['device_id', 'device_name', 'device_label'],
925
+ type: 'object',
926
+ },
927
+ igloo_metadata: {
928
+ properties: {
929
+ bridge_id: { type: 'string' },
930
+ device_id: { type: 'string' },
931
+ model: { type: 'string' },
932
+ },
933
+ required: ['device_id', 'bridge_id'],
934
+ type: 'object',
935
+ },
936
+ igloohome_metadata: {
937
+ properties: {
938
+ bridge_id: { type: 'string' },
939
+ bridge_name: { type: 'string' },
940
+ device_id: { type: 'string' },
941
+ device_name: { type: 'string' },
942
+ },
943
+ required: ['device_id', 'device_name'],
944
+ type: 'object',
945
+ },
946
+ kwikset_metadata: {
947
+ properties: {
948
+ device_id: { type: 'string' },
949
+ device_name: { type: 'string' },
950
+ model_number: { type: 'string' },
951
+ },
952
+ required: ['device_id', 'device_name', 'model_number'],
953
+ type: 'object',
954
+ },
955
+ lockly_metadata: {
956
+ properties: {
957
+ device_id: { type: 'string' },
958
+ device_name: { type: 'string' },
959
+ model: { type: 'string' },
960
+ },
961
+ required: ['device_id', 'device_name'],
962
+ type: 'object',
963
+ },
964
+ minut_metadata: {
965
+ properties: {
966
+ device_id: { type: 'string' },
967
+ device_name: { type: 'string' },
968
+ latest_sensor_values: {
1213
969
  properties: {
1214
- active_climate_setting_schedule: {
970
+ accelerometer_z: {
1215
971
  properties: {
1216
- automatic_cooling_enabled: {
1217
- type: 'boolean',
1218
- },
1219
- automatic_heating_enabled: {
1220
- type: 'boolean',
1221
- },
1222
- climate_setting_schedule_id: {
1223
- format: 'uuid',
1224
- type: 'string',
1225
- },
1226
- cooling_set_point_celsius: { type: 'number' },
1227
- cooling_set_point_fahrenheit: {
1228
- type: 'number',
1229
- },
1230
- created_at: {
1231
- format: 'date-time',
1232
- type: 'string',
1233
- },
1234
- device_id: { type: 'string' },
1235
- errors: {
1236
- description:
1237
- 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1238
- nullable: true,
1239
- },
1240
- heating_set_point_celsius: { type: 'number' },
1241
- heating_set_point_fahrenheit: {
1242
- type: 'number',
1243
- },
1244
- hvac_mode_setting: {
1245
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1246
- type: 'string',
1247
- },
1248
- manual_override_allowed: { type: 'boolean' },
1249
- name: { type: 'string' },
1250
- schedule_ends_at: { type: 'string' },
1251
- schedule_starts_at: { type: 'string' },
1252
- schedule_type: {
1253
- enum: ['time_bound'],
1254
- type: 'string',
1255
- },
972
+ time: { type: 'string' },
973
+ value: { type: 'number' },
1256
974
  },
1257
- required: [
1258
- 'climate_setting_schedule_id',
1259
- 'schedule_type',
1260
- 'device_id',
1261
- 'schedule_starts_at',
1262
- 'schedule_ends_at',
1263
- 'created_at',
1264
- ],
975
+ required: ['time', 'value'],
1265
976
  type: 'object',
1266
977
  },
1267
- available_hvac_mode_settings: {
1268
- items: {
1269
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1270
- type: 'string',
978
+ humidity: {
979
+ properties: {
980
+ time: { type: 'string' },
981
+ value: { type: 'number' },
1271
982
  },
1272
- type: 'array',
983
+ required: ['time', 'value'],
984
+ type: 'object',
1273
985
  },
1274
- can_enable_automatic_cooling: { type: 'boolean' },
1275
- can_enable_automatic_heating: { type: 'boolean' },
1276
- current_climate_setting: {
986
+ pressure: {
1277
987
  properties: {
1278
- automatic_cooling_enabled: {
1279
- type: 'boolean',
1280
- },
1281
- automatic_heating_enabled: {
1282
- type: 'boolean',
1283
- },
1284
- cooling_set_point_celsius: { type: 'number' },
1285
- cooling_set_point_fahrenheit: {
1286
- type: 'number',
1287
- },
1288
- heating_set_point_celsius: { type: 'number' },
1289
- heating_set_point_fahrenheit: {
1290
- type: 'number',
1291
- },
1292
- hvac_mode_setting: {
1293
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1294
- type: 'string',
1295
- },
1296
- manual_override_allowed: { type: 'boolean' },
988
+ time: { type: 'string' },
989
+ value: { type: 'number' },
1297
990
  },
1298
- required: [
1299
- 'automatic_heating_enabled',
1300
- 'automatic_cooling_enabled',
1301
- 'hvac_mode_setting',
1302
- 'manual_override_allowed',
1303
- ],
991
+ required: ['time', 'value'],
1304
992
  type: 'object',
1305
993
  },
1306
- default_climate_setting: {
994
+ sound: {
1307
995
  properties: {
1308
- automatic_cooling_enabled: {
1309
- type: 'boolean',
1310
- },
1311
- automatic_heating_enabled: {
1312
- type: 'boolean',
1313
- },
1314
- cooling_set_point_celsius: { type: 'number' },
1315
- cooling_set_point_fahrenheit: {
1316
- type: 'number',
1317
- },
1318
- heating_set_point_celsius: { type: 'number' },
1319
- heating_set_point_fahrenheit: {
1320
- type: 'number',
1321
- },
1322
- hvac_mode_setting: {
1323
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1324
- type: 'string',
1325
- },
1326
- manual_override_allowed: { type: 'boolean' },
996
+ time: { type: 'string' },
997
+ value: { type: 'number' },
1327
998
  },
1328
- required: [
1329
- 'automatic_heating_enabled',
1330
- 'automatic_cooling_enabled',
1331
- 'hvac_mode_setting',
1332
- 'manual_override_allowed',
1333
- ],
999
+ required: ['time', 'value'],
1334
1000
  type: 'object',
1335
1001
  },
1336
- fan_mode_setting: {
1337
- enum: ['auto', 'on'],
1338
- type: 'string',
1339
- },
1340
- is_climate_setting_schedule_active: {
1341
- type: 'boolean',
1342
- },
1343
- is_cooling: { type: 'boolean' },
1344
- is_cooling_available: {
1345
- enum: [true],
1346
- type: 'boolean',
1347
- },
1348
- is_fan_running: { type: 'boolean' },
1349
- is_heating: { type: 'boolean' },
1350
- is_heating_available: {
1351
- enum: [true],
1352
- type: 'boolean',
1002
+ temperature: {
1003
+ properties: {
1004
+ time: { type: 'string' },
1005
+ value: { type: 'number' },
1006
+ },
1007
+ required: ['time', 'value'],
1008
+ type: 'object',
1353
1009
  },
1354
- is_temporary_manual_override_active: {
1355
- type: 'boolean',
1356
- },
1357
- max_cooling_set_point_celsius: { type: 'number' },
1358
- max_cooling_set_point_fahrenheit: {
1359
- type: 'number',
1360
- },
1361
- max_heating_set_point_celsius: { type: 'number' },
1362
- max_heating_set_point_fahrenheit: {
1363
- type: 'number',
1364
- },
1365
- min_cooling_set_point_celsius: { type: 'number' },
1366
- min_cooling_set_point_fahrenheit: {
1367
- type: 'number',
1368
- },
1369
- min_heating_cooling_delta_celsius: {
1370
- type: 'number',
1371
- },
1372
- min_heating_cooling_delta_fahrenheit: {
1373
- type: 'number',
1374
- },
1375
- min_heating_set_point_celsius: { type: 'number' },
1376
- min_heating_set_point_fahrenheit: {
1377
- type: 'number',
1378
- },
1379
- relative_humidity: {
1380
- maximum: 1,
1381
- minimum: 0,
1382
- type: 'number',
1383
- },
1384
- temperature_celsius: { type: 'number' },
1385
- temperature_fahrenheit: { type: 'number' },
1386
1010
  },
1011
+ required: [
1012
+ 'temperature',
1013
+ 'sound',
1014
+ 'humidity',
1015
+ 'pressure',
1016
+ 'accelerometer_z',
1017
+ ],
1387
1018
  type: 'object',
1388
1019
  },
1389
- {
1390
- properties: {
1391
- active_climate_setting_schedule: {
1392
- properties: {
1393
- automatic_cooling_enabled: {
1394
- type: 'boolean',
1395
- },
1396
- automatic_heating_enabled: {
1397
- type: 'boolean',
1398
- },
1399
- climate_setting_schedule_id: {
1400
- format: 'uuid',
1401
- type: 'string',
1402
- },
1403
- cooling_set_point_celsius: { type: 'number' },
1404
- cooling_set_point_fahrenheit: {
1405
- type: 'number',
1406
- },
1407
- created_at: {
1408
- format: 'date-time',
1409
- type: 'string',
1410
- },
1411
- device_id: { type: 'string' },
1412
- errors: {
1413
- description:
1414
- 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1415
- nullable: true,
1416
- },
1417
- heating_set_point_celsius: { type: 'number' },
1418
- heating_set_point_fahrenheit: {
1419
- type: 'number',
1420
- },
1421
- hvac_mode_setting: {
1422
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1423
- type: 'string',
1424
- },
1425
- manual_override_allowed: { type: 'boolean' },
1426
- name: { type: 'string' },
1427
- schedule_ends_at: { type: 'string' },
1428
- schedule_starts_at: { type: 'string' },
1429
- schedule_type: {
1430
- enum: ['time_bound'],
1431
- type: 'string',
1432
- },
1433
- },
1434
- required: [
1435
- 'climate_setting_schedule_id',
1436
- 'schedule_type',
1437
- 'device_id',
1438
- 'schedule_starts_at',
1439
- 'schedule_ends_at',
1440
- 'created_at',
1441
- ],
1442
- type: 'object',
1443
- },
1444
- available_hvac_mode_settings: {
1445
- items: {
1446
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1020
+ },
1021
+ required: [
1022
+ 'device_id',
1023
+ 'device_name',
1024
+ 'latest_sensor_values',
1025
+ ],
1026
+ type: 'object',
1027
+ },
1028
+ nest_metadata: {
1029
+ properties: {
1030
+ custom_name: { type: 'string' },
1031
+ device_name: { type: 'string' },
1032
+ nest_device_id: { type: 'string' },
1033
+ },
1034
+ required: [
1035
+ 'nest_device_id',
1036
+ 'device_name',
1037
+ 'custom_name',
1038
+ ],
1039
+ type: 'object',
1040
+ },
1041
+ noiseaware_metadata: {
1042
+ properties: {
1043
+ device_id: { type: 'string' },
1044
+ device_model: {
1045
+ enum: ['indoor', 'outdoor'],
1046
+ type: 'string',
1047
+ },
1048
+ device_name: { type: 'string' },
1049
+ noise_level_decibel: { type: 'number' },
1050
+ noise_level_nrs: { type: 'number' },
1051
+ },
1052
+ required: [
1053
+ 'device_model',
1054
+ 'noise_level_nrs',
1055
+ 'noise_level_decibel',
1056
+ 'device_name',
1057
+ 'device_id',
1058
+ ],
1059
+ type: 'object',
1060
+ },
1061
+ nuki_metadata: {
1062
+ properties: {
1063
+ device_id: { type: 'string' },
1064
+ device_name: { type: 'string' },
1065
+ keypad_battery_critical: { type: 'boolean' },
1066
+ },
1067
+ required: ['device_id', 'device_name'],
1068
+ type: 'object',
1069
+ },
1070
+ salto_metadata: {
1071
+ properties: {
1072
+ battery_level: { type: 'string' },
1073
+ customer_reference: { type: 'string' },
1074
+ lock_id: { type: 'string' },
1075
+ lock_type: { type: 'string' },
1076
+ locked_state: { type: 'string' },
1077
+ model: { type: 'string' },
1078
+ },
1079
+ required: [
1080
+ 'lock_id',
1081
+ 'customer_reference',
1082
+ 'lock_type',
1083
+ 'battery_level',
1084
+ 'locked_state',
1085
+ ],
1086
+ type: 'object',
1087
+ },
1088
+ schlage_metadata: {
1089
+ properties: {
1090
+ access_code_length: { type: 'number' },
1091
+ device_id: { type: 'string' },
1092
+ device_name: { type: 'string' },
1093
+ model: { type: 'string' },
1094
+ },
1095
+ required: [
1096
+ 'device_id',
1097
+ 'device_name',
1098
+ 'access_code_length',
1099
+ ],
1100
+ type: 'object',
1101
+ },
1102
+ seam_bridge_metadata: {
1103
+ properties: {
1104
+ device_num: { type: 'number' },
1105
+ name: { type: 'string' },
1106
+ unlock_method: {
1107
+ enum: ['bridge', 'doorking'],
1108
+ type: 'string',
1109
+ },
1110
+ },
1111
+ required: ['device_num', 'name'],
1112
+ type: 'object',
1113
+ },
1114
+ smartthings_metadata: {
1115
+ properties: {
1116
+ device_id: { type: 'string' },
1117
+ device_name: { type: 'string' },
1118
+ location_id: { type: 'string' },
1119
+ model: { type: 'string' },
1120
+ },
1121
+ required: ['device_id', 'device_name'],
1122
+ type: 'object',
1123
+ },
1124
+ ttlock_metadata: {
1125
+ properties: {
1126
+ lock_alias: { type: 'string' },
1127
+ lock_id: { type: 'number' },
1128
+ },
1129
+ required: ['lock_id', 'lock_alias'],
1130
+ type: 'object',
1131
+ },
1132
+ two_n_metadata: {
1133
+ properties: {
1134
+ device_id: { type: 'number' },
1135
+ device_name: { type: 'string' },
1136
+ },
1137
+ required: ['device_id', 'device_name'],
1138
+ type: 'object',
1139
+ },
1140
+ wyze_metadata: {
1141
+ properties: {
1142
+ device_id: { type: 'string' },
1143
+ device_info_model: { type: 'string' },
1144
+ device_name: { type: 'string' },
1145
+ product_model: { type: 'string' },
1146
+ product_name: { type: 'string' },
1147
+ product_type: { type: 'string' },
1148
+ },
1149
+ required: [
1150
+ 'device_id',
1151
+ 'device_name',
1152
+ 'product_name',
1153
+ 'product_type',
1154
+ 'product_model',
1155
+ 'device_info_model',
1156
+ ],
1157
+ type: 'object',
1158
+ },
1159
+ },
1160
+ type: 'object',
1161
+ },
1162
+ ],
1163
+ },
1164
+ {
1165
+ allOf: [
1166
+ {
1167
+ properties: {
1168
+ _experimental_supported_code_from_access_codes_lengths: {
1169
+ items: { type: 'number' },
1170
+ type: 'array',
1171
+ },
1172
+ code_constraints: {
1173
+ items: {
1174
+ oneOf: [
1175
+ {
1176
+ properties: {
1177
+ constraint_type: {
1178
+ enum: [
1179
+ 'no_zeros',
1180
+ 'cannot_start_with_12',
1181
+ 'no_triple_consecutive_ints',
1182
+ 'cannot_specify_pin_code',
1183
+ 'pin_code_matches_existing_set',
1184
+ 'start_date_in_future',
1185
+ ],
1447
1186
  type: 'string',
1448
1187
  },
1449
- type: 'array',
1450
- },
1451
- can_enable_automatic_cooling: { type: 'boolean' },
1452
- can_enable_automatic_heating: { type: 'boolean' },
1453
- current_climate_setting: {
1454
- properties: {
1455
- automatic_cooling_enabled: {
1456
- type: 'boolean',
1457
- },
1458
- automatic_heating_enabled: {
1459
- type: 'boolean',
1460
- },
1461
- cooling_set_point_celsius: { type: 'number' },
1462
- cooling_set_point_fahrenheit: {
1463
- type: 'number',
1464
- },
1465
- heating_set_point_celsius: { type: 'number' },
1466
- heating_set_point_fahrenheit: {
1467
- type: 'number',
1468
- },
1469
- hvac_mode_setting: {
1470
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1471
- type: 'string',
1472
- },
1473
- manual_override_allowed: { type: 'boolean' },
1474
- },
1475
- required: [
1476
- 'automatic_heating_enabled',
1477
- 'automatic_cooling_enabled',
1478
- 'hvac_mode_setting',
1479
- 'manual_override_allowed',
1480
- ],
1481
- type: 'object',
1482
1188
  },
1483
- default_climate_setting: {
1484
- properties: {
1485
- automatic_cooling_enabled: {
1486
- type: 'boolean',
1487
- },
1488
- automatic_heating_enabled: {
1489
- type: 'boolean',
1490
- },
1491
- cooling_set_point_celsius: { type: 'number' },
1492
- cooling_set_point_fahrenheit: {
1493
- type: 'number',
1494
- },
1495
- heating_set_point_celsius: { type: 'number' },
1496
- heating_set_point_fahrenheit: {
1497
- type: 'number',
1498
- },
1499
- hvac_mode_setting: {
1500
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1501
- type: 'string',
1502
- },
1503
- manual_override_allowed: { type: 'boolean' },
1189
+ required: ['constraint_type'],
1190
+ type: 'object',
1191
+ },
1192
+ {
1193
+ properties: {
1194
+ constraint_type: {
1195
+ enum: ['name_length'],
1196
+ type: 'string',
1504
1197
  },
1505
- required: [
1506
- 'automatic_heating_enabled',
1507
- 'automatic_cooling_enabled',
1508
- 'hvac_mode_setting',
1509
- 'manual_override_allowed',
1510
- ],
1511
- type: 'object',
1198
+ max_length: { type: 'number' },
1199
+ min_length: { type: 'number' },
1512
1200
  },
1513
- fan_mode_setting: {
1514
- enum: ['auto', 'on'],
1201
+ required: ['constraint_type'],
1202
+ type: 'object',
1203
+ },
1204
+ ],
1205
+ },
1206
+ type: 'array',
1207
+ },
1208
+ door_open: { type: 'boolean' },
1209
+ has_native_entry_events: { type: 'boolean' },
1210
+ keypad_battery: {
1211
+ properties: { level: { type: 'number' } },
1212
+ required: ['level'],
1213
+ type: 'object',
1214
+ },
1215
+ locked: { type: 'boolean' },
1216
+ max_active_codes_supported: { type: 'number' },
1217
+ supported_code_lengths: {
1218
+ items: { type: 'number' },
1219
+ type: 'array',
1220
+ },
1221
+ supports_backup_access_code_pool: { type: 'boolean' },
1222
+ },
1223
+ type: 'object',
1224
+ },
1225
+ {
1226
+ oneOf: [
1227
+ {
1228
+ properties: {
1229
+ active_climate_setting_schedule: {
1230
+ properties: {
1231
+ automatic_cooling_enabled: { type: 'boolean' },
1232
+ automatic_heating_enabled: { type: 'boolean' },
1233
+ climate_setting_schedule_id: {
1234
+ format: 'uuid',
1515
1235
  type: 'string',
1516
1236
  },
1517
- is_climate_setting_schedule_active: {
1518
- type: 'boolean',
1519
- },
1520
- is_cooling: { type: 'boolean' },
1521
- is_cooling_available: {
1522
- enum: [false],
1523
- type: 'boolean',
1524
- },
1525
- is_fan_running: { type: 'boolean' },
1526
- is_heating: { type: 'boolean' },
1527
- is_heating_available: {
1528
- enum: [true],
1529
- type: 'boolean',
1530
- },
1531
- is_temporary_manual_override_active: {
1532
- type: 'boolean',
1237
+ cooling_set_point_celsius: { type: 'number' },
1238
+ cooling_set_point_fahrenheit: { type: 'number' },
1239
+ created_at: {
1240
+ format: 'date-time',
1241
+ type: 'string',
1533
1242
  },
1534
- max_heating_set_point_celsius: { type: 'number' },
1535
- max_heating_set_point_fahrenheit: {
1536
- type: 'number',
1243
+ device_id: { type: 'string' },
1244
+ errors: {
1245
+ description:
1246
+ 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1247
+ nullable: true,
1537
1248
  },
1538
- min_heating_set_point_celsius: { type: 'number' },
1539
- min_heating_set_point_fahrenheit: {
1540
- type: 'number',
1249
+ heating_set_point_celsius: { type: 'number' },
1250
+ heating_set_point_fahrenheit: { type: 'number' },
1251
+ hvac_mode_setting: {
1252
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1253
+ type: 'string',
1541
1254
  },
1542
- relative_humidity: {
1543
- maximum: 1,
1544
- minimum: 0,
1545
- type: 'number',
1255
+ manual_override_allowed: { type: 'boolean' },
1256
+ name: { type: 'string' },
1257
+ schedule_ends_at: { type: 'string' },
1258
+ schedule_starts_at: { type: 'string' },
1259
+ schedule_type: {
1260
+ enum: ['time_bound'],
1261
+ type: 'string',
1546
1262
  },
1547
- temperature_celsius: { type: 'number' },
1548
- temperature_fahrenheit: { type: 'number' },
1549
1263
  },
1264
+ required: [
1265
+ 'climate_setting_schedule_id',
1266
+ 'schedule_type',
1267
+ 'device_id',
1268
+ 'schedule_starts_at',
1269
+ 'schedule_ends_at',
1270
+ 'created_at',
1271
+ ],
1550
1272
  type: 'object',
1551
1273
  },
1552
- {
1274
+ available_hvac_mode_settings: {
1275
+ items: {
1276
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1277
+ type: 'string',
1278
+ },
1279
+ type: 'array',
1280
+ },
1281
+ can_enable_automatic_cooling: { type: 'boolean' },
1282
+ can_enable_automatic_heating: { type: 'boolean' },
1283
+ current_climate_setting: {
1553
1284
  properties: {
1554
- active_climate_setting_schedule: {
1555
- properties: {
1556
- automatic_cooling_enabled: {
1557
- type: 'boolean',
1558
- },
1559
- automatic_heating_enabled: {
1560
- type: 'boolean',
1561
- },
1562
- climate_setting_schedule_id: {
1563
- format: 'uuid',
1564
- type: 'string',
1565
- },
1566
- cooling_set_point_celsius: { type: 'number' },
1567
- cooling_set_point_fahrenheit: {
1568
- type: 'number',
1569
- },
1570
- created_at: {
1571
- format: 'date-time',
1572
- type: 'string',
1573
- },
1574
- device_id: { type: 'string' },
1575
- errors: {
1576
- description:
1577
- 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1578
- nullable: true,
1579
- },
1580
- heating_set_point_celsius: { type: 'number' },
1581
- heating_set_point_fahrenheit: {
1582
- type: 'number',
1583
- },
1584
- hvac_mode_setting: {
1585
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1586
- type: 'string',
1587
- },
1588
- manual_override_allowed: { type: 'boolean' },
1589
- name: { type: 'string' },
1590
- schedule_ends_at: { type: 'string' },
1591
- schedule_starts_at: { type: 'string' },
1592
- schedule_type: {
1593
- enum: ['time_bound'],
1594
- type: 'string',
1595
- },
1596
- },
1597
- required: [
1598
- 'climate_setting_schedule_id',
1599
- 'schedule_type',
1600
- 'device_id',
1601
- 'schedule_starts_at',
1602
- 'schedule_ends_at',
1603
- 'created_at',
1604
- ],
1605
- type: 'object',
1606
- },
1607
- available_hvac_mode_settings: {
1608
- items: {
1609
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1610
- type: 'string',
1611
- },
1612
- type: 'array',
1613
- },
1614
- can_enable_automatic_cooling: { type: 'boolean' },
1615
- can_enable_automatic_heating: { type: 'boolean' },
1616
- current_climate_setting: {
1617
- properties: {
1618
- automatic_cooling_enabled: {
1619
- type: 'boolean',
1620
- },
1621
- automatic_heating_enabled: {
1622
- type: 'boolean',
1623
- },
1624
- cooling_set_point_celsius: { type: 'number' },
1625
- cooling_set_point_fahrenheit: {
1626
- type: 'number',
1627
- },
1628
- heating_set_point_celsius: { type: 'number' },
1629
- heating_set_point_fahrenheit: {
1630
- type: 'number',
1631
- },
1632
- hvac_mode_setting: {
1633
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1634
- type: 'string',
1635
- },
1636
- manual_override_allowed: { type: 'boolean' },
1637
- },
1638
- required: [
1639
- 'automatic_heating_enabled',
1640
- 'automatic_cooling_enabled',
1641
- 'hvac_mode_setting',
1642
- 'manual_override_allowed',
1643
- ],
1644
- type: 'object',
1645
- },
1646
- default_climate_setting: {
1647
- properties: {
1648
- automatic_cooling_enabled: {
1649
- type: 'boolean',
1650
- },
1651
- automatic_heating_enabled: {
1652
- type: 'boolean',
1653
- },
1654
- cooling_set_point_celsius: { type: 'number' },
1655
- cooling_set_point_fahrenheit: {
1656
- type: 'number',
1657
- },
1658
- heating_set_point_celsius: { type: 'number' },
1659
- heating_set_point_fahrenheit: {
1660
- type: 'number',
1661
- },
1662
- hvac_mode_setting: {
1663
- enum: ['off', 'heat', 'cool', 'heat_cool'],
1664
- type: 'string',
1665
- },
1666
- manual_override_allowed: { type: 'boolean' },
1667
- },
1668
- required: [
1669
- 'automatic_heating_enabled',
1670
- 'automatic_cooling_enabled',
1671
- 'hvac_mode_setting',
1672
- 'manual_override_allowed',
1673
- ],
1674
- type: 'object',
1285
+ automatic_cooling_enabled: { type: 'boolean' },
1286
+ automatic_heating_enabled: { type: 'boolean' },
1287
+ cooling_set_point_celsius: { type: 'number' },
1288
+ cooling_set_point_fahrenheit: { type: 'number' },
1289
+ heating_set_point_celsius: { type: 'number' },
1290
+ heating_set_point_fahrenheit: { type: 'number' },
1291
+ hvac_mode_setting: {
1292
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1293
+ type: 'string',
1675
1294
  },
1676
- fan_mode_setting: {
1677
- enum: ['auto', 'on'],
1295
+ manual_override_allowed: { type: 'boolean' },
1296
+ },
1297
+ required: [
1298
+ 'automatic_heating_enabled',
1299
+ 'automatic_cooling_enabled',
1300
+ 'hvac_mode_setting',
1301
+ 'manual_override_allowed',
1302
+ ],
1303
+ type: 'object',
1304
+ },
1305
+ default_climate_setting: {
1306
+ properties: {
1307
+ automatic_cooling_enabled: { type: 'boolean' },
1308
+ automatic_heating_enabled: { type: 'boolean' },
1309
+ cooling_set_point_celsius: { type: 'number' },
1310
+ cooling_set_point_fahrenheit: { type: 'number' },
1311
+ heating_set_point_celsius: { type: 'number' },
1312
+ heating_set_point_fahrenheit: { type: 'number' },
1313
+ hvac_mode_setting: {
1314
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1678
1315
  type: 'string',
1679
1316
  },
1680
- is_climate_setting_schedule_active: {
1681
- type: 'boolean',
1317
+ manual_override_allowed: { type: 'boolean' },
1318
+ },
1319
+ required: [
1320
+ 'automatic_heating_enabled',
1321
+ 'automatic_cooling_enabled',
1322
+ 'hvac_mode_setting',
1323
+ 'manual_override_allowed',
1324
+ ],
1325
+ type: 'object',
1326
+ },
1327
+ fan_mode_setting: {
1328
+ enum: ['auto', 'on'],
1329
+ type: 'string',
1330
+ },
1331
+ is_climate_setting_schedule_active: {
1332
+ type: 'boolean',
1333
+ },
1334
+ is_cooling: { type: 'boolean' },
1335
+ is_cooling_available: {
1336
+ enum: [true],
1337
+ type: 'boolean',
1338
+ },
1339
+ is_fan_running: { type: 'boolean' },
1340
+ is_heating: { type: 'boolean' },
1341
+ is_heating_available: {
1342
+ enum: [true],
1343
+ type: 'boolean',
1344
+ },
1345
+ is_temporary_manual_override_active: {
1346
+ type: 'boolean',
1347
+ },
1348
+ max_cooling_set_point_celsius: { type: 'number' },
1349
+ max_cooling_set_point_fahrenheit: { type: 'number' },
1350
+ max_heating_set_point_celsius: { type: 'number' },
1351
+ max_heating_set_point_fahrenheit: { type: 'number' },
1352
+ min_cooling_set_point_celsius: { type: 'number' },
1353
+ min_cooling_set_point_fahrenheit: { type: 'number' },
1354
+ min_heating_cooling_delta_celsius: { type: 'number' },
1355
+ min_heating_cooling_delta_fahrenheit: {
1356
+ type: 'number',
1357
+ },
1358
+ min_heating_set_point_celsius: { type: 'number' },
1359
+ min_heating_set_point_fahrenheit: { type: 'number' },
1360
+ relative_humidity: {
1361
+ maximum: 1,
1362
+ minimum: 0,
1363
+ type: 'number',
1364
+ },
1365
+ temperature_celsius: { type: 'number' },
1366
+ temperature_fahrenheit: { type: 'number' },
1367
+ },
1368
+ type: 'object',
1369
+ },
1370
+ {
1371
+ properties: {
1372
+ active_climate_setting_schedule: {
1373
+ properties: {
1374
+ automatic_cooling_enabled: { type: 'boolean' },
1375
+ automatic_heating_enabled: { type: 'boolean' },
1376
+ climate_setting_schedule_id: {
1377
+ format: 'uuid',
1378
+ type: 'string',
1682
1379
  },
1683
- is_cooling: { type: 'boolean' },
1684
- is_cooling_available: {
1685
- enum: [true],
1686
- type: 'boolean',
1380
+ cooling_set_point_celsius: { type: 'number' },
1381
+ cooling_set_point_fahrenheit: { type: 'number' },
1382
+ created_at: {
1383
+ format: 'date-time',
1384
+ type: 'string',
1687
1385
  },
1688
- is_fan_running: { type: 'boolean' },
1689
- is_heating: { type: 'boolean' },
1690
- is_heating_available: {
1691
- enum: [false],
1692
- type: 'boolean',
1386
+ device_id: { type: 'string' },
1387
+ errors: {
1388
+ description:
1389
+ 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1390
+ nullable: true,
1693
1391
  },
1694
- is_temporary_manual_override_active: {
1695
- type: 'boolean',
1392
+ heating_set_point_celsius: { type: 'number' },
1393
+ heating_set_point_fahrenheit: { type: 'number' },
1394
+ hvac_mode_setting: {
1395
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1396
+ type: 'string',
1696
1397
  },
1697
- max_cooling_set_point_celsius: { type: 'number' },
1698
- max_cooling_set_point_fahrenheit: {
1699
- type: 'number',
1398
+ manual_override_allowed: { type: 'boolean' },
1399
+ name: { type: 'string' },
1400
+ schedule_ends_at: { type: 'string' },
1401
+ schedule_starts_at: { type: 'string' },
1402
+ schedule_type: {
1403
+ enum: ['time_bound'],
1404
+ type: 'string',
1700
1405
  },
1701
- min_cooling_set_point_celsius: { type: 'number' },
1702
- min_cooling_set_point_fahrenheit: {
1703
- type: 'number',
1406
+ },
1407
+ required: [
1408
+ 'climate_setting_schedule_id',
1409
+ 'schedule_type',
1410
+ 'device_id',
1411
+ 'schedule_starts_at',
1412
+ 'schedule_ends_at',
1413
+ 'created_at',
1414
+ ],
1415
+ type: 'object',
1416
+ },
1417
+ available_hvac_mode_settings: {
1418
+ items: {
1419
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1420
+ type: 'string',
1421
+ },
1422
+ type: 'array',
1423
+ },
1424
+ can_enable_automatic_cooling: { type: 'boolean' },
1425
+ can_enable_automatic_heating: { type: 'boolean' },
1426
+ current_climate_setting: {
1427
+ properties: {
1428
+ automatic_cooling_enabled: { type: 'boolean' },
1429
+ automatic_heating_enabled: { type: 'boolean' },
1430
+ cooling_set_point_celsius: { type: 'number' },
1431
+ cooling_set_point_fahrenheit: { type: 'number' },
1432
+ heating_set_point_celsius: { type: 'number' },
1433
+ heating_set_point_fahrenheit: { type: 'number' },
1434
+ hvac_mode_setting: {
1435
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1436
+ type: 'string',
1704
1437
  },
1705
- relative_humidity: {
1706
- maximum: 1,
1707
- minimum: 0,
1708
- type: 'number',
1438
+ manual_override_allowed: { type: 'boolean' },
1439
+ },
1440
+ required: [
1441
+ 'automatic_heating_enabled',
1442
+ 'automatic_cooling_enabled',
1443
+ 'hvac_mode_setting',
1444
+ 'manual_override_allowed',
1445
+ ],
1446
+ type: 'object',
1447
+ },
1448
+ default_climate_setting: {
1449
+ properties: {
1450
+ automatic_cooling_enabled: { type: 'boolean' },
1451
+ automatic_heating_enabled: { type: 'boolean' },
1452
+ cooling_set_point_celsius: { type: 'number' },
1453
+ cooling_set_point_fahrenheit: { type: 'number' },
1454
+ heating_set_point_celsius: { type: 'number' },
1455
+ heating_set_point_fahrenheit: { type: 'number' },
1456
+ hvac_mode_setting: {
1457
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1458
+ type: 'string',
1709
1459
  },
1710
- temperature_celsius: { type: 'number' },
1711
- temperature_fahrenheit: { type: 'number' },
1460
+ manual_override_allowed: { type: 'boolean' },
1712
1461
  },
1462
+ required: [
1463
+ 'automatic_heating_enabled',
1464
+ 'automatic_cooling_enabled',
1465
+ 'hvac_mode_setting',
1466
+ 'manual_override_allowed',
1467
+ ],
1713
1468
  type: 'object',
1714
1469
  },
1715
- ],
1470
+ fan_mode_setting: {
1471
+ enum: ['auto', 'on'],
1472
+ type: 'string',
1473
+ },
1474
+ is_climate_setting_schedule_active: {
1475
+ type: 'boolean',
1476
+ },
1477
+ is_cooling: { type: 'boolean' },
1478
+ is_cooling_available: {
1479
+ enum: [false],
1480
+ type: 'boolean',
1481
+ },
1482
+ is_fan_running: { type: 'boolean' },
1483
+ is_heating: { type: 'boolean' },
1484
+ is_heating_available: {
1485
+ enum: [true],
1486
+ type: 'boolean',
1487
+ },
1488
+ is_temporary_manual_override_active: {
1489
+ type: 'boolean',
1490
+ },
1491
+ max_heating_set_point_celsius: { type: 'number' },
1492
+ max_heating_set_point_fahrenheit: { type: 'number' },
1493
+ min_heating_set_point_celsius: { type: 'number' },
1494
+ min_heating_set_point_fahrenheit: { type: 'number' },
1495
+ relative_humidity: {
1496
+ maximum: 1,
1497
+ minimum: 0,
1498
+ type: 'number',
1499
+ },
1500
+ temperature_celsius: { type: 'number' },
1501
+ temperature_fahrenheit: { type: 'number' },
1502
+ },
1503
+ type: 'object',
1716
1504
  },
1717
- ],
1718
- },
1719
- ],
1720
- },
1721
- {
1722
- properties: {
1723
- assa_abloy_credential_service_metadata: {
1724
- properties: {
1725
- endpoints: {
1726
- items: {
1727
- properties: {
1728
- endpoint_id: { type: 'string' },
1729
- is_active: { type: 'boolean' },
1505
+ {
1506
+ properties: {
1507
+ active_climate_setting_schedule: {
1508
+ properties: {
1509
+ automatic_cooling_enabled: { type: 'boolean' },
1510
+ automatic_heating_enabled: { type: 'boolean' },
1511
+ climate_setting_schedule_id: {
1512
+ format: 'uuid',
1513
+ type: 'string',
1514
+ },
1515
+ cooling_set_point_celsius: { type: 'number' },
1516
+ cooling_set_point_fahrenheit: { type: 'number' },
1517
+ created_at: {
1518
+ format: 'date-time',
1519
+ type: 'string',
1520
+ },
1521
+ device_id: { type: 'string' },
1522
+ errors: {
1523
+ description:
1524
+ 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1525
+ nullable: true,
1526
+ },
1527
+ heating_set_point_celsius: { type: 'number' },
1528
+ heating_set_point_fahrenheit: { type: 'number' },
1529
+ hvac_mode_setting: {
1530
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1531
+ type: 'string',
1532
+ },
1533
+ manual_override_allowed: { type: 'boolean' },
1534
+ name: { type: 'string' },
1535
+ schedule_ends_at: { type: 'string' },
1536
+ schedule_starts_at: { type: 'string' },
1537
+ schedule_type: {
1538
+ enum: ['time_bound'],
1539
+ type: 'string',
1540
+ },
1541
+ },
1542
+ required: [
1543
+ 'climate_setting_schedule_id',
1544
+ 'schedule_type',
1545
+ 'device_id',
1546
+ 'schedule_starts_at',
1547
+ 'schedule_ends_at',
1548
+ 'created_at',
1549
+ ],
1550
+ type: 'object',
1551
+ },
1552
+ available_hvac_mode_settings: {
1553
+ items: {
1554
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1555
+ type: 'string',
1556
+ },
1557
+ type: 'array',
1558
+ },
1559
+ can_enable_automatic_cooling: { type: 'boolean' },
1560
+ can_enable_automatic_heating: { type: 'boolean' },
1561
+ current_climate_setting: {
1562
+ properties: {
1563
+ automatic_cooling_enabled: { type: 'boolean' },
1564
+ automatic_heating_enabled: { type: 'boolean' },
1565
+ cooling_set_point_celsius: { type: 'number' },
1566
+ cooling_set_point_fahrenheit: { type: 'number' },
1567
+ heating_set_point_celsius: { type: 'number' },
1568
+ heating_set_point_fahrenheit: { type: 'number' },
1569
+ hvac_mode_setting: {
1570
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1571
+ type: 'string',
1572
+ },
1573
+ manual_override_allowed: { type: 'boolean' },
1574
+ },
1575
+ required: [
1576
+ 'automatic_heating_enabled',
1577
+ 'automatic_cooling_enabled',
1578
+ 'hvac_mode_setting',
1579
+ 'manual_override_allowed',
1580
+ ],
1581
+ type: 'object',
1582
+ },
1583
+ default_climate_setting: {
1584
+ properties: {
1585
+ automatic_cooling_enabled: { type: 'boolean' },
1586
+ automatic_heating_enabled: { type: 'boolean' },
1587
+ cooling_set_point_celsius: { type: 'number' },
1588
+ cooling_set_point_fahrenheit: { type: 'number' },
1589
+ heating_set_point_celsius: { type: 'number' },
1590
+ heating_set_point_fahrenheit: { type: 'number' },
1591
+ hvac_mode_setting: {
1592
+ enum: ['off', 'heat', 'cool', 'heat_cool'],
1593
+ type: 'string',
1594
+ },
1595
+ manual_override_allowed: { type: 'boolean' },
1596
+ },
1597
+ required: [
1598
+ 'automatic_heating_enabled',
1599
+ 'automatic_cooling_enabled',
1600
+ 'hvac_mode_setting',
1601
+ 'manual_override_allowed',
1602
+ ],
1603
+ type: 'object',
1730
1604
  },
1731
- required: ['endpoint_id', 'is_active'],
1732
- type: 'object',
1605
+ fan_mode_setting: {
1606
+ enum: ['auto', 'on'],
1607
+ type: 'string',
1608
+ },
1609
+ is_climate_setting_schedule_active: {
1610
+ type: 'boolean',
1611
+ },
1612
+ is_cooling: { type: 'boolean' },
1613
+ is_cooling_available: {
1614
+ enum: [true],
1615
+ type: 'boolean',
1616
+ },
1617
+ is_fan_running: { type: 'boolean' },
1618
+ is_heating: { type: 'boolean' },
1619
+ is_heating_available: {
1620
+ enum: [false],
1621
+ type: 'boolean',
1622
+ },
1623
+ is_temporary_manual_override_active: {
1624
+ type: 'boolean',
1625
+ },
1626
+ max_cooling_set_point_celsius: { type: 'number' },
1627
+ max_cooling_set_point_fahrenheit: { type: 'number' },
1628
+ min_cooling_set_point_celsius: { type: 'number' },
1629
+ min_cooling_set_point_fahrenheit: { type: 'number' },
1630
+ relative_humidity: {
1631
+ maximum: 1,
1632
+ minimum: 0,
1633
+ type: 'number',
1634
+ },
1635
+ temperature_celsius: { type: 'number' },
1636
+ temperature_fahrenheit: { type: 'number' },
1733
1637
  },
1734
- type: 'array',
1638
+ type: 'object',
1735
1639
  },
1736
- has_active_endpoint: { type: 'boolean' },
1737
- },
1738
- required: ['has_active_endpoint', 'endpoints'],
1739
- type: 'object',
1640
+ ],
1740
1641
  },
1741
- },
1742
- type: 'object',
1642
+ ],
1743
1643
  },
1744
1644
  ],
1745
1645
  description: 'Properties of the device.',
@@ -1854,24 +1754,6 @@ export default {
1854
1754
  },
1855
1755
  phone: {
1856
1756
  properties: {
1857
- assa_abloy_credential_service_metadata: {
1858
- properties: {
1859
- endpoints: {
1860
- items: {
1861
- properties: {
1862
- endpoint_id: { type: 'string' },
1863
- is_active: { type: 'boolean' },
1864
- },
1865
- required: ['endpoint_id', 'is_active'],
1866
- type: 'object',
1867
- },
1868
- type: 'array',
1869
- },
1870
- has_active_endpoint: { type: 'boolean' },
1871
- },
1872
- required: ['has_active_endpoint', 'endpoints'],
1873
- type: 'object',
1874
- },
1875
1757
  capabilities_supported: {
1876
1758
  description:
1877
1759
  'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
@@ -1945,1110 +1827,27 @@ export default {
1945
1827
  type: 'object',
1946
1828
  },
1947
1829
  properties: {
1948
- allOf: [
1949
- {
1950
- allOf: [
1951
- {
1952
- allOf: [
1953
- {
1954
- properties: {
1955
- battery: {
1956
- description:
1957
- 'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
1958
- properties: {
1959
- level: { maximum: 1, minimum: 0, type: 'number' },
1960
- status: {
1961
- enum: ['critical', 'low', 'good', 'full'],
1962
- type: 'string',
1963
- },
1964
- },
1965
- required: ['level', 'status'],
1966
- type: 'object',
1967
- },
1968
- battery_level: {
1969
- description:
1970
- 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
1971
- maximum: 1,
1972
- minimum: 0,
1973
- type: 'number',
1974
- },
1975
- has_direct_power: {
1976
- description:
1977
- 'Indicates whether the device has direct power.',
1978
- type: 'boolean',
1979
- },
1980
- image_alt_text: {
1981
- description: 'Alt text for the device image.',
1982
- type: 'string',
1983
- },
1984
- image_url: {
1985
- description: 'Image URL for the device.',
1986
- format: 'uri',
1987
- type: 'string',
1988
- },
1989
- manufacturer: {
1990
- description: 'Manufacturer of the device.',
1991
- type: 'string',
1992
- },
1993
- model: {
1994
- properties: {
1995
- accessory_keypad_supported: {
1996
- description:
1997
- 'Indicates whether the device supports an accessory keypad.',
1998
- type: 'boolean',
1999
- },
2000
- display_name: {
2001
- description:
2002
- 'Display name of the device model.',
2003
- type: 'string',
2004
- },
2005
- manufacturer_display_name: {
2006
- description:
2007
- 'Display name that corresponds to the manufacturer-specific terminology for the device.',
2008
- type: 'string',
2009
- },
2010
- offline_access_codes_supported: {
2011
- description:
2012
- 'Indicates whether the device supports offline access codes.',
2013
- type: 'boolean',
2014
- },
2015
- online_access_codes_supported: {
2016
- description:
2017
- 'Indicates whether the device supports online access codes.',
2018
- type: 'boolean',
2019
- },
2020
- },
2021
- required: [
2022
- 'display_name',
2023
- 'manufacturer_display_name',
2024
- ],
2025
- type: 'object',
2026
- },
2027
- name: {
2028
- description:
2029
- 'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
2030
- type: 'string',
2031
- },
2032
- offline_access_codes_enabled: {
2033
- description:
2034
- 'Indicates whether it is currently possible to use offline access codes for the device.',
2035
- type: 'boolean',
2036
- },
2037
- online: {
2038
- description:
2039
- 'Indicates whether the device is online.',
2040
- type: 'boolean',
2041
- },
2042
- online_access_codes_enabled: {
2043
- description:
2044
- 'Indicates whether it is currently possible to use online access codes for the device.',
2045
- type: 'boolean',
2046
- },
2047
- serial_number: {
2048
- description: 'Serial number of the device.',
2049
- type: 'string',
2050
- },
2051
- supports_accessory_keypad: {
2052
- description:
2053
- 'Deprecated. Use model.accessory_keypad_supported.',
2054
- type: 'boolean',
2055
- },
2056
- supports_offline_access_codes: {
2057
- description:
2058
- 'Deprecated. Use offline_access_codes_enabled.',
2059
- type: 'boolean',
2060
- },
2061
- },
2062
- required: ['online', 'name', 'model'],
2063
- type: 'object',
1830
+ properties: {
1831
+ assa_abloy_credential_service_metadata: {
1832
+ properties: {
1833
+ endpoints: {
1834
+ items: {
1835
+ properties: {
1836
+ endpoint_id: { type: 'string' },
1837
+ is_active: { type: 'boolean' },
2064
1838
  },
2065
- {
2066
- properties: {
2067
- august_metadata: {
2068
- properties: {
2069
- has_keypad: { type: 'boolean' },
2070
- house_id: { type: 'string' },
2071
- house_name: { type: 'string' },
2072
- keypad_battery_level: { type: 'string' },
2073
- lock_id: { type: 'string' },
2074
- lock_name: { type: 'string' },
2075
- model: { type: 'string' },
2076
- },
2077
- required: [
2078
- 'lock_id',
2079
- 'lock_name',
2080
- 'house_name',
2081
- 'has_keypad',
2082
- ],
2083
- type: 'object',
2084
- },
2085
- avigilon_alta_metadata: {
2086
- properties: {
2087
- entry_name: { type: 'string' },
2088
- org_name: { type: 'string' },
2089
- site_id: { type: 'number' },
2090
- site_name: { type: 'string' },
2091
- zone_id: { type: 'number' },
2092
- zone_name: { type: 'string' },
2093
- },
2094
- required: [
2095
- 'entry_name',
2096
- 'org_name',
2097
- 'zone_id',
2098
- 'zone_name',
2099
- 'site_id',
2100
- 'site_name',
2101
- ],
2102
- type: 'object',
2103
- },
2104
- brivo_metadata: {
2105
- properties: { device_name: { type: 'string' } },
2106
- required: ['device_name'],
2107
- type: 'object',
2108
- },
2109
- controlbyweb_metadata: {
2110
- properties: {
2111
- device_id: { type: 'string' },
2112
- device_name: { type: 'string' },
2113
- relay_name: { nullable: true, type: 'string' },
2114
- },
2115
- required: [
2116
- 'device_id',
2117
- 'device_name',
2118
- 'relay_name',
2119
- ],
2120
- type: 'object',
2121
- },
2122
- dormakaba_oracode_metadata: {
2123
- properties: {
2124
- device_id: { type: 'number' },
2125
- door_id: { type: 'number' },
2126
- door_name: { type: 'string' },
2127
- iana_timezone: { type: 'string' },
2128
- predefined_time_slots: {
2129
- items: {
2130
- properties: {
2131
- check_in_time: { type: 'string' },
2132
- check_out_time: { type: 'string' },
2133
- dormakaba_oracode_user_level_id: {
2134
- format: 'uuid',
2135
- type: 'string',
2136
- },
2137
- ext_dormakaba_oracode_user_level_prefix: {
2138
- type: 'number',
2139
- },
2140
- is_24_hour: { type: 'boolean' },
2141
- is_biweekly_mode: { type: 'boolean' },
2142
- is_master: { type: 'boolean' },
2143
- is_one_shot: { type: 'boolean' },
2144
- name: { type: 'string' },
2145
- prefix: { type: 'number' },
2146
- },
2147
- required: [
2148
- 'name',
2149
- 'prefix',
2150
- 'check_in_time',
2151
- 'check_out_time',
2152
- 'is_24_hour',
2153
- 'is_biweekly_mode',
2154
- 'is_one_shot',
2155
- 'is_master',
2156
- 'ext_dormakaba_oracode_user_level_prefix',
2157
- 'dormakaba_oracode_user_level_id',
2158
- ],
2159
- type: 'object',
2160
- },
2161
- type: 'array',
2162
- },
2163
- site_id: { type: 'number' },
2164
- site_name: { type: 'string' },
2165
- },
2166
- required: [
2167
- 'door_id',
2168
- 'door_name',
2169
- 'site_id',
2170
- 'site_name',
2171
- ],
2172
- type: 'object',
2173
- },
2174
- ecobee_metadata: {
2175
- properties: {
2176
- device_name: { type: 'string' },
2177
- ecobee_device_id: { type: 'string' },
2178
- },
2179
- required: ['ecobee_device_id', 'device_name'],
2180
- type: 'object',
2181
- },
2182
- four_suites_metadata: {
2183
- properties: {
2184
- device_id: { type: 'number' },
2185
- device_name: { type: 'string' },
2186
- reclose_delay_in_seconds: { type: 'number' },
2187
- },
2188
- required: [
2189
- 'device_id',
2190
- 'device_name',
2191
- 'reclose_delay_in_seconds',
2192
- ],
2193
- type: 'object',
2194
- },
2195
- genie_metadata: {
2196
- properties: {
2197
- device_name: { type: 'string' },
2198
- door_name: { type: 'string' },
2199
- },
2200
- required: ['device_name', 'door_name'],
2201
- type: 'object',
2202
- },
2203
- hubitat_metadata: {
2204
- properties: {
2205
- device_id: { type: 'string' },
2206
- device_label: { type: 'string' },
2207
- device_name: { type: 'string' },
2208
- },
2209
- required: [
2210
- 'device_id',
2211
- 'device_name',
2212
- 'device_label',
2213
- ],
2214
- type: 'object',
2215
- },
2216
- igloo_metadata: {
2217
- properties: {
2218
- bridge_id: { type: 'string' },
2219
- device_id: { type: 'string' },
2220
- model: { type: 'string' },
2221
- },
2222
- required: ['device_id', 'bridge_id'],
2223
- type: 'object',
2224
- },
2225
- igloohome_metadata: {
2226
- properties: {
2227
- bridge_id: { type: 'string' },
2228
- bridge_name: { type: 'string' },
2229
- device_id: { type: 'string' },
2230
- device_name: { type: 'string' },
2231
- },
2232
- required: ['device_id', 'device_name'],
2233
- type: 'object',
2234
- },
2235
- kwikset_metadata: {
2236
- properties: {
2237
- device_id: { type: 'string' },
2238
- device_name: { type: 'string' },
2239
- model_number: { type: 'string' },
2240
- },
2241
- required: [
2242
- 'device_id',
2243
- 'device_name',
2244
- 'model_number',
2245
- ],
2246
- type: 'object',
2247
- },
2248
- lockly_metadata: {
2249
- properties: {
2250
- device_id: { type: 'string' },
2251
- device_name: { type: 'string' },
2252
- model: { type: 'string' },
2253
- },
2254
- required: ['device_id', 'device_name'],
2255
- type: 'object',
2256
- },
2257
- minut_metadata: {
2258
- properties: {
2259
- device_id: { type: 'string' },
2260
- device_name: { type: 'string' },
2261
- latest_sensor_values: {
2262
- properties: {
2263
- accelerometer_z: {
2264
- properties: {
2265
- time: { type: 'string' },
2266
- value: { type: 'number' },
2267
- },
2268
- required: ['time', 'value'],
2269
- type: 'object',
2270
- },
2271
- humidity: {
2272
- properties: {
2273
- time: { type: 'string' },
2274
- value: { type: 'number' },
2275
- },
2276
- required: ['time', 'value'],
2277
- type: 'object',
2278
- },
2279
- pressure: {
2280
- properties: {
2281
- time: { type: 'string' },
2282
- value: { type: 'number' },
2283
- },
2284
- required: ['time', 'value'],
2285
- type: 'object',
2286
- },
2287
- sound: {
2288
- properties: {
2289
- time: { type: 'string' },
2290
- value: { type: 'number' },
2291
- },
2292
- required: ['time', 'value'],
2293
- type: 'object',
2294
- },
2295
- temperature: {
2296
- properties: {
2297
- time: { type: 'string' },
2298
- value: { type: 'number' },
2299
- },
2300
- required: ['time', 'value'],
2301
- type: 'object',
2302
- },
2303
- },
2304
- required: [
2305
- 'temperature',
2306
- 'sound',
2307
- 'humidity',
2308
- 'pressure',
2309
- 'accelerometer_z',
2310
- ],
2311
- type: 'object',
2312
- },
2313
- },
2314
- required: [
2315
- 'device_id',
2316
- 'device_name',
2317
- 'latest_sensor_values',
2318
- ],
2319
- type: 'object',
2320
- },
2321
- nest_metadata: {
2322
- properties: {
2323
- custom_name: { type: 'string' },
2324
- device_name: { type: 'string' },
2325
- nest_device_id: { type: 'string' },
2326
- },
2327
- required: [
2328
- 'nest_device_id',
2329
- 'device_name',
2330
- 'custom_name',
2331
- ],
2332
- type: 'object',
2333
- },
2334
- noiseaware_metadata: {
2335
- properties: {
2336
- device_id: { type: 'string' },
2337
- device_model: {
2338
- enum: ['indoor', 'outdoor'],
2339
- type: 'string',
2340
- },
2341
- device_name: { type: 'string' },
2342
- noise_level_decibel: { type: 'number' },
2343
- noise_level_nrs: { type: 'number' },
2344
- },
2345
- required: [
2346
- 'device_model',
2347
- 'noise_level_nrs',
2348
- 'noise_level_decibel',
2349
- 'device_name',
2350
- 'device_id',
2351
- ],
2352
- type: 'object',
2353
- },
2354
- nuki_metadata: {
2355
- properties: {
2356
- device_id: { type: 'string' },
2357
- device_name: { type: 'string' },
2358
- keypad_battery_critical: { type: 'boolean' },
2359
- },
2360
- required: ['device_id', 'device_name'],
2361
- type: 'object',
2362
- },
2363
- salto_metadata: {
2364
- properties: {
2365
- battery_level: { type: 'string' },
2366
- customer_reference: { type: 'string' },
2367
- lock_id: { type: 'string' },
2368
- lock_type: { type: 'string' },
2369
- locked_state: { type: 'string' },
2370
- model: { type: 'string' },
2371
- },
2372
- required: [
2373
- 'lock_id',
2374
- 'customer_reference',
2375
- 'lock_type',
2376
- 'battery_level',
2377
- 'locked_state',
2378
- ],
2379
- type: 'object',
2380
- },
2381
- schlage_metadata: {
2382
- properties: {
2383
- access_code_length: { type: 'number' },
2384
- device_id: { type: 'string' },
2385
- device_name: { type: 'string' },
2386
- model: { type: 'string' },
2387
- },
2388
- required: [
2389
- 'device_id',
2390
- 'device_name',
2391
- 'access_code_length',
2392
- ],
2393
- type: 'object',
2394
- },
2395
- seam_bridge_metadata: {
2396
- properties: {
2397
- device_num: { type: 'number' },
2398
- name: { type: 'string' },
2399
- unlock_method: {
2400
- enum: ['bridge', 'doorking'],
2401
- type: 'string',
2402
- },
2403
- },
2404
- required: ['device_num', 'name'],
2405
- type: 'object',
2406
- },
2407
- smartthings_metadata: {
2408
- properties: {
2409
- device_id: { type: 'string' },
2410
- device_name: { type: 'string' },
2411
- location_id: { type: 'string' },
2412
- model: { type: 'string' },
2413
- },
2414
- required: ['device_id', 'device_name'],
2415
- type: 'object',
2416
- },
2417
- ttlock_metadata: {
2418
- properties: {
2419
- lock_alias: { type: 'string' },
2420
- lock_id: { type: 'number' },
2421
- },
2422
- required: ['lock_id', 'lock_alias'],
2423
- type: 'object',
2424
- },
2425
- two_n_metadata: {
2426
- properties: {
2427
- device_id: { type: 'number' },
2428
- device_name: { type: 'string' },
2429
- },
2430
- required: ['device_id', 'device_name'],
2431
- type: 'object',
2432
- },
2433
- wyze_metadata: {
2434
- properties: {
2435
- device_id: { type: 'string' },
2436
- device_info_model: { type: 'string' },
2437
- device_name: { type: 'string' },
2438
- product_model: { type: 'string' },
2439
- product_name: { type: 'string' },
2440
- product_type: { type: 'string' },
2441
- },
2442
- required: [
2443
- 'device_id',
2444
- 'device_name',
2445
- 'product_name',
2446
- 'product_type',
2447
- 'product_model',
2448
- 'device_info_model',
2449
- ],
2450
- type: 'object',
2451
- },
2452
- },
2453
- type: 'object',
2454
- },
2455
- ],
2456
- },
2457
- {
2458
- allOf: [
2459
- {
2460
- properties: {
2461
- _experimental_supported_code_from_access_codes_lengths:
2462
- { items: { type: 'number' }, type: 'array' },
2463
- code_constraints: {
2464
- items: {
2465
- oneOf: [
2466
- {
2467
- properties: {
2468
- constraint_type: {
2469
- enum: [
2470
- 'no_zeros',
2471
- 'cannot_start_with_12',
2472
- 'no_triple_consecutive_ints',
2473
- 'cannot_specify_pin_code',
2474
- 'pin_code_matches_existing_set',
2475
- 'start_date_in_future',
2476
- ],
2477
- type: 'string',
2478
- },
2479
- },
2480
- required: ['constraint_type'],
2481
- type: 'object',
2482
- },
2483
- {
2484
- properties: {
2485
- constraint_type: {
2486
- enum: ['name_length'],
2487
- type: 'string',
2488
- },
2489
- max_length: { type: 'number' },
2490
- min_length: { type: 'number' },
2491
- },
2492
- required: ['constraint_type'],
2493
- type: 'object',
2494
- },
2495
- ],
2496
- },
2497
- type: 'array',
2498
- },
2499
- door_open: { type: 'boolean' },
2500
- has_native_entry_events: { type: 'boolean' },
2501
- keypad_battery: {
2502
- properties: { level: { type: 'number' } },
2503
- required: ['level'],
2504
- type: 'object',
2505
- },
2506
- locked: { type: 'boolean' },
2507
- max_active_codes_supported: { type: 'number' },
2508
- supported_code_lengths: {
2509
- items: { type: 'number' },
2510
- type: 'array',
2511
- },
2512
- supports_backup_access_code_pool: { type: 'boolean' },
2513
- },
2514
- type: 'object',
2515
- },
2516
- {
2517
- oneOf: [
2518
- {
2519
- properties: {
2520
- active_climate_setting_schedule: {
2521
- properties: {
2522
- automatic_cooling_enabled: {
2523
- type: 'boolean',
2524
- },
2525
- automatic_heating_enabled: {
2526
- type: 'boolean',
2527
- },
2528
- climate_setting_schedule_id: {
2529
- format: 'uuid',
2530
- type: 'string',
2531
- },
2532
- cooling_set_point_celsius: { type: 'number' },
2533
- cooling_set_point_fahrenheit: {
2534
- type: 'number',
2535
- },
2536
- created_at: {
2537
- format: 'date-time',
2538
- type: 'string',
2539
- },
2540
- device_id: { type: 'string' },
2541
- errors: {
2542
- description:
2543
- 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
2544
- nullable: true,
2545
- },
2546
- heating_set_point_celsius: { type: 'number' },
2547
- heating_set_point_fahrenheit: {
2548
- type: 'number',
2549
- },
2550
- hvac_mode_setting: {
2551
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2552
- type: 'string',
2553
- },
2554
- manual_override_allowed: { type: 'boolean' },
2555
- name: { type: 'string' },
2556
- schedule_ends_at: { type: 'string' },
2557
- schedule_starts_at: { type: 'string' },
2558
- schedule_type: {
2559
- enum: ['time_bound'],
2560
- type: 'string',
2561
- },
2562
- },
2563
- required: [
2564
- 'climate_setting_schedule_id',
2565
- 'schedule_type',
2566
- 'device_id',
2567
- 'schedule_starts_at',
2568
- 'schedule_ends_at',
2569
- 'created_at',
2570
- ],
2571
- type: 'object',
2572
- },
2573
- available_hvac_mode_settings: {
2574
- items: {
2575
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2576
- type: 'string',
2577
- },
2578
- type: 'array',
2579
- },
2580
- can_enable_automatic_cooling: { type: 'boolean' },
2581
- can_enable_automatic_heating: { type: 'boolean' },
2582
- current_climate_setting: {
2583
- properties: {
2584
- automatic_cooling_enabled: {
2585
- type: 'boolean',
2586
- },
2587
- automatic_heating_enabled: {
2588
- type: 'boolean',
2589
- },
2590
- cooling_set_point_celsius: { type: 'number' },
2591
- cooling_set_point_fahrenheit: {
2592
- type: 'number',
2593
- },
2594
- heating_set_point_celsius: { type: 'number' },
2595
- heating_set_point_fahrenheit: {
2596
- type: 'number',
2597
- },
2598
- hvac_mode_setting: {
2599
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2600
- type: 'string',
2601
- },
2602
- manual_override_allowed: { type: 'boolean' },
2603
- },
2604
- required: [
2605
- 'automatic_heating_enabled',
2606
- 'automatic_cooling_enabled',
2607
- 'hvac_mode_setting',
2608
- 'manual_override_allowed',
2609
- ],
2610
- type: 'object',
2611
- },
2612
- default_climate_setting: {
2613
- properties: {
2614
- automatic_cooling_enabled: {
2615
- type: 'boolean',
2616
- },
2617
- automatic_heating_enabled: {
2618
- type: 'boolean',
2619
- },
2620
- cooling_set_point_celsius: { type: 'number' },
2621
- cooling_set_point_fahrenheit: {
2622
- type: 'number',
2623
- },
2624
- heating_set_point_celsius: { type: 'number' },
2625
- heating_set_point_fahrenheit: {
2626
- type: 'number',
2627
- },
2628
- hvac_mode_setting: {
2629
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2630
- type: 'string',
2631
- },
2632
- manual_override_allowed: { type: 'boolean' },
2633
- },
2634
- required: [
2635
- 'automatic_heating_enabled',
2636
- 'automatic_cooling_enabled',
2637
- 'hvac_mode_setting',
2638
- 'manual_override_allowed',
2639
- ],
2640
- type: 'object',
2641
- },
2642
- fan_mode_setting: {
2643
- enum: ['auto', 'on'],
2644
- type: 'string',
2645
- },
2646
- is_climate_setting_schedule_active: {
2647
- type: 'boolean',
2648
- },
2649
- is_cooling: { type: 'boolean' },
2650
- is_cooling_available: {
2651
- enum: [true],
2652
- type: 'boolean',
2653
- },
2654
- is_fan_running: { type: 'boolean' },
2655
- is_heating: { type: 'boolean' },
2656
- is_heating_available: {
2657
- enum: [true],
2658
- type: 'boolean',
2659
- },
2660
- is_temporary_manual_override_active: {
2661
- type: 'boolean',
2662
- },
2663
- max_cooling_set_point_celsius: { type: 'number' },
2664
- max_cooling_set_point_fahrenheit: {
2665
- type: 'number',
2666
- },
2667
- max_heating_set_point_celsius: { type: 'number' },
2668
- max_heating_set_point_fahrenheit: {
2669
- type: 'number',
2670
- },
2671
- min_cooling_set_point_celsius: { type: 'number' },
2672
- min_cooling_set_point_fahrenheit: {
2673
- type: 'number',
2674
- },
2675
- min_heating_cooling_delta_celsius: {
2676
- type: 'number',
2677
- },
2678
- min_heating_cooling_delta_fahrenheit: {
2679
- type: 'number',
2680
- },
2681
- min_heating_set_point_celsius: { type: 'number' },
2682
- min_heating_set_point_fahrenheit: {
2683
- type: 'number',
2684
- },
2685
- relative_humidity: {
2686
- maximum: 1,
2687
- minimum: 0,
2688
- type: 'number',
2689
- },
2690
- temperature_celsius: { type: 'number' },
2691
- temperature_fahrenheit: { type: 'number' },
2692
- },
2693
- type: 'object',
2694
- },
2695
- {
2696
- properties: {
2697
- active_climate_setting_schedule: {
2698
- properties: {
2699
- automatic_cooling_enabled: {
2700
- type: 'boolean',
2701
- },
2702
- automatic_heating_enabled: {
2703
- type: 'boolean',
2704
- },
2705
- climate_setting_schedule_id: {
2706
- format: 'uuid',
2707
- type: 'string',
2708
- },
2709
- cooling_set_point_celsius: { type: 'number' },
2710
- cooling_set_point_fahrenheit: {
2711
- type: 'number',
2712
- },
2713
- created_at: {
2714
- format: 'date-time',
2715
- type: 'string',
2716
- },
2717
- device_id: { type: 'string' },
2718
- errors: {
2719
- description:
2720
- 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
2721
- nullable: true,
2722
- },
2723
- heating_set_point_celsius: { type: 'number' },
2724
- heating_set_point_fahrenheit: {
2725
- type: 'number',
2726
- },
2727
- hvac_mode_setting: {
2728
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2729
- type: 'string',
2730
- },
2731
- manual_override_allowed: { type: 'boolean' },
2732
- name: { type: 'string' },
2733
- schedule_ends_at: { type: 'string' },
2734
- schedule_starts_at: { type: 'string' },
2735
- schedule_type: {
2736
- enum: ['time_bound'],
2737
- type: 'string',
2738
- },
2739
- },
2740
- required: [
2741
- 'climate_setting_schedule_id',
2742
- 'schedule_type',
2743
- 'device_id',
2744
- 'schedule_starts_at',
2745
- 'schedule_ends_at',
2746
- 'created_at',
2747
- ],
2748
- type: 'object',
2749
- },
2750
- available_hvac_mode_settings: {
2751
- items: {
2752
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2753
- type: 'string',
2754
- },
2755
- type: 'array',
2756
- },
2757
- can_enable_automatic_cooling: { type: 'boolean' },
2758
- can_enable_automatic_heating: { type: 'boolean' },
2759
- current_climate_setting: {
2760
- properties: {
2761
- automatic_cooling_enabled: {
2762
- type: 'boolean',
2763
- },
2764
- automatic_heating_enabled: {
2765
- type: 'boolean',
2766
- },
2767
- cooling_set_point_celsius: { type: 'number' },
2768
- cooling_set_point_fahrenheit: {
2769
- type: 'number',
2770
- },
2771
- heating_set_point_celsius: { type: 'number' },
2772
- heating_set_point_fahrenheit: {
2773
- type: 'number',
2774
- },
2775
- hvac_mode_setting: {
2776
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2777
- type: 'string',
2778
- },
2779
- manual_override_allowed: { type: 'boolean' },
2780
- },
2781
- required: [
2782
- 'automatic_heating_enabled',
2783
- 'automatic_cooling_enabled',
2784
- 'hvac_mode_setting',
2785
- 'manual_override_allowed',
2786
- ],
2787
- type: 'object',
2788
- },
2789
- default_climate_setting: {
2790
- properties: {
2791
- automatic_cooling_enabled: {
2792
- type: 'boolean',
2793
- },
2794
- automatic_heating_enabled: {
2795
- type: 'boolean',
2796
- },
2797
- cooling_set_point_celsius: { type: 'number' },
2798
- cooling_set_point_fahrenheit: {
2799
- type: 'number',
2800
- },
2801
- heating_set_point_celsius: { type: 'number' },
2802
- heating_set_point_fahrenheit: {
2803
- type: 'number',
2804
- },
2805
- hvac_mode_setting: {
2806
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2807
- type: 'string',
2808
- },
2809
- manual_override_allowed: { type: 'boolean' },
2810
- },
2811
- required: [
2812
- 'automatic_heating_enabled',
2813
- 'automatic_cooling_enabled',
2814
- 'hvac_mode_setting',
2815
- 'manual_override_allowed',
2816
- ],
2817
- type: 'object',
2818
- },
2819
- fan_mode_setting: {
2820
- enum: ['auto', 'on'],
2821
- type: 'string',
2822
- },
2823
- is_climate_setting_schedule_active: {
2824
- type: 'boolean',
2825
- },
2826
- is_cooling: { type: 'boolean' },
2827
- is_cooling_available: {
2828
- enum: [false],
2829
- type: 'boolean',
2830
- },
2831
- is_fan_running: { type: 'boolean' },
2832
- is_heating: { type: 'boolean' },
2833
- is_heating_available: {
2834
- enum: [true],
2835
- type: 'boolean',
2836
- },
2837
- is_temporary_manual_override_active: {
2838
- type: 'boolean',
2839
- },
2840
- max_heating_set_point_celsius: { type: 'number' },
2841
- max_heating_set_point_fahrenheit: {
2842
- type: 'number',
2843
- },
2844
- min_heating_set_point_celsius: { type: 'number' },
2845
- min_heating_set_point_fahrenheit: {
2846
- type: 'number',
2847
- },
2848
- relative_humidity: {
2849
- maximum: 1,
2850
- minimum: 0,
2851
- type: 'number',
2852
- },
2853
- temperature_celsius: { type: 'number' },
2854
- temperature_fahrenheit: { type: 'number' },
2855
- },
2856
- type: 'object',
2857
- },
2858
- {
2859
- properties: {
2860
- active_climate_setting_schedule: {
2861
- properties: {
2862
- automatic_cooling_enabled: {
2863
- type: 'boolean',
2864
- },
2865
- automatic_heating_enabled: {
2866
- type: 'boolean',
2867
- },
2868
- climate_setting_schedule_id: {
2869
- format: 'uuid',
2870
- type: 'string',
2871
- },
2872
- cooling_set_point_celsius: { type: 'number' },
2873
- cooling_set_point_fahrenheit: {
2874
- type: 'number',
2875
- },
2876
- created_at: {
2877
- format: 'date-time',
2878
- type: 'string',
2879
- },
2880
- device_id: { type: 'string' },
2881
- errors: {
2882
- description:
2883
- 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
2884
- nullable: true,
2885
- },
2886
- heating_set_point_celsius: { type: 'number' },
2887
- heating_set_point_fahrenheit: {
2888
- type: 'number',
2889
- },
2890
- hvac_mode_setting: {
2891
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2892
- type: 'string',
2893
- },
2894
- manual_override_allowed: { type: 'boolean' },
2895
- name: { type: 'string' },
2896
- schedule_ends_at: { type: 'string' },
2897
- schedule_starts_at: { type: 'string' },
2898
- schedule_type: {
2899
- enum: ['time_bound'],
2900
- type: 'string',
2901
- },
2902
- },
2903
- required: [
2904
- 'climate_setting_schedule_id',
2905
- 'schedule_type',
2906
- 'device_id',
2907
- 'schedule_starts_at',
2908
- 'schedule_ends_at',
2909
- 'created_at',
2910
- ],
2911
- type: 'object',
2912
- },
2913
- available_hvac_mode_settings: {
2914
- items: {
2915
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2916
- type: 'string',
2917
- },
2918
- type: 'array',
2919
- },
2920
- can_enable_automatic_cooling: { type: 'boolean' },
2921
- can_enable_automatic_heating: { type: 'boolean' },
2922
- current_climate_setting: {
2923
- properties: {
2924
- automatic_cooling_enabled: {
2925
- type: 'boolean',
2926
- },
2927
- automatic_heating_enabled: {
2928
- type: 'boolean',
2929
- },
2930
- cooling_set_point_celsius: { type: 'number' },
2931
- cooling_set_point_fahrenheit: {
2932
- type: 'number',
2933
- },
2934
- heating_set_point_celsius: { type: 'number' },
2935
- heating_set_point_fahrenheit: {
2936
- type: 'number',
2937
- },
2938
- hvac_mode_setting: {
2939
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2940
- type: 'string',
2941
- },
2942
- manual_override_allowed: { type: 'boolean' },
2943
- },
2944
- required: [
2945
- 'automatic_heating_enabled',
2946
- 'automatic_cooling_enabled',
2947
- 'hvac_mode_setting',
2948
- 'manual_override_allowed',
2949
- ],
2950
- type: 'object',
2951
- },
2952
- default_climate_setting: {
2953
- properties: {
2954
- automatic_cooling_enabled: {
2955
- type: 'boolean',
2956
- },
2957
- automatic_heating_enabled: {
2958
- type: 'boolean',
2959
- },
2960
- cooling_set_point_celsius: { type: 'number' },
2961
- cooling_set_point_fahrenheit: {
2962
- type: 'number',
2963
- },
2964
- heating_set_point_celsius: { type: 'number' },
2965
- heating_set_point_fahrenheit: {
2966
- type: 'number',
2967
- },
2968
- hvac_mode_setting: {
2969
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2970
- type: 'string',
2971
- },
2972
- manual_override_allowed: { type: 'boolean' },
2973
- },
2974
- required: [
2975
- 'automatic_heating_enabled',
2976
- 'automatic_cooling_enabled',
2977
- 'hvac_mode_setting',
2978
- 'manual_override_allowed',
2979
- ],
2980
- type: 'object',
2981
- },
2982
- fan_mode_setting: {
2983
- enum: ['auto', 'on'],
2984
- type: 'string',
2985
- },
2986
- is_climate_setting_schedule_active: {
2987
- type: 'boolean',
2988
- },
2989
- is_cooling: { type: 'boolean' },
2990
- is_cooling_available: {
2991
- enum: [true],
2992
- type: 'boolean',
2993
- },
2994
- is_fan_running: { type: 'boolean' },
2995
- is_heating: { type: 'boolean' },
2996
- is_heating_available: {
2997
- enum: [false],
2998
- type: 'boolean',
2999
- },
3000
- is_temporary_manual_override_active: {
3001
- type: 'boolean',
3002
- },
3003
- max_cooling_set_point_celsius: { type: 'number' },
3004
- max_cooling_set_point_fahrenheit: {
3005
- type: 'number',
3006
- },
3007
- min_cooling_set_point_celsius: { type: 'number' },
3008
- min_cooling_set_point_fahrenheit: {
3009
- type: 'number',
3010
- },
3011
- relative_humidity: {
3012
- maximum: 1,
3013
- minimum: 0,
3014
- type: 'number',
3015
- },
3016
- temperature_celsius: { type: 'number' },
3017
- temperature_fahrenheit: { type: 'number' },
3018
- },
3019
- type: 'object',
3020
- },
3021
- ],
3022
- },
3023
- ],
3024
- },
3025
- ],
3026
- },
3027
- {
3028
- properties: {
3029
- assa_abloy_credential_service_metadata: {
3030
- properties: {
3031
- endpoints: {
3032
- items: {
3033
- properties: {
3034
- endpoint_id: { type: 'string' },
3035
- is_active: { type: 'boolean' },
3036
- },
3037
- required: ['endpoint_id', 'is_active'],
3038
- type: 'object',
3039
- },
3040
- type: 'array',
3041
- },
3042
- has_active_endpoint: { type: 'boolean' },
1839
+ required: ['endpoint_id', 'is_active'],
1840
+ type: 'object',
3043
1841
  },
3044
- required: ['has_active_endpoint', 'endpoints'],
3045
- type: 'object',
1842
+ type: 'array',
3046
1843
  },
1844
+ has_active_endpoint: { type: 'boolean' },
3047
1845
  },
1846
+ required: ['has_active_endpoint', 'endpoints'],
3048
1847
  type: 'object',
3049
1848
  },
3050
- ],
3051
- description: 'Properties of the device.',
1849
+ },
1850
+ type: 'object',
3052
1851
  },
3053
1852
  warnings: {
3054
1853
  description: