{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getmattered/json-schema/getmattered-integrations-access-schema.json",
  "title": "IntegrationsAccess",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getmattered-integrations-api-openapi.yml#/components/schemas/IntegrationsAccess",
  "type": "object",
  "properties": {
    "allowed": {
      "type": "boolean"
    },
    "requiredTier": {
      "type": "string",
      "enum": [
        "job_seeker",
        "hired_in_30",
        "hired_yesterday"
      ],
      "description": "Subscription plan tier level"
    },
    "state": {
      "type": "string",
      "enum": [
        "included",
        "plan_required",
        "beta_request",
        "beta_pending",
        "beta_denied"
      ],
      "description": "Whether integrations are open: included, the plan is missing, or the beta request is not made, pending or denied"
    }
  },
  "required": [
    "allowed",
    "requiredTier",
    "state"
  ]
}