Azure DevOps · JSON Structure

Azure Dev Ops Authorization Structure

Authorization info used to access a resource (like code repository).

Type: object Properties: 2 Required: 1
AzureCI/CDDevOpsProject ManagementVersion Control

Authorization is a JSON Structure definition published by Azure DevOps, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

authorizationType parameters

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-dev-ops/refs/heads/main/json-structure/azure-dev-ops-authorization-structure.json",
  "description": "Authorization info used to access a resource (like code repository).",
  "type": "object",
  "properties": {
    "authorizationType": {
      "description": "Type of authorization.",
      "enum": [
        "personalAccessToken"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "AuthorizationType"
      }
    },
    "parameters": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Authorization parameters corresponding to the authorization type.",
      "type": "object"
    }
  },
  "required": [
    "authorizationType"
  ],
  "name": "Authorization"
}