{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/opentext-cybersecurity/main/json-schema/opentext-cybersecurity-post-personal-access-token-request-schema.json", "title": "PostPersonalAccessTokenRequest", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/opentext-cybersecurity-personal-access-tokens-api-openapi.yml#/components/schemas/PostPersonalAccessTokenRequest", "required": [ "name", "isAuthorized", "allowedScopes" ], "type": "object", "properties": { "name": { "description": "The name of the personal access token", "type": "string" }, "isAuthorized": { "description": "Flag indicating if the token is authorized to use the API", "type": "boolean" }, "allowedScopes": { "description": "Comma delimited list of tenant API scopes the token can be used for", "type": "string" }, "secretLifetimeDays": { "format": "int32", "description": "Number of days the token's secret is valid for", "type": "integer" }, "secretExpirationDate": { "format": "date-time", "description": "Date in MM/dd/yyyy format on which the secret should expire and after which will no longer be valid", "type": "string" } } }