AzureDevOpsDscNative.AzDoProcessWorkItemType.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoProcessWorkItemType",
  "kind": "resource",
  "version": "1.1.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing work item types on an Azure DevOps inherited process.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "description": "DSC resource for managing work item types on an Azure DevOps inherited process.",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "AzureDevOpsDscNative/AzDoProcessWorkItemType",
      "properties": {
        "Ensure": {
          "type": "string",
          "enum": [
            "Present",
            "Absent"
          ],
          "title": "Ensure",
          "description": "The Ensure property."
        },
        "LookupResult": {
          "type": "object",
          "title": "LookupResult",
          "readOnly": true,
          "description": "The LookupResult property."
        },
        "ProcessName": {
          "type": "string",
          "title": "ProcessName",
          "description": "The name of the inherited process."
        },
        "WorkItemTypeName": {
          "type": "string",
          "title": "WorkItemTypeName",
          "description": "The display name of the work item type, for example 'Incident'."
        },
        "Description": {
          "type": "string",
          "title": "Description",
          "description": "A description for the work item type."
        },
        "Color": {
          "type": "string",
          "title": "Color",
          "description": "The hex colour without a leading '#', for example 'F6546A'."
        },
        "Icon": {
          "type": "string",
          "title": "Icon",
          "description": "The icon name, for example 'icon_book' or 'icon_flame'."
        },
        "IsDisabled": {
          "type": "boolean",
          "title": "IsDisabled",
          "description": "Whether the work item type is disabled - hidden from pickers without being deleted. Disabling is the reversible alternative to removal."
        },
        "AllowDestructiveRemove": {
          "type": "boolean",
          "title": "AllowDestructiveRemove",
          "description": "Required for Ensure = 'Absent'. Removing a custom work item type deletes every work item of that type."
        }
      },
      "required": [
        "ProcessName",
        "WorkItemTypeName"
      ],
      "type": "object",
      "additionalProperties": false
    }
  }
}