chocolatey.ChocolateyPin.dsc.adaptedResource.json

{
  "$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json",
  "type": "chocolatey/ChocolateyPin",
  "kind": "resource",
  "version": "0.11.0",
  "capabilities": [
    "get",
    "test",
    "set"
  ],
  "description": "The `ChocolateyPin` DSC resource is used to set or remove Pins.",
  "author": "Gael Colas",
  "requireAdapter": "Microsoft.Adapter/PowerShell",
  "path": "chocolatey.psd1",
  "schema": {
    "embedded": {
      "type": "object",
      "title": "chocolatey/ChocolateyPin",
      "description": "The `ChocolateyPin` DSC resource is used to set or remove Pins.",
      "additionalProperties": false,
      "properties": {
        "Ensure": {
          "type": "string",
          "enum": [
            "Absent",
            "Present"
          ],
          "title": "Ensure",
          "description": "Indicate whether the Chocolatey Pin should be enabled or disabled for this package."
        },
        "Name": {
          "type": "string",
          "title": "Name",
          "description": "The Name property."
        },
        "Version": {
          "type": "string",
          "title": "Version",
          "description": "Version of the Package to pin."
        },
        "Reasons": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Reasons",
          "readOnly": true,
          "description": "The Reasons property."
        }
      },
      "required": [
        "Name"
      ],
      "$schema": "https://json-schema.org/draft/2020-12/schema"
    }
  }
}