Azure Repos · Schema

IdentityRefWithVote

Identity information including a vote on a pull request. Vote values are 10 (approved), 5 (approved with suggestions), 0 (no vote), -5 (waiting for author), -10 (rejected).

Developer ToolsDevOpsVersion ControlRepositoriesTFVC

Properties

Name Type Description
id string Unique identity ID
displayName string Display name of the identity
uniqueName string Unique name (typically email)
url string REST API URL for this identity
imageUrl string URL to the identity's avatar image
descriptor string Graph descriptor for the identity
isContainer boolean Whether this identity is a group
vote integer Vote value: 10=approved, 5=approved with suggestions, 0=no vote, -5=waiting for author, -10=rejected
reviewerUrl string URL to retrieve reviewer information
hasDeclined boolean Whether the reviewer has declined to review
isFlagged boolean Whether the reviewer is flagged for attention
isRequired boolean Whether this is a required reviewer
votedFor array Groups or teams this reviewer contributed to
View JSON Schema on GitHub

JSON Schema

microsoft-azure-repo-identity-ref-with-vote-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-repo/json-schema/microsoft-azure-repo-identity-ref-with-vote-schema.json",
  "title": "IdentityRefWithVote",
  "description": "Identity information including a vote on a pull request. Vote values are 10 (approved), 5 (approved with suggestions), 0 (no vote), -5 (waiting for author), -10 (rejected).",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-repo-pull-request-reviewers-api-openapi.yml#/components/schemas/IdentityRefWithVote",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/IdentityRef"
    },
    {
      "type": "object",
      "properties": {
        "vote": {
          "type": "integer",
          "format": "int16",
          "description": "Vote value: 10=approved, 5=approved with suggestions, 0=no vote, -5=waiting for author, -10=rejected"
        },
        "reviewerUrl": {
          "type": "string",
          "format": "uri",
          "description": "URL to retrieve reviewer information"
        },
        "hasDeclined": {
          "type": "boolean",
          "description": "Whether the reviewer has declined to review"
        },
        "isFlagged": {
          "type": "boolean",
          "description": "Whether the reviewer is flagged for attention"
        },
        "isRequired": {
          "type": "boolean",
          "description": "Whether this is a required reviewer"
        },
        "votedFor": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IdentityRefWithVote"
          },
          "description": "Groups or teams this reviewer contributed to"
        }
      }
    }
  ],
  "$defs": {
    "IdentityRef": {
      "type": "object",
      "description": "Reference to an Azure DevOps identity (user or group)",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Unique identity ID"
        },
        "displayName": {
          "type": "string",
          "description": "Display name of the identity"
        },
        "uniqueName": {
          "type": "string",
          "description": "Unique name (typically email)"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "REST API URL for this identity"
        },
        "imageUrl": {
          "type": "string",
          "format": "uri",
          "description": "URL to the identity's avatar image"
        },
        "descriptor": {
          "type": "string",
          "description": "Graph descriptor for the identity"
        },
        "isContainer": {
          "type": "boolean",
          "description": "Whether this identity is a group"
        }
      }
    },
    "IdentityRefWithVote": {
      "type": "object",
      "description": "Identity information including a vote on a pull request. Vote values are 10 (approved), 5 (approved with suggestions), 0 (no vote), -5 (waiting for author), -10 (rejected).",
      "allOf": [
        {
          "$ref": "#/$defs/IdentityRef"
        },
        {
          "type": "object",
          "properties": {
            "vote": {
              "type": "integer",
              "format": "int16",
              "description": "Vote value: 10=approved, 5=approved with suggestions, 0=no vote, -5=waiting for author, -10=rejected"
            },
            "reviewerUrl": {
              "type": "string",
              "format": "uri",
              "description": "URL to retrieve reviewer information"
            },
            "hasDeclined": {
              "type": "boolean",
              "description": "Whether the reviewer has declined to review"
            },
            "isFlagged": {
              "type": "boolean",
              "description": "Whether the reviewer is flagged for attention"
            },
            "isRequired": {
              "type": "boolean",
              "description": "Whether this is a required reviewer"
            },
            "votedFor": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/IdentityRefWithVote"
              },
              "description": "Groups or teams this reviewer contributed to"
            }
          }
        }
      ]
    }
  }
}

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/microsoft-azure-repo-identity-ref-with-vote"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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