{
  "$schema": "https://json-schema.org/draft-07/schema#",
  "description": "Policy ignore identifies policies that will be ignored by PSRule for generating rules during export of policies.",
  "items": {
    "additionalProperties": false,
    "examples": [
      {
        "policyDefinitionIds": [],
        "reason": "Duplicate",
        "value": ""
      }
    ],
    "properties": {
      "policyDefinitionIds": {
        "description": "The resource IDs of built-in policies to ignore.",
        "items": {
          "type": "string"
        },
        "minItems": 1,
        "title": "Policy definition IDs",
        "type": "array",
        "uniqueItems": true
      },
      "reason": {
        "default": "Duplicate",
        "enum": [
          "Duplicate",
          "NotApplicable"
        ],
        "title": "The reason why the policy definition is ignored.",
        "type": "string"
      },
      "value": {
        "description": "An additional relating to the reason the policy definition was ignored.",
        "title": "Value",
        "type": "string"
      }
    }
  },
  "title": "Policy as Code Ignore",
  "type": "array"
}