@seamapi/types 1.91.0 → 1.91.2

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.
@@ -1680,22 +1680,27 @@ export default {
1680
1680
  },
1681
1681
  {
1682
1682
  properties: {
1683
- assa_abloy_credential_service_metadata: {
1683
+ properties: {
1684
1684
  properties: {
1685
- endpoints: {
1686
- items: {
1687
- properties: {
1688
- endpoint_id: { type: 'string' },
1689
- is_active: { type: 'boolean' },
1685
+ assa_abloy_credential_service_metadata: {
1686
+ properties: {
1687
+ endpoints: {
1688
+ items: {
1689
+ properties: {
1690
+ endpoint_id: { type: 'string' },
1691
+ is_active: { type: 'boolean' },
1692
+ },
1693
+ required: ['endpoint_id', 'is_active'],
1694
+ type: 'object',
1695
+ },
1696
+ type: 'array',
1690
1697
  },
1691
- required: ['endpoint_id', 'is_active'],
1692
- type: 'object',
1698
+ has_active_endpoint: { type: 'boolean' },
1693
1699
  },
1694
- type: 'array',
1700
+ required: ['has_active_endpoint', 'endpoints'],
1701
+ type: 'object',
1695
1702
  },
1696
- has_active_endpoint: { type: 'boolean' },
1697
1703
  },
1698
- required: ['has_active_endpoint', 'endpoints'],
1699
1704
  type: 'object',
1700
1705
  },
1701
1706
  },
@@ -1812,24 +1817,6 @@ export default {
1812
1817
  },
1813
1818
  phone: {
1814
1819
  properties: {
1815
- assa_abloy_credential_service_metadata: {
1816
- properties: {
1817
- endpoints: {
1818
- items: {
1819
- properties: {
1820
- endpoint_id: { type: 'string' },
1821
- is_active: { type: 'boolean' },
1822
- },
1823
- required: ['endpoint_id', 'is_active'],
1824
- type: 'object',
1825
- },
1826
- type: 'array',
1827
- },
1828
- has_active_endpoint: { type: 'boolean' },
1829
- },
1830
- required: ['has_active_endpoint', 'endpoints'],
1831
- type: 'object',
1832
- },
1833
1820
  capabilities_supported: {
1834
1821
  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.',
1835
1822
  items: {
@@ -1900,1092 +1887,27 @@ export default {
1900
1887
  type: 'object',
1901
1888
  },
1902
1889
  properties: {
1903
- allOf: [
1904
- {
1905
- allOf: [
1906
- {
1907
- allOf: [
1908
- {
1909
- properties: {
1910
- battery: {
1911
- 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.',
1912
- properties: {
1913
- level: { maximum: 1, minimum: 0, type: 'number' },
1914
- status: {
1915
- enum: ['critical', 'low', 'good', 'full'],
1916
- type: 'string',
1917
- },
1918
- },
1919
- required: ['level', 'status'],
1920
- type: 'object',
1921
- },
1922
- battery_level: {
1923
- description: 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
1924
- maximum: 1,
1925
- minimum: 0,
1926
- type: 'number',
1927
- },
1928
- has_direct_power: {
1929
- description: 'Indicates whether the device has direct power.',
1930
- type: 'boolean',
1931
- },
1932
- image_alt_text: {
1933
- description: 'Alt text for the device image.',
1934
- type: 'string',
1935
- },
1936
- image_url: {
1937
- description: 'Image URL for the device.',
1938
- format: 'uri',
1939
- type: 'string',
1940
- },
1941
- manufacturer: {
1942
- description: 'Manufacturer of the device.',
1943
- type: 'string',
1944
- },
1945
- model: {
1946
- properties: {
1947
- accessory_keypad_supported: {
1948
- description: 'Indicates whether the device supports an accessory keypad.',
1949
- type: 'boolean',
1950
- },
1951
- display_name: {
1952
- description: 'Display name of the device model.',
1953
- type: 'string',
1954
- },
1955
- manufacturer_display_name: {
1956
- description: 'Display name that corresponds to the manufacturer-specific terminology for the device.',
1957
- type: 'string',
1958
- },
1959
- offline_access_codes_supported: {
1960
- description: 'Indicates whether the device supports offline access codes.',
1961
- type: 'boolean',
1962
- },
1963
- online_access_codes_supported: {
1964
- description: 'Indicates whether the device supports online access codes.',
1965
- type: 'boolean',
1966
- },
1967
- },
1968
- required: [
1969
- 'display_name',
1970
- 'manufacturer_display_name',
1971
- ],
1972
- type: 'object',
1973
- },
1974
- name: {
1975
- description: 'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
1976
- type: 'string',
1977
- },
1978
- offline_access_codes_enabled: {
1979
- description: 'Indicates whether it is currently possible to use offline access codes for the device.',
1980
- type: 'boolean',
1981
- },
1982
- online: {
1983
- description: 'Indicates whether the device is online.',
1984
- type: 'boolean',
1985
- },
1986
- online_access_codes_enabled: {
1987
- description: 'Indicates whether it is currently possible to use online access codes for the device.',
1988
- type: 'boolean',
1989
- },
1990
- serial_number: {
1991
- description: 'Serial number of the device.',
1992
- type: 'string',
1993
- },
1994
- supports_accessory_keypad: {
1995
- description: 'Deprecated. Use model.accessory_keypad_supported.',
1996
- type: 'boolean',
1997
- },
1998
- supports_offline_access_codes: {
1999
- description: 'Deprecated. Use offline_access_codes_enabled.',
2000
- type: 'boolean',
2001
- },
2002
- },
2003
- required: ['online', 'name', 'model'],
2004
- type: 'object',
1890
+ properties: {
1891
+ assa_abloy_credential_service_metadata: {
1892
+ properties: {
1893
+ endpoints: {
1894
+ items: {
1895
+ properties: {
1896
+ endpoint_id: { type: 'string' },
1897
+ is_active: { type: 'boolean' },
2005
1898
  },
2006
- {
2007
- properties: {
2008
- august_metadata: {
2009
- properties: {
2010
- has_keypad: { type: 'boolean' },
2011
- house_id: { type: 'string' },
2012
- house_name: { type: 'string' },
2013
- keypad_battery_level: { type: 'string' },
2014
- lock_id: { type: 'string' },
2015
- lock_name: { type: 'string' },
2016
- model: { type: 'string' },
2017
- },
2018
- required: [
2019
- 'lock_id',
2020
- 'lock_name',
2021
- 'house_name',
2022
- 'has_keypad',
2023
- ],
2024
- type: 'object',
2025
- },
2026
- avigilon_alta_metadata: {
2027
- properties: {
2028
- entry_name: { type: 'string' },
2029
- org_name: { type: 'string' },
2030
- site_id: { type: 'number' },
2031
- site_name: { type: 'string' },
2032
- zone_id: { type: 'number' },
2033
- zone_name: { type: 'string' },
2034
- },
2035
- required: [
2036
- 'entry_name',
2037
- 'org_name',
2038
- 'zone_id',
2039
- 'zone_name',
2040
- 'site_id',
2041
- 'site_name',
2042
- ],
2043
- type: 'object',
2044
- },
2045
- brivo_metadata: {
2046
- properties: { device_name: { type: 'string' } },
2047
- required: ['device_name'],
2048
- type: 'object',
2049
- },
2050
- controlbyweb_metadata: {
2051
- properties: {
2052
- device_id: { type: 'string' },
2053
- device_name: { type: 'string' },
2054
- relay_name: { nullable: true, type: 'string' },
2055
- },
2056
- required: [
2057
- 'device_id',
2058
- 'device_name',
2059
- 'relay_name',
2060
- ],
2061
- type: 'object',
2062
- },
2063
- dormakaba_oracode_metadata: {
2064
- properties: {
2065
- device_id: { type: 'number' },
2066
- door_id: { type: 'number' },
2067
- door_name: { type: 'string' },
2068
- iana_timezone: { type: 'string' },
2069
- predefined_time_slots: {
2070
- items: {
2071
- properties: {
2072
- check_in_time: { type: 'string' },
2073
- check_out_time: { type: 'string' },
2074
- dormakaba_oracode_user_level_id: {
2075
- format: 'uuid',
2076
- type: 'string',
2077
- },
2078
- ext_dormakaba_oracode_user_level_prefix: {
2079
- type: 'number',
2080
- },
2081
- is_24_hour: { type: 'boolean' },
2082
- is_biweekly_mode: { type: 'boolean' },
2083
- is_master: { type: 'boolean' },
2084
- is_one_shot: { type: 'boolean' },
2085
- name: { type: 'string' },
2086
- prefix: { type: 'number' },
2087
- },
2088
- required: [
2089
- 'name',
2090
- 'prefix',
2091
- 'check_in_time',
2092
- 'check_out_time',
2093
- 'is_24_hour',
2094
- 'is_biweekly_mode',
2095
- 'is_one_shot',
2096
- 'is_master',
2097
- 'ext_dormakaba_oracode_user_level_prefix',
2098
- 'dormakaba_oracode_user_level_id',
2099
- ],
2100
- type: 'object',
2101
- },
2102
- type: 'array',
2103
- },
2104
- site_id: { type: 'number' },
2105
- site_name: { type: 'string' },
2106
- },
2107
- required: [
2108
- 'door_id',
2109
- 'door_name',
2110
- 'site_id',
2111
- 'site_name',
2112
- ],
2113
- type: 'object',
2114
- },
2115
- ecobee_metadata: {
2116
- properties: {
2117
- device_name: { type: 'string' },
2118
- ecobee_device_id: { type: 'string' },
2119
- },
2120
- required: ['ecobee_device_id', 'device_name'],
2121
- type: 'object',
2122
- },
2123
- four_suites_metadata: {
2124
- properties: {
2125
- device_id: { type: 'number' },
2126
- device_name: { type: 'string' },
2127
- reclose_delay_in_seconds: { type: 'number' },
2128
- },
2129
- required: [
2130
- 'device_id',
2131
- 'device_name',
2132
- 'reclose_delay_in_seconds',
2133
- ],
2134
- type: 'object',
2135
- },
2136
- genie_metadata: {
2137
- properties: {
2138
- device_name: { type: 'string' },
2139
- door_name: { type: 'string' },
2140
- },
2141
- required: ['device_name', 'door_name'],
2142
- type: 'object',
2143
- },
2144
- hubitat_metadata: {
2145
- properties: {
2146
- device_id: { type: 'string' },
2147
- device_label: { type: 'string' },
2148
- device_name: { type: 'string' },
2149
- },
2150
- required: [
2151
- 'device_id',
2152
- 'device_name',
2153
- 'device_label',
2154
- ],
2155
- type: 'object',
2156
- },
2157
- igloo_metadata: {
2158
- properties: {
2159
- bridge_id: { type: 'string' },
2160
- device_id: { type: 'string' },
2161
- model: { type: 'string' },
2162
- },
2163
- required: ['device_id', 'bridge_id'],
2164
- type: 'object',
2165
- },
2166
- igloohome_metadata: {
2167
- properties: {
2168
- bridge_id: { type: 'string' },
2169
- bridge_name: { type: 'string' },
2170
- device_id: { type: 'string' },
2171
- device_name: { type: 'string' },
2172
- },
2173
- required: ['device_id', 'device_name'],
2174
- type: 'object',
2175
- },
2176
- kwikset_metadata: {
2177
- properties: {
2178
- device_id: { type: 'string' },
2179
- device_name: { type: 'string' },
2180
- model_number: { type: 'string' },
2181
- },
2182
- required: [
2183
- 'device_id',
2184
- 'device_name',
2185
- 'model_number',
2186
- ],
2187
- type: 'object',
2188
- },
2189
- lockly_metadata: {
2190
- properties: {
2191
- device_id: { type: 'string' },
2192
- device_name: { type: 'string' },
2193
- model: { type: 'string' },
2194
- },
2195
- required: ['device_id', 'device_name'],
2196
- type: 'object',
2197
- },
2198
- minut_metadata: {
2199
- properties: {
2200
- device_id: { type: 'string' },
2201
- device_name: { type: 'string' },
2202
- latest_sensor_values: {
2203
- properties: {
2204
- accelerometer_z: {
2205
- properties: {
2206
- time: { type: 'string' },
2207
- value: { type: 'number' },
2208
- },
2209
- required: ['time', 'value'],
2210
- type: 'object',
2211
- },
2212
- humidity: {
2213
- properties: {
2214
- time: { type: 'string' },
2215
- value: { type: 'number' },
2216
- },
2217
- required: ['time', 'value'],
2218
- type: 'object',
2219
- },
2220
- pressure: {
2221
- properties: {
2222
- time: { type: 'string' },
2223
- value: { type: 'number' },
2224
- },
2225
- required: ['time', 'value'],
2226
- type: 'object',
2227
- },
2228
- sound: {
2229
- properties: {
2230
- time: { type: 'string' },
2231
- value: { type: 'number' },
2232
- },
2233
- required: ['time', 'value'],
2234
- type: 'object',
2235
- },
2236
- temperature: {
2237
- properties: {
2238
- time: { type: 'string' },
2239
- value: { type: 'number' },
2240
- },
2241
- required: ['time', 'value'],
2242
- type: 'object',
2243
- },
2244
- },
2245
- required: [
2246
- 'temperature',
2247
- 'sound',
2248
- 'humidity',
2249
- 'pressure',
2250
- 'accelerometer_z',
2251
- ],
2252
- type: 'object',
2253
- },
2254
- },
2255
- required: [
2256
- 'device_id',
2257
- 'device_name',
2258
- 'latest_sensor_values',
2259
- ],
2260
- type: 'object',
2261
- },
2262
- nest_metadata: {
2263
- properties: {
2264
- custom_name: { type: 'string' },
2265
- device_name: { type: 'string' },
2266
- nest_device_id: { type: 'string' },
2267
- },
2268
- required: [
2269
- 'nest_device_id',
2270
- 'device_name',
2271
- 'custom_name',
2272
- ],
2273
- type: 'object',
2274
- },
2275
- noiseaware_metadata: {
2276
- properties: {
2277
- device_id: { type: 'string' },
2278
- device_model: {
2279
- enum: ['indoor', 'outdoor'],
2280
- type: 'string',
2281
- },
2282
- device_name: { type: 'string' },
2283
- noise_level_decibel: { type: 'number' },
2284
- noise_level_nrs: { type: 'number' },
2285
- },
2286
- required: [
2287
- 'device_model',
2288
- 'noise_level_nrs',
2289
- 'noise_level_decibel',
2290
- 'device_name',
2291
- 'device_id',
2292
- ],
2293
- type: 'object',
2294
- },
2295
- nuki_metadata: {
2296
- properties: {
2297
- device_id: { type: 'string' },
2298
- device_name: { type: 'string' },
2299
- keypad_battery_critical: { type: 'boolean' },
2300
- },
2301
- required: ['device_id', 'device_name'],
2302
- type: 'object',
2303
- },
2304
- salto_metadata: {
2305
- properties: {
2306
- battery_level: { type: 'string' },
2307
- customer_reference: { type: 'string' },
2308
- lock_id: { type: 'string' },
2309
- lock_type: { type: 'string' },
2310
- locked_state: { type: 'string' },
2311
- model: { type: 'string' },
2312
- },
2313
- required: [
2314
- 'lock_id',
2315
- 'customer_reference',
2316
- 'lock_type',
2317
- 'battery_level',
2318
- 'locked_state',
2319
- ],
2320
- type: 'object',
2321
- },
2322
- schlage_metadata: {
2323
- properties: {
2324
- access_code_length: { type: 'number' },
2325
- device_id: { type: 'string' },
2326
- device_name: { type: 'string' },
2327
- model: { type: 'string' },
2328
- },
2329
- required: [
2330
- 'device_id',
2331
- 'device_name',
2332
- 'access_code_length',
2333
- ],
2334
- type: 'object',
2335
- },
2336
- seam_bridge_metadata: {
2337
- properties: {
2338
- device_num: { type: 'number' },
2339
- name: { type: 'string' },
2340
- unlock_method: {
2341
- enum: ['bridge', 'doorking'],
2342
- type: 'string',
2343
- },
2344
- },
2345
- required: ['device_num', 'name'],
2346
- type: 'object',
2347
- },
2348
- smartthings_metadata: {
2349
- properties: {
2350
- device_id: { type: 'string' },
2351
- device_name: { type: 'string' },
2352
- location_id: { type: 'string' },
2353
- model: { type: 'string' },
2354
- },
2355
- required: ['device_id', 'device_name'],
2356
- type: 'object',
2357
- },
2358
- ttlock_metadata: {
2359
- properties: {
2360
- lock_alias: { type: 'string' },
2361
- lock_id: { type: 'number' },
2362
- },
2363
- required: ['lock_id', 'lock_alias'],
2364
- type: 'object',
2365
- },
2366
- two_n_metadata: {
2367
- properties: {
2368
- device_id: { type: 'number' },
2369
- device_name: { type: 'string' },
2370
- },
2371
- required: ['device_id', 'device_name'],
2372
- type: 'object',
2373
- },
2374
- wyze_metadata: {
2375
- properties: {
2376
- device_id: { type: 'string' },
2377
- device_info_model: { type: 'string' },
2378
- device_name: { type: 'string' },
2379
- product_model: { type: 'string' },
2380
- product_name: { type: 'string' },
2381
- product_type: { type: 'string' },
2382
- },
2383
- required: [
2384
- 'device_id',
2385
- 'device_name',
2386
- 'product_name',
2387
- 'product_type',
2388
- 'product_model',
2389
- 'device_info_model',
2390
- ],
2391
- type: 'object',
2392
- },
2393
- },
2394
- type: 'object',
2395
- },
2396
- ],
2397
- },
2398
- {
2399
- allOf: [
2400
- {
2401
- properties: {
2402
- _experimental_supported_code_from_access_codes_lengths: { items: { type: 'number' }, type: 'array' },
2403
- code_constraints: {
2404
- items: {
2405
- oneOf: [
2406
- {
2407
- properties: {
2408
- constraint_type: {
2409
- enum: [
2410
- 'no_zeros',
2411
- 'cannot_start_with_12',
2412
- 'no_triple_consecutive_ints',
2413
- 'cannot_specify_pin_code',
2414
- 'pin_code_matches_existing_set',
2415
- 'start_date_in_future',
2416
- ],
2417
- type: 'string',
2418
- },
2419
- },
2420
- required: ['constraint_type'],
2421
- type: 'object',
2422
- },
2423
- {
2424
- properties: {
2425
- constraint_type: {
2426
- enum: ['name_length'],
2427
- type: 'string',
2428
- },
2429
- max_length: { type: 'number' },
2430
- min_length: { type: 'number' },
2431
- },
2432
- required: ['constraint_type'],
2433
- type: 'object',
2434
- },
2435
- ],
2436
- },
2437
- type: 'array',
2438
- },
2439
- door_open: { type: 'boolean' },
2440
- has_native_entry_events: { type: 'boolean' },
2441
- keypad_battery: {
2442
- properties: { level: { type: 'number' } },
2443
- required: ['level'],
2444
- type: 'object',
2445
- },
2446
- locked: { type: 'boolean' },
2447
- max_active_codes_supported: { type: 'number' },
2448
- supported_code_lengths: {
2449
- items: { type: 'number' },
2450
- type: 'array',
2451
- },
2452
- supports_backup_access_code_pool: { type: 'boolean' },
2453
- },
2454
- type: 'object',
2455
- },
2456
- {
2457
- oneOf: [
2458
- {
2459
- properties: {
2460
- active_climate_setting_schedule: {
2461
- properties: {
2462
- automatic_cooling_enabled: {
2463
- type: 'boolean',
2464
- },
2465
- automatic_heating_enabled: {
2466
- type: 'boolean',
2467
- },
2468
- climate_setting_schedule_id: {
2469
- format: 'uuid',
2470
- type: 'string',
2471
- },
2472
- cooling_set_point_celsius: { type: 'number' },
2473
- cooling_set_point_fahrenheit: {
2474
- type: 'number',
2475
- },
2476
- created_at: {
2477
- format: 'date-time',
2478
- type: 'string',
2479
- },
2480
- device_id: { type: 'string' },
2481
- errors: {
2482
- 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.',
2483
- nullable: true,
2484
- },
2485
- heating_set_point_celsius: { type: 'number' },
2486
- heating_set_point_fahrenheit: {
2487
- type: 'number',
2488
- },
2489
- hvac_mode_setting: {
2490
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2491
- type: 'string',
2492
- },
2493
- manual_override_allowed: { type: 'boolean' },
2494
- name: { type: 'string' },
2495
- schedule_ends_at: { type: 'string' },
2496
- schedule_starts_at: { type: 'string' },
2497
- schedule_type: {
2498
- enum: ['time_bound'],
2499
- type: 'string',
2500
- },
2501
- },
2502
- required: [
2503
- 'climate_setting_schedule_id',
2504
- 'schedule_type',
2505
- 'device_id',
2506
- 'schedule_starts_at',
2507
- 'schedule_ends_at',
2508
- 'created_at',
2509
- ],
2510
- type: 'object',
2511
- },
2512
- available_hvac_mode_settings: {
2513
- items: {
2514
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2515
- type: 'string',
2516
- },
2517
- type: 'array',
2518
- },
2519
- can_enable_automatic_cooling: { type: 'boolean' },
2520
- can_enable_automatic_heating: { type: 'boolean' },
2521
- current_climate_setting: {
2522
- properties: {
2523
- automatic_cooling_enabled: {
2524
- type: 'boolean',
2525
- },
2526
- automatic_heating_enabled: {
2527
- type: 'boolean',
2528
- },
2529
- cooling_set_point_celsius: { type: 'number' },
2530
- cooling_set_point_fahrenheit: {
2531
- type: 'number',
2532
- },
2533
- heating_set_point_celsius: { type: 'number' },
2534
- heating_set_point_fahrenheit: {
2535
- type: 'number',
2536
- },
2537
- hvac_mode_setting: {
2538
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2539
- type: 'string',
2540
- },
2541
- manual_override_allowed: { type: 'boolean' },
2542
- },
2543
- required: [
2544
- 'automatic_heating_enabled',
2545
- 'automatic_cooling_enabled',
2546
- 'hvac_mode_setting',
2547
- 'manual_override_allowed',
2548
- ],
2549
- type: 'object',
2550
- },
2551
- default_climate_setting: {
2552
- properties: {
2553
- automatic_cooling_enabled: {
2554
- type: 'boolean',
2555
- },
2556
- automatic_heating_enabled: {
2557
- type: 'boolean',
2558
- },
2559
- cooling_set_point_celsius: { type: 'number' },
2560
- cooling_set_point_fahrenheit: {
2561
- type: 'number',
2562
- },
2563
- heating_set_point_celsius: { type: 'number' },
2564
- heating_set_point_fahrenheit: {
2565
- type: 'number',
2566
- },
2567
- hvac_mode_setting: {
2568
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2569
- type: 'string',
2570
- },
2571
- manual_override_allowed: { type: 'boolean' },
2572
- },
2573
- required: [
2574
- 'automatic_heating_enabled',
2575
- 'automatic_cooling_enabled',
2576
- 'hvac_mode_setting',
2577
- 'manual_override_allowed',
2578
- ],
2579
- type: 'object',
2580
- },
2581
- fan_mode_setting: {
2582
- enum: ['auto', 'on'],
2583
- type: 'string',
2584
- },
2585
- is_climate_setting_schedule_active: {
2586
- type: 'boolean',
2587
- },
2588
- is_cooling: { type: 'boolean' },
2589
- is_cooling_available: {
2590
- enum: [true],
2591
- type: 'boolean',
2592
- },
2593
- is_fan_running: { type: 'boolean' },
2594
- is_heating: { type: 'boolean' },
2595
- is_heating_available: {
2596
- enum: [true],
2597
- type: 'boolean',
2598
- },
2599
- is_temporary_manual_override_active: {
2600
- type: 'boolean',
2601
- },
2602
- max_cooling_set_point_celsius: { type: 'number' },
2603
- max_cooling_set_point_fahrenheit: {
2604
- type: 'number',
2605
- },
2606
- max_heating_set_point_celsius: { type: 'number' },
2607
- max_heating_set_point_fahrenheit: {
2608
- type: 'number',
2609
- },
2610
- min_cooling_set_point_celsius: { type: 'number' },
2611
- min_cooling_set_point_fahrenheit: {
2612
- type: 'number',
2613
- },
2614
- min_heating_cooling_delta_celsius: {
2615
- type: 'number',
2616
- },
2617
- min_heating_cooling_delta_fahrenheit: {
2618
- type: 'number',
2619
- },
2620
- min_heating_set_point_celsius: { type: 'number' },
2621
- min_heating_set_point_fahrenheit: {
2622
- type: 'number',
2623
- },
2624
- relative_humidity: {
2625
- maximum: 1,
2626
- minimum: 0,
2627
- type: 'number',
2628
- },
2629
- temperature_celsius: { type: 'number' },
2630
- temperature_fahrenheit: { type: 'number' },
2631
- },
2632
- type: 'object',
2633
- },
2634
- {
2635
- properties: {
2636
- active_climate_setting_schedule: {
2637
- properties: {
2638
- automatic_cooling_enabled: {
2639
- type: 'boolean',
2640
- },
2641
- automatic_heating_enabled: {
2642
- type: 'boolean',
2643
- },
2644
- climate_setting_schedule_id: {
2645
- format: 'uuid',
2646
- type: 'string',
2647
- },
2648
- cooling_set_point_celsius: { type: 'number' },
2649
- cooling_set_point_fahrenheit: {
2650
- type: 'number',
2651
- },
2652
- created_at: {
2653
- format: 'date-time',
2654
- type: 'string',
2655
- },
2656
- device_id: { type: 'string' },
2657
- errors: {
2658
- 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.',
2659
- nullable: true,
2660
- },
2661
- heating_set_point_celsius: { type: 'number' },
2662
- heating_set_point_fahrenheit: {
2663
- type: 'number',
2664
- },
2665
- hvac_mode_setting: {
2666
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2667
- type: 'string',
2668
- },
2669
- manual_override_allowed: { type: 'boolean' },
2670
- name: { type: 'string' },
2671
- schedule_ends_at: { type: 'string' },
2672
- schedule_starts_at: { type: 'string' },
2673
- schedule_type: {
2674
- enum: ['time_bound'],
2675
- type: 'string',
2676
- },
2677
- },
2678
- required: [
2679
- 'climate_setting_schedule_id',
2680
- 'schedule_type',
2681
- 'device_id',
2682
- 'schedule_starts_at',
2683
- 'schedule_ends_at',
2684
- 'created_at',
2685
- ],
2686
- type: 'object',
2687
- },
2688
- available_hvac_mode_settings: {
2689
- items: {
2690
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2691
- type: 'string',
2692
- },
2693
- type: 'array',
2694
- },
2695
- can_enable_automatic_cooling: { type: 'boolean' },
2696
- can_enable_automatic_heating: { type: 'boolean' },
2697
- current_climate_setting: {
2698
- properties: {
2699
- automatic_cooling_enabled: {
2700
- type: 'boolean',
2701
- },
2702
- automatic_heating_enabled: {
2703
- type: 'boolean',
2704
- },
2705
- cooling_set_point_celsius: { type: 'number' },
2706
- cooling_set_point_fahrenheit: {
2707
- type: 'number',
2708
- },
2709
- heating_set_point_celsius: { type: 'number' },
2710
- heating_set_point_fahrenheit: {
2711
- type: 'number',
2712
- },
2713
- hvac_mode_setting: {
2714
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2715
- type: 'string',
2716
- },
2717
- manual_override_allowed: { type: 'boolean' },
2718
- },
2719
- required: [
2720
- 'automatic_heating_enabled',
2721
- 'automatic_cooling_enabled',
2722
- 'hvac_mode_setting',
2723
- 'manual_override_allowed',
2724
- ],
2725
- type: 'object',
2726
- },
2727
- default_climate_setting: {
2728
- properties: {
2729
- automatic_cooling_enabled: {
2730
- type: 'boolean',
2731
- },
2732
- automatic_heating_enabled: {
2733
- type: 'boolean',
2734
- },
2735
- cooling_set_point_celsius: { type: 'number' },
2736
- cooling_set_point_fahrenheit: {
2737
- type: 'number',
2738
- },
2739
- heating_set_point_celsius: { type: 'number' },
2740
- heating_set_point_fahrenheit: {
2741
- type: 'number',
2742
- },
2743
- hvac_mode_setting: {
2744
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2745
- type: 'string',
2746
- },
2747
- manual_override_allowed: { type: 'boolean' },
2748
- },
2749
- required: [
2750
- 'automatic_heating_enabled',
2751
- 'automatic_cooling_enabled',
2752
- 'hvac_mode_setting',
2753
- 'manual_override_allowed',
2754
- ],
2755
- type: 'object',
2756
- },
2757
- fan_mode_setting: {
2758
- enum: ['auto', 'on'],
2759
- type: 'string',
2760
- },
2761
- is_climate_setting_schedule_active: {
2762
- type: 'boolean',
2763
- },
2764
- is_cooling: { type: 'boolean' },
2765
- is_cooling_available: {
2766
- enum: [false],
2767
- type: 'boolean',
2768
- },
2769
- is_fan_running: { type: 'boolean' },
2770
- is_heating: { type: 'boolean' },
2771
- is_heating_available: {
2772
- enum: [true],
2773
- type: 'boolean',
2774
- },
2775
- is_temporary_manual_override_active: {
2776
- type: 'boolean',
2777
- },
2778
- max_heating_set_point_celsius: { type: 'number' },
2779
- max_heating_set_point_fahrenheit: {
2780
- type: 'number',
2781
- },
2782
- min_heating_set_point_celsius: { type: 'number' },
2783
- min_heating_set_point_fahrenheit: {
2784
- type: 'number',
2785
- },
2786
- relative_humidity: {
2787
- maximum: 1,
2788
- minimum: 0,
2789
- type: 'number',
2790
- },
2791
- temperature_celsius: { type: 'number' },
2792
- temperature_fahrenheit: { type: 'number' },
2793
- },
2794
- type: 'object',
2795
- },
2796
- {
2797
- properties: {
2798
- active_climate_setting_schedule: {
2799
- properties: {
2800
- automatic_cooling_enabled: {
2801
- type: 'boolean',
2802
- },
2803
- automatic_heating_enabled: {
2804
- type: 'boolean',
2805
- },
2806
- climate_setting_schedule_id: {
2807
- format: 'uuid',
2808
- type: 'string',
2809
- },
2810
- cooling_set_point_celsius: { type: 'number' },
2811
- cooling_set_point_fahrenheit: {
2812
- type: 'number',
2813
- },
2814
- created_at: {
2815
- format: 'date-time',
2816
- type: 'string',
2817
- },
2818
- device_id: { type: 'string' },
2819
- errors: {
2820
- 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.',
2821
- nullable: true,
2822
- },
2823
- heating_set_point_celsius: { type: 'number' },
2824
- heating_set_point_fahrenheit: {
2825
- type: 'number',
2826
- },
2827
- hvac_mode_setting: {
2828
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2829
- type: 'string',
2830
- },
2831
- manual_override_allowed: { type: 'boolean' },
2832
- name: { type: 'string' },
2833
- schedule_ends_at: { type: 'string' },
2834
- schedule_starts_at: { type: 'string' },
2835
- schedule_type: {
2836
- enum: ['time_bound'],
2837
- type: 'string',
2838
- },
2839
- },
2840
- required: [
2841
- 'climate_setting_schedule_id',
2842
- 'schedule_type',
2843
- 'device_id',
2844
- 'schedule_starts_at',
2845
- 'schedule_ends_at',
2846
- 'created_at',
2847
- ],
2848
- type: 'object',
2849
- },
2850
- available_hvac_mode_settings: {
2851
- items: {
2852
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2853
- type: 'string',
2854
- },
2855
- type: 'array',
2856
- },
2857
- can_enable_automatic_cooling: { type: 'boolean' },
2858
- can_enable_automatic_heating: { type: 'boolean' },
2859
- current_climate_setting: {
2860
- properties: {
2861
- automatic_cooling_enabled: {
2862
- type: 'boolean',
2863
- },
2864
- automatic_heating_enabled: {
2865
- type: 'boolean',
2866
- },
2867
- cooling_set_point_celsius: { type: 'number' },
2868
- cooling_set_point_fahrenheit: {
2869
- type: 'number',
2870
- },
2871
- heating_set_point_celsius: { type: 'number' },
2872
- heating_set_point_fahrenheit: {
2873
- type: 'number',
2874
- },
2875
- hvac_mode_setting: {
2876
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2877
- type: 'string',
2878
- },
2879
- manual_override_allowed: { type: 'boolean' },
2880
- },
2881
- required: [
2882
- 'automatic_heating_enabled',
2883
- 'automatic_cooling_enabled',
2884
- 'hvac_mode_setting',
2885
- 'manual_override_allowed',
2886
- ],
2887
- type: 'object',
2888
- },
2889
- default_climate_setting: {
2890
- properties: {
2891
- automatic_cooling_enabled: {
2892
- type: 'boolean',
2893
- },
2894
- automatic_heating_enabled: {
2895
- type: 'boolean',
2896
- },
2897
- cooling_set_point_celsius: { type: 'number' },
2898
- cooling_set_point_fahrenheit: {
2899
- type: 'number',
2900
- },
2901
- heating_set_point_celsius: { type: 'number' },
2902
- heating_set_point_fahrenheit: {
2903
- type: 'number',
2904
- },
2905
- hvac_mode_setting: {
2906
- enum: ['off', 'heat', 'cool', 'heat_cool'],
2907
- type: 'string',
2908
- },
2909
- manual_override_allowed: { type: 'boolean' },
2910
- },
2911
- required: [
2912
- 'automatic_heating_enabled',
2913
- 'automatic_cooling_enabled',
2914
- 'hvac_mode_setting',
2915
- 'manual_override_allowed',
2916
- ],
2917
- type: 'object',
2918
- },
2919
- fan_mode_setting: {
2920
- enum: ['auto', 'on'],
2921
- type: 'string',
2922
- },
2923
- is_climate_setting_schedule_active: {
2924
- type: 'boolean',
2925
- },
2926
- is_cooling: { type: 'boolean' },
2927
- is_cooling_available: {
2928
- enum: [true],
2929
- type: 'boolean',
2930
- },
2931
- is_fan_running: { type: 'boolean' },
2932
- is_heating: { type: 'boolean' },
2933
- is_heating_available: {
2934
- enum: [false],
2935
- type: 'boolean',
2936
- },
2937
- is_temporary_manual_override_active: {
2938
- type: 'boolean',
2939
- },
2940
- max_cooling_set_point_celsius: { type: 'number' },
2941
- max_cooling_set_point_fahrenheit: {
2942
- type: 'number',
2943
- },
2944
- min_cooling_set_point_celsius: { type: 'number' },
2945
- min_cooling_set_point_fahrenheit: {
2946
- type: 'number',
2947
- },
2948
- relative_humidity: {
2949
- maximum: 1,
2950
- minimum: 0,
2951
- type: 'number',
2952
- },
2953
- temperature_celsius: { type: 'number' },
2954
- temperature_fahrenheit: { type: 'number' },
2955
- },
2956
- type: 'object',
2957
- },
2958
- ],
2959
- },
2960
- ],
2961
- },
2962
- ],
2963
- },
2964
- {
2965
- properties: {
2966
- assa_abloy_credential_service_metadata: {
2967
- properties: {
2968
- endpoints: {
2969
- items: {
2970
- properties: {
2971
- endpoint_id: { type: 'string' },
2972
- is_active: { type: 'boolean' },
2973
- },
2974
- required: ['endpoint_id', 'is_active'],
2975
- type: 'object',
2976
- },
2977
- type: 'array',
2978
- },
2979
- has_active_endpoint: { type: 'boolean' },
1899
+ required: ['endpoint_id', 'is_active'],
1900
+ type: 'object',
2980
1901
  },
2981
- required: ['has_active_endpoint', 'endpoints'],
2982
- type: 'object',
1902
+ type: 'array',
2983
1903
  },
1904
+ has_active_endpoint: { type: 'boolean' },
2984
1905
  },
1906
+ required: ['has_active_endpoint', 'endpoints'],
2985
1907
  type: 'object',
2986
1908
  },
2987
- ],
2988
- description: 'Properties of the device.',
1909
+ },
1910
+ type: 'object',
2989
1911
  },
2990
1912
  warnings: {
2991
1913
  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.',