{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/relayger-com/json-schema/relayger-com-connector-consent-schema.json",
  "title": "ConnectorConsent",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/relayger-com-oauth-api-openapi.yml#/components/schemas/ConnectorConsent",
  "additionalProperties": false,
  "properties": {
    "approve": {
      "type": "boolean"
    },
    "defaultIdentity": {
      "format": "uuid",
      "type": "string"
    },
    "identities": {
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "maxItems": 33,
      "minItems": 1,
      "type": "array"
    },
    "request": {
      "format": "uuid",
      "type": "string"
    },
    "scopes": {
      "items": {
        "enum": [
          "relayger.read",
          "relayger.write",
          "relayger.contacts",
          "relayger.work"
        ],
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "request",
    "approve"
  ],
  "type": "object"
}