Dependency-Track · Schema

create-oauth-token-request

CompanySBOMSoftware Supply ChainVulnerability ManagementOpen SourceOWASPSecurityCycloneDX

Properties

Name Type Description
grant_type string The grant type. Only `urn:ietf:params:oauth:grant-type:token-exchange` is supported.
subject_token string The token to exchange. Required for the token exchange grant. At most 16 KiB.
subject_token_type string The type of the subject token. Required for the token exchange grant. `urn:ietf:params:oauth:token-type:jwt` for all workload identity providers, or `urn:ietf:params:oauth:token-type:id_token` for `OI
requested_token_type string The type of token to issue. Optional. Only `urn:ietf:params:oauth:token-type:access_token` is supported.
workload_identity_provider object
service_account object
View JSON Schema on GitHub

JSON Schema

dependency-track-create-oauth-token-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dependency-track/main/json-schema/dependency-track-create-oauth-token-request-schema.json",
  "title": "create-oauth-token-request",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dependency-track-v2-openapi.yml#/components/schemas/create-oauth-token-request",
  "required": [
    "grant_type"
  ],
  "type": "object",
  "properties": {
    "grant_type": {
      "maxLength": 64,
      "type": "string",
      "description": "The grant type. Only `urn:ietf:params:oauth:grant-type:token-exchange` is supported."
    },
    "subject_token": {
      "maxLength": 16384,
      "type": "string",
      "description": "The token to exchange. Required for the token exchange grant. At most 16 KiB."
    },
    "subject_token_type": {
      "maxLength": 64,
      "type": "string",
      "description": "The type of the subject token. Required for the token exchange grant. `urn:ietf:params:oauth:token-type:jwt` for all workload identity providers, or `urn:ietf:params:oauth:token-type:id_token` for `OIDC` providers."
    },
    "requested_token_type": {
      "maxLength": 64,
      "type": "string",
      "description": "The type of token to issue. Optional. Only `urn:ietf:params:oauth:token-type:access_token` is supported."
    },
    "workload_identity_provider": {
      "$ref": "#/$defs/workload-identity-provider-name"
    },
    "service_account": {
      "$ref": "#/$defs/service-account-name"
    }
  },
  "$defs": {
    "service-account-name": {
      "maxLength": 59,
      "pattern": "^(?![sS][vV][cC]:)[a-zA-Z0-9][a-zA-Z0-9+=,.:@_-]*$",
      "type": "string",
      "description": "The name of the service account, without the reserved `svc:` prefix."
    },
    "workload-identity-provider-name": {
      "maxLength": 63,
      "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$",
      "type": "string",
      "description": "The name of the workload identity provider."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dependency-track-create-oauth-token-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.