{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/popp/json-schema/popp-update-document-credential-request-schema.json",
  "title": "UpdateDocumentCredentialRequest",
  "description": "Send only the fields you are changing. At least one is required.",
  "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/UpdateDocumentCredentialRequest",
  "type": "object",
  "minProperties": 1,
  "properties": {
    "name": {
      "type": "string"
    },
    "headerTokenKey": {
      "type": "string"
    },
    "token": {
      "type": "string",
      "description": "New token value to rotate to (max 4096 bytes). Encrypted at rest and never returned."
    }
  },
  "additionalProperties": false
}