{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/red-hat/main/json-schema/red-hat-paginated-credential-list-schema.json",
  "title": "PaginatedCredentialList",
  "description": "A paginated list of credentials.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-credentials-api-openapi.yml#/components/schemas/PaginatedCredentialList",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique identifier of the credential."
          },
          "name": {
            "type": "string",
            "description": "The name of the credential."
          },
          "description": {
            "type": "string",
            "description": "A description of the credential."
          },
          "credential_type": {
            "type": "integer",
            "description": "The ID of the credential type."
          },
          "organization": {
            "type": "integer",
            "description": "The ID of the owning organization."
          }
        }
      }
    }
  }
}