Azure DevOps · Schema

InputDescriptor

Representation of a pipeline template input parameter.

AzureCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
description string Description of the input parameter.
id string Identifier of the input parameter.
possibleValues array List of possible values for the input parameter.
type string Data type of the value of the input parameter.
View JSON Schema on GitHub

JSON Schema

azure-dev-ops-input-descriptor-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-dev-ops/refs/heads/main/json-schema/azure-dev-ops-input-descriptor-schema.json",
  "title": "InputDescriptor",
  "description": "Representation of a pipeline template input parameter.",
  "type": "object",
  "properties": {
    "description": {
      "description": "Description of the input parameter.",
      "type": "string"
    },
    "id": {
      "description": "Identifier of the input parameter.",
      "type": "string"
    },
    "possibleValues": {
      "description": "List of possible values for the input parameter.",
      "items": {
        "$ref": "#/definitions/InputValue"
      },
      "type": "array"
    },
    "type": {
      "description": "Data type of the value of the input parameter.",
      "enum": [
        "String",
        "SecureString",
        "Int",
        "Bool",
        "Authorization"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "InputDataType"
      }
    }
  },
  "required": [
    "id",
    "type"
  ]
}