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