{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiven/json-schema/aiven-organization-governance-access-list-response-schema.json",
  "title": "OrganizationGovernanceAccessListResponse",
  "description": "OrganizationGovernanceAccessListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aiven-organizations-api-openapi.yml#/components/schemas/OrganizationGovernanceAccessListResponse",
  "type": "object",
  "properties": {
    "access": {
      "type": "array",
      "description": "Access",
      "items": {
        "type": "object",
        "properties": {
          "access_data": {
            "type": "object",
            "description": "access type specific data",
            "properties": {
              "acls": {
                "type": "array",
                "description": "Acls",
                "items": {
                  "type": "object",
                  "properties": {
                    "host": {
                      "type": "string",
                      "maxLength": 256,
                      "description": "Acl host"
                    },
                    "id": {
                      "type": "string",
                      "description": "Acl ID"
                    },
                    "operation": {
                      "type": "string",
                      "description": "An enumeration.",
                      "title": "Acl operation",
                      "enum": [
                        "Read",
                        "Write"
                      ]
                    },
                    "pattern_type": {
                      "type": "string",
                      "description": "An enumeration.",
                      "title": "Acl pattern type",
                      "enum": [
                        "LITERAL"
                      ]
                    },
                    "permission_type": {
                      "type": "string",
                      "description": "An enumeration.",
                      "title": "Acl permission type",
                      "enum": [
                        "ALLOW"
                      ]
                    },
                    "principal": {
                      "type": "string",
                      "description": "Acl principal"
                    },
                    "resource_name": {
                      "type": "string",
                      "maxLength": 256,
                      "description": "Acl resource name"
                    },
                    "resource_type": {
                      "type": "string",
                      "description": "An enumeration.",
                      "title": "Acl resource type",
                      "enum": [
                        "Topic"
                      ]
                    }
                  },
                  "required": [
                    "host",
                    "id",
                    "operation",
                    "pattern_type",
                    "permission_type",
                    "principal",
                    "resource_name",
                    "resource_type"
                  ]
                }
              },
              "project_name": {
                "type": "string",
                "description": "Project name"
              },
              "service_name": {
                "type": "string",
                "description": "Service name"
              },
              "username": {
                "type": "string",
                "description": "The service username assigned to the access"
              }
            },
            "required": [
              "acls",
              "project_name",
              "service_name",
              "username"
            ]
          },
          "access_id": {
            "type": "string",
            "description": "The ID of the access"
          },
          "access_name": {
            "type": "string",
            "description": "Label to describe the access"
          },
          "access_type": {
            "type": "string",
            "description": "An enumeration.",
            "title": "Type of access",
            "enum": [
              "KAFKA"
            ]
          },
          "create_time": {
            "type": "string",
            "maxLength": 36,
            "description": "Timestamp of when access was created"
          },
          "created_by": {
            "type": "string",
            "description": "The user that created the access"
          },
          "credentials_consumed": {
            "type": "boolean",
            "description": "Wether the credentials have been reviewed"
          },
          "credentials_user_id": {
            "type": "string",
            "description": "The user that created is assigned to review the credentials"
          },
          "owner_user_group_id": {
            "type": "string",
            "maxLength": 36,
            "description": "The ID of the group that will own the access"
          }
        },
        "required": [
          "access_data",
          "access_id",
          "access_name",
          "access_type",
          "create_time",
          "created_by",
          "credentials_consumed",
          "credentials_user_id"
        ]
      }
    },
    "first": {
      "type": "string",
      "description": "First page"
    },
    "last": {
      "type": "string",
      "description": "Last page"
    },
    "next": {
      "type": "string",
      "description": "Next page"
    },
    "prev": {
      "type": "string",
      "description": "Previous page"
    },
    "total_count": {
      "type": "integer",
      "description": "Total number of results"
    }
  },
  "required": [
    "access"
  ]
}