{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/popp/json-schema/popp-list-document-credentials-response-schema.json",
  "title": "ListDocumentCredentialsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/popp-document-credentials-api-openapi.yml#/components/schemas/ListDocumentCredentialsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Document-fetch credentials in the organization group. Tokens are never returned.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "headerTokenKey": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "name",
          "headerTokenKey",
          "createdAt"
        ],
        "additionalProperties": false
      }
    },
    "nextToken": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextToken"
  ],
  "additionalProperties": false
}