{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-personal-access-token-schema.json",
  "title": "PersonalAccessToken",
  "description": "Represents a personal access token",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-personal-access-tokens-api-openapi.yml#/components/schemas/PersonalAccessToken",
  "type": "object",
  "properties": {
    "personalAccessTokenId": {
      "type": "integer",
      "format": "int32",
      "description": "Unique identifier"
    },
    "name": {
      "type": "string",
      "description": "Name of the token"
    },
    "userName": {
      "type": "string",
      "description": "User who owns the token"
    },
    "secretExpirationDate": {
      "type": "string",
      "format": "date-time",
      "description": "Expiration date of the token secret"
    }
  }
}