Schema URL

Type: object

Base class for extension properties which are shared by the extension manifest and the extension model

Properties

badges Badge[]

Array of links to external metadata badges like TravisCI, Appveyor, and so on, from the approved badges sites.

baseUri string

Uri used as base for other relative uri's defined in extension

branding object

Dictionary of brand-related properties.

2 nested properties
color string

Primary color of the extension or publisher; can be a hex (#ff00ff), RGB (rgb(100,200,50)), or supported HTML color names (blue).

theme string

Complements the color; use dark for dark branding colors, or light for lighter branding colors.

Values: "dark" "light"
categories string[]

Array of strings representing the categories your extension belongs to. At least one category must be provided and there's no limit to how many categories you may include. Valid values: Azure Repos, Azure Boards, Azure Pipelines, Azure Test Plans, and Azure Artifacts.

minItems=1

List of shared constraints defined by this extension

content Record<string, object>

Dictionary of content files that describe your extension to users.

1 nested properties
details object

A content file that describes the extension to users.

1 nested properties
path string required

The path to the file in the extension.

contributionTypes ContributionType[]

List of contribution types defined by this extension

contributions Contribution[]

List of contributions made by this extension

demands string[]

List of explicit demands required by this extension

description string

A few sentences describing the extensions. Limited to 200 characters.

maxLength=200
eventCallbacks object

Collection of event callbacks - endpoints called when particular extension events occur.

7 nested properties
postDisable object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

postEnable object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

postInstall object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

postUninstall object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

postUpdate object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

preInstall object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

versionCheck object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

fallbackBaseUri string

Secondary location that can be used as base for other relative uri's defined in extension

files File[]

The files section is where you reference any files you wish to include in your extension.

icons Record<string, string>

Dictionary of icons representing the extension.

1 nested properties
default string

128x128 pixels

id string

The extension's identifier.

language string

Language Culture Name set by the Gallery

licensing object

How an extension should handle including contributions based on licensing

1 nested properties

A list of contributions which deviate from the default licensing behavior

manifestVersion number

Version of the extension manifest format/content. Should be 1.

name string

A short, human-readable name of the extension. Limited to 200 characters.

maxLength=200
publisher string

The identifier of the publisher. This identifier must match the identifier the extension is published under.

repository object

Dictionary of properties describing the source code repository for the extension.

2 nested properties
type string

Type of repository. Example: git.

uri string

Absolute URL of the repository.

restrictedTo string[]

Default user claims applied to all contributions (except the ones which have been specified restrictedTo explicitly) to control the visibility of a contribution.

scopes string[]

List of all oauth scopes required by this extension

screenshots Content[]

Array of images that couldn't be included in your content.

serviceInstanceType string

The ServiceInstanceType(Guid) of the VSTS service that must be available to an account in order for the extension to be installed

tags string[]

Array of string tags to help users find your extension.

targets Target[]

The products and services supported by your integration or extension.

minItems=1
version string

A string specifying the version of an extension. Should be in the format major.minor.patch.

Definitions

Badge object

A link to external metadata badge.

uri string required

The absolute URL of the badge image to be displayed.

href string

Link the user navigates to when selecting the badge.

description string

Description of the badge, to be displayed on hover.

Content object

A content file that describes the extension to users.

path string required

The path to the file in the extension.

Contribution object

An individual contribution made by an extension

id string required

Fully qualified identifier of the contribution/type

targets string[] required

The ids of the contribution(s) that this contribution targets. (parent contributions)

type string required

Id of the Contribution Type

List of constraints (filters) that should be applied to the availability of this contribution

description string

Description of the contribution/type

includes string[]

Includes is a set of contributions that should have this contribution included in their targets list.

properties

Properties/attributes of this contribution

restrictedTo string[]

List of demanded claims in order for the user to see this contribution (like anonymous, public, member...).

visibleTo string[]

VisibleTo can be used to restrict whom can reference a given contribution/type. This value should be a list of publishers or extensions access is restricted too. Examples: "ms" - Means only the "ms" publisher can reference this. "ms.vss-web" - Means only the "vss-web" extension from the "ms" publisher can reference this.

ContributionConstraint object

Specifies a constraint that can be used to dynamically include/exclude a given contribution

group number

An optional property that can be specified to group constraints together. All constraints within a group are AND'd together (all must be evaluate to True in order for the contribution to be included). Different groups of constraints are OR'd (only one group needs to evaluate to True for the contribution to be included).

id string

Fully qualified identifier of a shared constraint

inverse boolean

If true, negate the result of the filter (include the contribution if the applied filter returns false instead of true)

name string

Name of the IContributionFilter plugin

properties

Properties that are fed to the contribution filter class

relationships string[]

Constraints can be optionally be applied to one or more of the relationships defined in the contribution. If no relationships are defined then all relationships are associated with the constraint. This means the default behaviour will eliminate the contribution from the tree completely if the constraint is applied.

ContributionLicensingBehaviorType number

Represents different ways of including contributions based on licensing

ContributionPropertyDescription object

Description about a property of a contribution type

description string

Description of the property

name string

Name of the property

required boolean

True if this property is required

type number

The type of value used for a property

Values: 0 1 128 16 2 256 32 4 512 64 8
ContributionPropertyType number

The type of value used for a property

ContributionType object

A contribution type, given by a json schema

description string

Description of the contribution/type

id string

Fully qualified identifier of the contribution/type

indexed boolean

Controls whether or not contributions of this type have the type indexed for queries. This allows clients to find all extensions that have a contribution of this type. NOTE: Only TrustedPartners are allowed to specify indexed contribution types.

name string

Friendly name of the contribution/type

properties Record<string, object>

Describes the allowed properties for this contribution type

visibleTo string[]

VisibleTo can be used to restrict whom can reference a given contribution/type. This value should be a list of publishers or extensions access is restricted too. Examples: "ms" - Means only the "ms" publisher can reference this. "ms.vss-web" - Means only the "vss-web" extension from the "ms" publisher can reference this.

ExtensionEventCallback object

Base class for an event callback for an extension

uri string

The uri of the endpoint that is hit when an event occurs

ExtensionEventCallbackCollection object

Collection of event callbacks - endpoints called when particular extension events occur.

postDisable object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

postEnable object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

postInstall object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

postUninstall object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

postUpdate object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

preInstall object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

versionCheck object

Base class for an event callback for an extension

1 nested properties
uri string

The uri of the endpoint that is hit when an event occurs

ExtensionLicensing object

How an extension should handle including contributions based on licensing

A list of contributions which deviate from the default licensing behavior

File object
path string required

Path to resource on disk, which can be relative to your root directory.

addressable boolean

(optional) Set to true if you want your file to be URL-addressable. Defaults to false.

packagePath string

(optional) Path to the resource within the package. Defaults to the relative path on disk from your root directory.

contentType string

(optional) MIME type of the file. Defaults to a best guess based on the file extension and OS settings.

assetType string

(optional) Specify the value of the Type attribute of the asset entry in the VSIX manifest. Can also be an array of strings, in which case multiple asset entries get added for this file. Defaults to the packagePath.

lang string

(optional) Language of this asset. Localized files are served based on the Accept-Language header. Leave blank to signify this file is in the default (or fallback) language. Localized versions of the same file should have the same assetType.

LicensingOverride object

Maps a contribution to a licensing behavior

behavior number

Represents different ways of including contributions based on licensing

Values: 0 1 2
id string

Fully qualified contribution id which we want to define licensing behavior for

Target object
id string required
Values: "Microsoft.VisualStudio.Services" "Microsoft.TeamFoundation.Server" "Microsoft.VisualStudio.Services.Integration" "Microsoft.TeamFoundation.Server.Integration"