{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/jfrog/main/json-schema/jfrog-create-token-request-schema.json",
  "title": "CreateTokenRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/jfrog-access-tokens-api-openapi.yml#/components/schemas/CreateTokenRequest",
  "type": "object",
  "properties": {
    "subject": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    },
    "expires_in": {
      "type": "integer",
      "description": "Token expiry in seconds (0 for non-expiring)"
    },
    "refreshable": {
      "type": "boolean"
    },
    "description": {
      "type": "string"
    },
    "audience": {
      "type": "string"
    },
    "include_reference_token": {
      "type": "boolean"
    }
  },
  "required": [
    "scope"
  ]
}