{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-api-result-file-token-schema.json",
  "title": "ApiResultFileToken",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-file-tokens-api-openapi.yml#/components/schemas/ApiResultFileToken",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/FileToken"
    },
    "count": {
      "type": "integer",
      "format": "int32"
    },
    "responseCode": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "FileToken": {
      "type": "object",
      "description": "A single-use file transfer token",
      "properties": {
        "token": {
          "type": "string",
          "description": "Token value"
        },
        "fileTokenType": {
          "type": "string",
          "description": "Token type",
          "enum": [
            "UPLOAD",
            "DOWNLOAD",
            "REPORT_FILE"
          ]
        }
      }
    }
  }
}