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