{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/andromeda-ai/json-schema/andromeda-ai-get-organizations-orgid-clusters-clusterid-access-response-schema.json",
  "title": "GetOrganizationsOrgidClustersClusteridAccessResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/andromeda-ai-openapi-generated.yml#/components/schemas/GetOrganizationsOrgidClustersClusteridAccessResponse",
  "type": "object",
  "properties": {
    "cluster_id": {
      "type": "string",
      "description": "The cluster."
    },
    "organization_id": {
      "type": "string",
      "description": "The cluster's organization."
    },
    "generation": {
      "type": "integer",
      "description": "Version of the access list. Increases with each change."
    },
    "state": {
      "type": "string",
      "description": "Delivery of this version to the cluster: `pending`, `accepted`, `converged`, `stale`, `rejected`, or `failed`."
    },
    "observation_state": {
      "type": "string",
      "description": "`pending`, `converged`, or `failed`, as last reported by the cluster."
    },
    "desired_generation": {
      "type": "integer",
      "description": "The cluster configuration version this access list was sent for."
    },
    "observed_generation": {
      "type": "integer",
      "description": "The version the cluster last reported."
    },
    "source_hash": {
      "type": "string",
      "description": "Details of this version."
    },
    "updated_at": {
      "type": "string",
      "description": "Details of this version."
    },
    "users[]": {
      "type": "object",
      "description": "List of users with access."
    },
    "users[].user_id": {
      "type": "string",
      "description": "The member."
    },
    "users[].username": {
      "type": "string",
      "description": "Their login name on the cluster."
    },
    "users[].access_mode": {
      "type": "string",
      "description": "`use`, or `admin` for members with `clusters.ssh.admin`."
    },
    "users[].desired_login_state": {
      "type": "string",
      "description": "`ready`, or `waiting_for_key` if the member has no active key."
    },
    "users[].ssh_key_set_generation": {
      "type": "integer",
      "description": "Which version of the member's key set the cluster should use."
    },
    "users[].allocation": {
      "type": "object",
      "description": "The member's POSIX identity."
    },
    "users[].allocation.uid": {
      "type": "integer",
      "description": "The member's numeric user ID."
    },
    "users[].allocation.gid": {
      "type": "integer",
      "description": "The member's numeric group ID."
    },
    "users[].allocation.home": {
      "type": "string",
      "description": "`/home/<username>`."
    },
    "users[].allocation.shell": {
      "type": "string",
      "description": "The member's requested shell in this access list."
    }
  }
}