> ## Documentation index
> Fetch the complete documentation index at: https://developer.rhombus.com/llms.txt
> Use it to discover all available pages before exploring further.

# Get policies using schedule

> Get details about all climate policies in organization

```http
POST https://api2.rhombussystems.com/api/policy/getPoliciesUsingSchedule
```

EU organizations send the same request to `https://api2.eu.rhombussystems.com`.

## Authentication and parameters

- `x-auth-apikey` (header, required): Your Rhombus API key. Must be accompanied by the `x-auth-scheme` header set to `api-token` (or `partner-api-token` for partner endpoints).
- `Authorization` (header): instead of an API key, an OAuth access token (`Bearer <token>`) with the `read` scope.
- `x-auth-scheme` (header, string, default: `api-token`): Authentication scheme identifier. Use `api-token` or `partner-api-token` with the `x-auth-apikey` header, `api` or `partner-api` with `x-auth-apikey` plus a client certificate, `api-oauth-token` or `partner-api-oauth-token` with `x-auth-access-token`, and `federated-token` with `x-auth-ft`. A request with `Authorization: Bearer <token>` and no `x-auth-scheme` is treated as OAuth, and `federated-token` may also be sent as the `x-auth-scheme` and `x-auth-ft` query parameters. One of: `api-token`, `api`, `api-oauth-token`, `federated-token`, `partner-api-token`, `partner-api`, `partner-api-oauth-token`.
- `x-auth-org` (header, string<RUUID>): Client organization UUID (22-character RUUID), for partner credentials only. With it the call runs in that client organization with the partner support authority's role. Without it a partner credential runs as the partner organization, which outside the partner endpoints is deprecated (responses carry `Deprecation` and `Sunset: Tue, 05 Jan 2027 00:00:00 GMT`). A malformed value returns 400 `INVALID_AUTH_ORG`; a client organization the partner cannot access returns 403 `PARTNER_CLIENT_ACCESS_DENIED`.

## Request body

Content type: `application/json`. Request object for getting all policies that use a specific schedule.

- `scheduleUuid` (string<RUUID> | null): base 64 (url-safe) uuid string

## Response 200

OK. Content type: `application/json`

- `accessControlledDoorPolicyList` (array<object> | null): List of access controlled door policies using the schedule
- `audioPolicyList` (array<object> | null): List of audio policies using the schedule
- `cameraPolicyList` (array<object> | null): List of camera policies using the schedule
- `climatePolicyList` (array<object> | null): List of climate policies using the schedule
- `doorPolicyList` (array<object> | null): List of door sensor policies using the schedule
- `error` (boolean | null)
- `errorCode` (string | null): Stable, machine-readable code for the failure (one of the ApiErrorCode catalog) when error is true. Branch on this, not on errorMsg.
- `errorMsg` (string | null)
- `occupancyPolicyList` (array<object> | null): List of occupancy policies using the schedule
- `proximityPolicyList` (array<object> | null): List of proximity policies using the schedule
- `videoIntercomPolicyList` (array<object> | null): List of video intercom policies using the schedule
- `warningMsg` (string | null)

## Errors

Also 400, 401, 403, 429, 500, 503 with the standard error body (`errorCode`, `errorMsg`): https://developer.rhombus.com/errors

## OpenAPI

````yaml
openapi: 3.0.1
info:
  title: Rhombus API
  version: "1.0"
servers:
  - description: Production Server
    url: https://api2.rhombussystems.com
security:
  - ApiKeyAuth: []
