PSRule-resources.schema.json

{
  "$schema": "https://json-schema.org/draft-07/schema#",
  "title": "PSRule resources",
  "description": "A meta schema for defining PSRule resources in a JSON document.",
  "type": "array",
  "items": {
    "anyOf": [
      {
        "$ref": "https://raw.githubusercontent.com/microsoft/PSRule/main/schemas/PSRule-language.schema.json#/definitions/rule-v1"
      },
      {
        "$ref": "https://raw.githubusercontent.com/microsoft/PSRule/main/schemas/PSRule-language.schema.json#/definitions/baseline-v1"
      },
      {
        "$ref": "https://raw.githubusercontent.com/microsoft/PSRule/main/schemas/PSRule-language.schema.json#/definitions/moduleConfig-v1"
      },
      {
        "$ref": "https://raw.githubusercontent.com/microsoft/PSRule/main/schemas/PSRule-language.schema.json#/definitions/selector-v1"
      },
      {
        "$ref": "https://raw.githubusercontent.com/microsoft/PSRule/main/schemas/PSRule-language.schema.json#/definitions/suppressionGroup-v1"
      }
    ]
  }
}