AzureDevOpsDscNative.AzDoWorkItemQuery.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "AzureDevOpsDscNative/AzDoWorkItemQuery",
  "kind": "resource",
  "version": "1.1.0",
  "capabilities": [
    "set",
    "test",
    "get"
  ],
  "description": "DSC resource for managing Azure DevOps shared work item queries.",
  "author": "ZanattaMichael",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "AzureDevOpsDscNative.psd1",
  "schema": {
    "embedded": {
      "additionalProperties": false,
      "type": "object",
      "description": "DSC resource for managing Azure DevOps shared work item queries.",
      "title": "AzureDevOpsDscNative/AzDoWorkItemQuery",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "Ensure": {
          "type": "string",
          "enum": [
            "Present",
            "Absent"
          ],
          "title": "Ensure",
          "description": "The Ensure property."
        },
        "LookupResult": {
          "type": "object",
          "title": "LookupResult",
          "readOnly": true,
          "description": "The LookupResult property."
        },
        "ProjectName": {
          "type": "string",
          "title": "ProjectName",
          "description": "The name of the Azure DevOps project."
        },
        "Path": {
          "type": "string",
          "title": "Path",
          "description": "The full path of the query, including the root and any folders, for example 'Shared Queries/Platform/Active Bugs'."
        },
        "Wiql": {
          "type": "string",
          "title": "Wiql",
          "description": "The WIQL statement backing the query."
        },
        "QueryType": {
          "type": "string",
          "enum": [
            "flat",
            "tree",
            "oneHop"
          ],
          "title": "QueryType",
          "description": "'flat', 'tree' or 'oneHop'. Defaults to 'flat'."
        },
        "Columns": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Columns",
          "description": "Field reference names to display as columns, for example 'System.Id', 'System.Title'."
        },
        "SortColumns": {
          "items": {
            "type": "object"
          },
          "type": "array",
          "title": "SortColumns",
          "description": "Sort order, as an array of hashtables: @{ Field = 'System.Id'; Descending = $false }."
        }
      },
      "required": [
        "ProjectName",
        "Path"
      ]
    }
  }
}