paths:
  /api/policy/getPoliciesUsingSchedule:
    post:
      description: Get details about all climate policies in organization
      operationId: getPoliciesUsingSchedule
      parameters:
        - description: "Authentication scheme identifier. Use `api-token` or `partner-api-token` with the `x-auth-apikey` header, `api` or `partner-api` with `x-auth-apikey` plus a client certificate, `api-oauth-token` or `partner-api-oauth-token` with `x-auth-access-token`, and `federated-token` with `x-auth-ft`. A request with `Authorization: Bearer <token>` and no `x-auth-scheme` is treated as OAuth, and `federated-token` may also be sent as the `x-auth-scheme` and `x-auth-ft` query parameters."
          example: api-token
          in: header
          name: x-auth-scheme
          required: false
          schema:
            default: api-token
            enum:
              - api-token
              - api
              - api-oauth-token
              - federated-token
              - partner-api-token
              - partner-api
              - partner-api-oauth-token
            type: string
        - description: "Client organization UUID (22-character RUUID), for partner credentials only. With it the call runs in that client organization with the partner support authority's role. Without it a partner credential runs as the partner organization, which outside the partner endpoints is deprecated (responses carry `Deprecation` and `Sunset: Tue, 05 Jan 2027 00:00:00 GMT`). A malformed value returns 400 `INVALID_AUTH_ORG`; a client organization the partner cannot access returns 403 `PARTNER_CLIENT_ACCESS_DENIED`."
          in: header
          name: x-auth-org
          required: false
          schema:
            format: RUUID
            maxLength: 22
            minLength: 22
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/Policy_GetPoliciesUsingScheduleWSRequest"
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Policy_GetPoliciesUsingScheduleWSResponse"
          description: OK
        "400":
          $ref: "#/components/responses/BadRequest"
        "401":
          $ref: "#/components/responses/Unauthorized"
        "403":
          $ref: "#/components/responses/Forbidden"
        "429":
          $ref: "#/components/responses/TooManyRequests"
        "500":
          $ref: "#/components/responses/InternalServerError"
        "503":
          $ref: "#/components/responses/ServiceUnavailable"
      security:
        - ApiKeyAuth: []
        - oauth2:
            - read
      summary: Get policies using schedule
      tags:
        - Policy Webservice
