AzureDevOpsDscNative.AzDoProcessState.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoProcessState",
  "kind": "resource",
  "version": "1.1.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing workflow states on a work item type of an Azure DevOps inherited process.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "description": "DSC resource for managing workflow states on a work item type of an Azure DevOps inherited process.",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "AzureDevOpsDscNative/AzDoProcessState",
      "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."
        },
        "StateName": {
          "type": "string",
          "title": "StateName",
          "description": "The name of the state."
        },
        "StateCategory": {
          "type": "string",
          "enum": [
            "Proposed",
            "InProgress",
            "Resolved",
            "Completed",
            "Removed"
          ],
          "title": "StateCategory",
          "description": "'Proposed', 'InProgress', 'Resolved', 'Completed' or 'Removed'."
        },
        "Color": {
          "type": "string",
          "title": "Color",
          "description": "The hex colour without a leading '#'."
        },
        "Order": {
          "type": "integer",
          "title": "Order",
          "description": "The position of the state within its category."
        }
      },
      "required": [
        "ProcessName",
        "WorkItemTypeName",
        "StateName"
      ],
      "type": "object",
      "additionalProperties": false
    }
  }
}