components:
  schemas:
    Policy_GetPoliciesUsingScheduleWSRequest:
      description: Request object for getting all policies that use a specific schedule.
      properties:
        scheduleUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    Policy_GetPoliciesUsingScheduleWSResponse:
      description: Response object containing all policies that use a specific schedule, organized by policy type.
      properties:
        accessControlledDoorPolicyList:
          description: List of access controlled door policies using the schedule
          items:
            $ref: "#/components/schemas/AccessControlledDoorPolicyType"
          nullable: true
          type: array
        audioPolicyList:
          description: List of audio policies using the schedule
          items:
            $ref: "#/components/schemas/AudioPolicyType"
          nullable: true
          type: array
        cameraPolicyList:
          description: List of camera policies using the schedule
          items:
            $ref: "#/components/schemas/CameraPolicyV2Type"
          nullable: true
          type: array
        climatePolicyList:
          description: List of climate policies using the schedule
          items:
            $ref: "#/components/schemas/ClimatePolicyType"
          nullable: true
          type: array
        doorPolicyList:
          description: List of door sensor policies using the schedule
          items:
            $ref: "#/components/schemas/DoorPolicyType"
          nullable: true
          type: array
        error:
          nullable: true
          type: boolean
        errorCode:
          description: Stable, machine-readable code for the failure (one of the ApiErrorCode catalog) when error is true. Branch on this, not on errorMsg.
          nullable: true
          type: string
        errorMsg:
          nullable: true
          type: string
        occupancyPolicyList:
          description: List of occupancy policies using the schedule
          items:
            $ref: "#/components/schemas/OccupancyPolicyType"
          nullable: true
          type: array
        proximityPolicyList:
          description: List of proximity policies using the schedule
          items:
            $ref: "#/components/schemas/ProximityPolicyType"
          nullable: true
          type: array
        videoIntercomPolicyList:
          description: List of video intercom policies using the schedule
          items:
            $ref: "#/components/schemas/VideoIntercomPolicyType"
          nullable: true
          type: array
        warningMsg:
          nullable: true
          type: string
      type: object
    AccessControlledDoorPolicyType:
      description: List of access controlled door policies using the schedule
      properties:
        description:
          nullable: true
          type: string
        name:
          nullable: true
          type: string
        orgUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        scheduledTriggers:
          items:
            $ref: "#/components/schemas/AccessControlledDoorScheduledTriggerType"
          nullable: true
          type: array
        uuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    AccessControlledDoorScheduledTriggerType:
      properties:
        schedule:
          $ref: "#/components/schemas/WeeklyRepeatingScheduleType"
        triggerSet:
          items:
            $ref: "#/components/schemas/ActivityEnum"
          nullable: true
          type: array
          uniqueItems: true
      type: object
    WeeklyRepeatingScheduleType:
      allOf:
        - properties:
            intervalList:
              items:
                $ref: "#/components/schemas/WeeklyMinuteIntervalType"
              nullable: true
              type: array
          type: object
      nullable: true
      properties:
        internalWriteOnly:
          nullable: true
          type: boolean
        mutable:
          nullable: true
          type: boolean
        name:
          nullable: true
          type: string
        oneTimeUse:
          nullable: true
          type: boolean
        orgUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        strategy:
          $ref: "#/components/schemas/ScheduleStrategyEnum"
        uuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    WeeklyMinuteIntervalType:
      properties:
        minuteOfWeekStart:
          format: int32
          nullable: true
          type: integer
        minuteOfWeekStop:
          format: int32
          nullable: true
          type: integer
      type: object
    ScheduleStrategyEnum:
      enum:
        - WEEKLY_REPEATING_MINUTES
        - ABSOLUTE_SECONDS
        - REALTIME_RELATIVE_SECONDS
        - RELATIVE_DATETIME_INTERVALS
      type: string
    ActivityEnum:
      enum:
        - SOUND_LOUD
        - SOUND_GUN_SHOT
        - TAMPER
        - VISUAL_TAMPER
        - MOTION_TAMPER
        - MOTION
        - MOTION_HUMAN
        - MOTION_CAR
        - MOTION_ANIMAL
        - MOTION_PACKAGE
        - PACKAGE_ARRIVED
        - PACKAGE_DEPARTED
        - FACE
        - FACE_IDENTIFIED
        - FACE_UNIDENTIFIED
        - FACE_BLACKLISTED
        - FACE_ALERT
        - POSE_ANOMALOUS
        - POSE_FALL
        - LICENSEPLATE
        - LICENSEPLATE_IDENTIFIED
        - LICENSEPLATE_UNIDENTIFIED
        - LICENSEPLATE_ALERT
        - LICENSEPLATE_BLACKLISTED
        - LICENSEPLATE_TRUSTED
        - PEOPLECOUNT_HIGH
        - PEOPLECOUNT_HIGH_RESET
        - PEOPLECOUNT_LOW
        - PEOPLECOUNT_LOW_RESET
        - HUMAN_ENTER
        - HUMAN_EXIT
        - CAR_ENTER
        - CAR_EXIT
        - TEMPERATURE_EXCEEDED_HIGH
        - TEMPERATURE_EXCEEDED_LOW
        - HUMIDITY_EXCEEDED_HIGH
        - HUMIDITY_EXCEEDED_LOW
        - PM25_EXCEEDED_HIGH
        - TVOC_EXCEEDED_HIGH
        - ETOH_EXCEEDED_HIGH
        - IAQ_EXCEEDED_HIGH
        - CO2_EXCEEDED_HIGH
        - CO2_EXCEEDED_LOW
        - PROBE_TEMPERATURE_EXCEEDED_HIGH
        - PROBE_TEMPERATURE_EXCEEDED_LOW
        - PROBE_DISCONNECTED
        - PROBE_CONNECTED
        - HEAT_INDEX_EXCEEDED_HIGH
        - PRESSURE_EXCEEDED_HIGH
        - PRESSURE_EXCEEDED_LOW
        - PM10_EXCEEDED_HIGH
        - PM40_EXCEEDED_HIGH
        - PM100_EXCEEDED_HIGH
        - VOC_IDX_EXCEEDED_HIGH
        - NOX_IDX_EXCEEDED_HIGH
        - FORMALDEHYDE_EXCEEDED_HIGH
        - CARBON_MONOXIDE_EXCEEDED_HIGH
        - AQI_EXCEEDED_HIGH
        - DOOR_AJAR
        - DOOR_OPENED
        - DOOR_CLOSED
        - BUTTON_SINGLE_PRESSED
        - BUTTON_DOUBLE_PRESSED
        - BUTTON_LONG_PRESSED
        - TAG_ARRIVED
        - TAG_DEPARTED
        - TAG_MOVED
        - TAG_POSITIONING_CHANGED
        - TAG_BOUNDARY_INGRESS
        - TAG_BOUNDARY_EGRESS
        - TAG_PANIC
        - BADGE_AUTHORIZED
        - BADGE_UNAUTHORIZED
        - BADGE_UNAUTHORIZED_V2
        - BADGE_AJAR
        - BADGE_MANUAL
        - BADGE_FORCED_OPEN
        - BADGE_LOCKDOWN
        - BADGE_REQUEST_TO_EXIT
        - BADGE_DURESS
        - BADGE_SECURITY_BREACH
        - BADGE_TAMPER
        - BADGE_FACE_MISMATCH
        - POS_ORDER
        - GUN_DETECT_EVENT
        - IOT_SOUND_AGGRESSION
        - IOT_SOUND_HELP
        - IOT_AIR_CO
        - IOT_AIR_CO2
        - IOT_AIR_MASKING
        - IOT_AIR_THC
        - IOT_AIR_VAPE
        - IOT_AIR_VOC
        - IOT_AIR_TEMP
        - IOT_TAMPER
        - IOT_GUNSHOT
        - IOT_BUTTON_SINGLE_CLICK
        - IOT_BUTTON_DOUBLE_CLICK
        - IOT_BUTTON_HOLD
        - IOT_PANIC_BUTTON_TRIGGERED
        - AUDIO_SOUND_SIGNIFICANT
        - AUDIO_SOUND_LOUD
        - AUDIO_SOUND_ABUSIVE
        - AUDIO_SOUND_GREETING
        - AUDIO_SOUND_HELP
        - AUDIO_SOUND_GUN
        - AUDIO_SOUND_GLASS_BREAK
        - AUDIO_SOUND_ALARM_SMOKE_FIRE
        - AUDIO_SOUND_ALARM_CARBON_MONOXIDE
        - AUDIO_SOUND_SIREN
        - CLIMATE_VOC
        - CLIMATE_VAPE
        - CLIMATE_SMOKE
        - CLIMATE_THC
        - CLIMATE_CO2
        - CLIMATE_ETOH
        - CLIMATE_PM25
        - CLIMATE_IAQ
        - CLIMATE_LEAK
        - SOUND_AGGRESSION
        - SOUND_HELP
        - AIR_CO
        - AIR_CO2
        - AIR_MASKING
        - AIR_THC
        - AIR_VAPE
        - AIR_VOC
        - MASK_MISSING
        - HELMET_MISSING
        - GLOVES_MISSING
        - PIR_OCCUPIED
        - PIR_MOVEMENT
        - PIR_VACANT
        - CUSTOM
        - VISITOR_ARRIVED
        - VISITOR_DEPARTED
        - AC_DR_CONNECTED
        - AC_DR_DISCONNECTED
        - AC_DPI_DOOR_OPEN
        - AC_DPI_DOOR_CLOSED
        - AC_DPI_DOOR_AJAR
        - AC_DPI_DOOR_FORCED_OPEN
        - AC_DSR_UNLOCKED
        - AC_DSR_LOCKED
        - AC_DB_TRIGGERED
        - AC_PANIC_BUTTON_TRIGGERED
        - AC_REMOTE_UNLOCK
        - AC_BADGE_AUTHORIZED
        - AC_BADGE_UNAUTHORIZED
        - AC_BADGE_FACE_MISMATCH
        - AC_LOCKDOWN_ACTIVATED
        - AC_LOCKDOWN_DEACTIVATED
        - AC_LOCKDOWN_PLAN_SWITCHED
        - AC_TAMPER_PROX
        - AC_TAMPER_ACCEL
        - AC_TAMPER_SWITCH
        - AC_GR_ACTIVE
        - AC_GR_INACTIVE
        - AC_GI_ACTIVE
        - AC_GI_INACTIVE
        - AC_REX_ACTIVE
        - AC_REX_INACTIVE
        - AC_APERIO_DEVICE_DISCONNECTED
        - AC_APERIO_DEVICE_CONNECTED
        - AC_APERIO_DEVICE_REBOOT
        - AC_APERIO_DEVICE_TAMPER
        - AC_APERIO_LOW_BATTERY
        - AC_APERIO_FLAT_BATTERY
        - AC_APERIO_OK_BATTERY
        - AC_SCHLAGE_GW_DISCONNECTED
        - AC_SCHLAGE_GW_CONNECTED
        - AC_SCHLAGE_APM_DISCONNECTED
        - AC_SCHLAGE_APM_CONNECTED
        - AC_SCHLAGE_LOW_BATTERY
        - AC_SCHLAGE_CRITICAL_BATTERY
        - AC_SCHLAGE_OK_BATTERY
        - POWER_SWITCH_BATTERY
        - POWER_SWITCH_PRIMARY
        - AI_SEARCH_MATCH
        - AI_SEARCH_MATCH_PERSON_SMOKING
        - AI_SEARCH_MATCH_PERSON_ON_PHONE
        - AI_SEARCH_MATCH_PERSON_FALLING
        - CUSTOM_LLM_BOOLEAN_TRUE
        - CUSTOM_LLM_BOOLEAN_FALSE
        - CUSTOM_LLM_THRESHOLD_EXCEEDED_LOW
        - CUSTOM_LLM_THRESHOLD_EXCEEDED_HIGH
        - ALM_AUTHORITIES_CONTACTED
        - ALM_MONITORING_ENABLED
        - ALM_MONITORING_DISABLED
        - ALM_MONITORING_SETTINGS_CHANGE
        - ALM_THREAT_CASE_CLOSED
        - ALM_THREAT_DETECTED
        - ALM_MONITORING_EVENT_DETECTED
        - ROBOT_DOG_DETECTED
        - ROBOT_ARRIVED_AT_WAYPOINT
        - ROBOT_ARRIVED_AT_POSE
        - ROBOT_WAITING_AT_POSE
        - ROBOT_MANUAL_CMD_VEL
        - ROBOT_MANUAL_ACTION
        - ROBOT_MANUAL_POSTURE
        - ROBOT_NAVIGATE_TO_POSE_START
        - ROBOT_NAVIGATE_TO_POSE_END
        - ROBOT_NAVIGATE_TO_HOME_START
        - ROBOT_NAVIGATE_TO_HOME_END
        - ROBOT_NAVIGATE_TO_WAYPOINT_START
        - ROBOT_NAVIGATE_TO_WAYPOINT_END
        - ROBOT_ROUTE_RUN_START
        - ROBOT_ROUTE_RUN_END
        - ROBOT_LOW_BATTERY_DOCKING
        - ROBOT_IDLE_DOCKING
        - ROBOT_EMERGENCY
        - LOITER_HUMAN
        - INACTIVITY_HUMAN
        - INACTIVITY_CAR
        - GROUP_ENTRY
        - ONGUARD_BADGE_AUTHORIZED
        - ONGUARD_BADGE_ANOMALY
        - ONGUARD_NO_ENTRY_MADE
        - ELEMENTS_BADGE_AUTHORIZED
        - ELEMENTS_BADGE_ANOMALY
        - ELEMENTS_NO_ENTRY_MADE
        - NETBOX_BADGE_AUTHORIZED
        - NETBOX_BADGE_ANOMALY
        - NETBOX_NO_ENTRY_MADE
        - THERMAL_TEMPERATURE_ALARM
        - THERMAL_TEMPERATURE_WARNING
        - THERMAL_FIRE_DETECTED
        - THERMAL_SMOKING_DETECTED
        - THERMAL_FIRE_VERIFIED
        - THERMAL_HEAT_NO_THREAT
        - THERMAL_VISUAL_HOTSPOT
        - THERMAL_VISUAL_HEAT_RISE
        - THERMAL_VISUAL_WARM_BODY
        - UNKNOWN
      type: string
    AudioPolicyType:
      description: List of audio policies using the schedule
      properties:
        defaultTriggers:
          items:
            $ref: "#/components/schemas/AudioTriggerType"
          nullable: true
          type: array
          uniqueItems: true
        description:
          nullable: true
          type: string
        name:
          nullable: true
          type: string
        orgUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        scheduledTriggers:
          items:
            $ref: "#/components/schemas/AudioScheduledTriggerType"
          nullable: true
          type: array
        uuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    AudioTriggerType:
      properties:
        activity:
          $ref: "#/components/schemas/ActivityEnum"
        threshold:
          format: int32
          nullable: true
          type: integer
      type: object
    AudioScheduledTriggerType:
      properties:
        schedule:
          $ref: "#/components/schemas/WeeklyRepeatingScheduleType"
        triggerSet:
          items:
            $ref: "#/components/schemas/AudioTriggerType"
          nullable: true
          type: array
          uniqueItems: true
      type: object
    CameraPolicyV2Type:
      description: List of camera policies using the schedule
      properties:
        defaultTriggers:
          items:
            $ref: "#/components/schemas/CameraTriggerType"
          nullable: true
          type: array
          uniqueItems: true
        description:
          nullable: true
          type: string
        name:
          nullable: true
          type: string
        orgUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        scheduledTriggers:
          items:
            $ref: "#/components/schemas/CameraScheduledTriggerType"
          nullable: true
          type: array
        uuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    CameraTriggerType:
      properties:
        activity:
          $ref: "#/components/schemas/ActivityEnum"
        customDetectionUuids:
          items:
            description: base 64 (url-safe) uuid string
            example: AAAAAAAAAAAAAAAAAAAAAA
            format: RUUID
            nullable: true
            type: string
          nullable: true
          type: array
          uniqueItems: true
        dwellTimeMs:
          format: int64
          nullable: true
          type: integer
        dwellTimeResetMs:
          format: int64
          nullable: true
          type: integer
        faceAlertLabelSet:
          items:
            nullable: true
            type: string
          nullable: true
          type: array
          uniqueItems: true
        faceAlertUnidentified:
          nullable: true
          type: boolean
        faceAllowedLabelSet:
          items:
            nullable: true
            type: string
          nullable: true
          type: array
          uniqueItems: true
        threshold:
          format: int32
          nullable: true
          type: integer
        vehicleAlertLabelSet:
          items:
            nullable: true
            type: string
          nullable: true
          type: array
          uniqueItems: true
        vehicleAlertUnidentified:
          nullable: true
          type: boolean
        vehicleAllowedLabelSet:
          items:
            nullable: true
            type: string
          nullable: true
          type: array
          uniqueItems: true
      type: object
    CameraScheduledTriggerType:
      properties:
        schedule:
          $ref: "#/components/schemas/WeeklyRepeatingScheduleType"
        triggerSet:
          items:
            $ref: "#/components/schemas/CameraTriggerType"
          nullable: true
          type: array
          uniqueItems: true
      type: object
    ClimatePolicyType:
      description: List of climate policies using the schedule
      properties:
        backoffAlertSecs:
          additionalProperties:
            format: int64
            nullable: true
            type: integer
          nullable: true
          type: object
        defaultTriggers:
          items:
            $ref: "#/components/schemas/ClimateTriggerType"
          nullable: true
          type: array
          uniqueItems: true
        description:
          nullable: true
          type: string
        name:
          nullable: true
          type: string
        orgUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        scheduledTriggers:
          items:
            $ref: "#/components/schemas/ClimateScheduledTriggerType"
          nullable: true
          type: array
        uuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    ClimateTriggerType:
      properties:
        activity:
          $ref: "#/components/schemas/ActivityEnum"
        threshold:
          format: float
          nullable: true
          type: number
      type: object
    ClimateScheduledTriggerType:
      properties:
        schedule:
          $ref: "#/components/schemas/WeeklyRepeatingScheduleType"
        triggerSet:
          items:
            $ref: "#/components/schemas/ClimateTriggerType"
          nullable: true
          type: array
          uniqueItems: true
      type: object
    DoorPolicyType:
      description: List of door sensor policies using the schedule
      properties:
        defaultAjarThresholdSec:
          format: int32
          nullable: true
          type: integer
        defaultTriggers:
          items:
            $ref: "#/components/schemas/ActivityEnum"
          nullable: true
          type: array
          uniqueItems: true
        description:
          nullable: true
          type: string
        name:
          nullable: true
          type: string
        orgUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        scheduledTriggers:
          items:
            $ref: "#/components/schemas/DoorScheduledTriggerType"
          nullable: true
          type: array
        uuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    DoorScheduledTriggerType:
      properties:
        ajarThresholdSec:
          format: int32
          nullable: true
          type: integer
        schedule:
          $ref: "#/components/schemas/WeeklyRepeatingScheduleType"
        triggerSet:
          items:
            $ref: "#/components/schemas/ActivityEnum"
          nullable: true
          type: array
          uniqueItems: true
      type: object
    OccupancyPolicyType:
      description: List of occupancy policies using the schedule
      properties:
        description:
          nullable: true
          type: string
        name:
          nullable: true
          type: string
        orgUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        scheduledTriggers:
          items:
            $ref: "#/components/schemas/OccupancyScheduledTriggerType"
          nullable: true
          type: array
        uuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    OccupancyScheduledTriggerType:
      properties:
        occupancyThresholdSec:
          format: int32
          nullable: true
          type: integer
        schedule:
          $ref: "#/components/schemas/WeeklyRepeatingScheduleType"
        triggerSet:
          items:
            $ref: "#/components/schemas/ActivityEnum"
          nullable: true
          type: array
          uniqueItems: true
        vacancyThresholdSec:
          format: int32
          nullable: true
          type: integer
      type: object
    ProximityPolicyType:
      description: List of proximity policies in the organization
      properties:
        defaultDepartureThresholdSec:
          format: int32
          nullable: true
          type: integer
        defaultTriggers:
          items:
            $ref: "#/components/schemas/ProximityTriggerType"
          nullable: true
          type: array
          uniqueItems: true
        description:
          nullable: true
          type: string
        egressThresholdMetersMap:
          additionalProperties:
            format: double
            nullable: true
            type: number
          nullable: true
          type: object
        ingressThresholdMetersMap:
          additionalProperties:
            format: double
            nullable: true
            type: number
          nullable: true
          type: object
        name:
          nullable: true
          type: string
        orgUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        scheduledTriggers:
          items:
            $ref: "#/components/schemas/ProximityScheduledTriggerType"
          nullable: true
          type: array
        uuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    ProximityTriggerType:
      properties:
        activity:
          $ref: "#/components/schemas/ActivityEnum"
        locationUuids:
          items:
            description: base 64 (url-safe) uuid string
            example: AAAAAAAAAAAAAAAAAAAAAA
            format: RUUID
            nullable: true
            type: string
          nullable: true
          type: array
      type: object
    ProximityScheduledTriggerType:
      properties:
        departureThresholdSec:
          format: int32
          nullable: true
          type: integer
        egressThresholdMetersMap:
          additionalProperties:
            format: double
            nullable: true
            type: number
          nullable: true
          type: object
        ingressThresholdMetersMap:
          additionalProperties:
            format: double
            nullable: true
            type: number
          nullable: true
          type: object
        schedule:
          $ref: "#/components/schemas/WeeklyRepeatingScheduleType"
        triggerSet:
          items:
            $ref: "#/components/schemas/ProximityTriggerType"
          nullable: true
          type: array
          uniqueItems: true
      type: object
    VideoIntercomPolicyType:
      description: List of video intercom policies using the schedule
      properties:
        description:
          nullable: true
          type: string
        name:
          nullable: true
          type: string
        orgUuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
        scheduledTriggers:
          items:
            $ref: "#/components/schemas/VideoIntercomScheduledTriggerType"
          nullable: true
          type: array
        uuid:
          description: base 64 (url-safe) uuid string
          example: AAAAAAAAAAAAAAAAAAAAAA
          format: RUUID
          nullable: true
          type: string
      type: object
    VideoIntercomScheduledTriggerType:
      properties:
        schedule:
          $ref: "#/components/schemas/WeeklyRepeatingScheduleType"
        triggerSet:
          items:
            $ref: "#/components/schemas/VideoIntercomTriggerType"
          nullable: true
          type: array
          uniqueItems: true
      type: object
    VideoIntercomTriggerType:
      properties:
        activity:
          $ref: "#/components/schemas/ActivityEnum"
        faceAlertLabelSet:
          items:
            nullable: true
            type: string
          nullable: true
          type: array
          uniqueItems: true
        faceAlertUnidentified:
          nullable: true
          type: boolean
        faceAllowedLabelSet:
          items:
            nullable: true
            type: string
          nullable: true
          type: array
          uniqueItems: true
        lufsThreshold:
          format: int32
          nullable: true
          type: integer
        peopleCountThreshold:
          format: int32
          nullable: true
          type: integer
        vehicleAlertLabelSet:
          items:
            nullable: true
            type: string
          nullable: true
          type: array
          uniqueItems: true
        vehicleAlertUnidentified:
          nullable: true
          type: boolean
        vehicleAllowedLabelSet:
          items:
            nullable: true
            type: string
          nullable: true
          type: array
          uniqueItems: true
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: Your Rhombus API key. Must be accompanied by the `x-auth-scheme` header set to `api-token` (or `partner-api-token` for partner endpoints).
      in: header
      name: x-auth-apikey
      type: apiKey
    oauth2:
      description: 'OAuth 2.0 authorization code flow with PKCE (`S256`). Send the access token as `Authorization: Bearer <token>`. Each operation lists the scopes it requires; a token without them is refused 403 with `WWW-Authenticate: Bearer error="insufficient_scope"`.'
      flows:
        authorizationCode:
          authorizationUrl: https://console.rhombus.com/oauth/authorize
          refreshUrl: https://auth-web.rhombussystems.com/oauth/token
          scopes:
            physical: Unlock doors and elevators, lockdown, alarms, speakers and robots
            read: View cameras, footage and settings
            write: Change settings and data
          tokenUrl: https://auth-web.rhombussystems.com/oauth/token
      type: oauth2
````
