{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/suzuki-shunsuke/pinact/v3/pkg/config/config",
  "$ref": "#/$defs/Config",
  "$defs": {
    "Config": {
      "properties": {
        "version": {
          "type": "integer",
          "enum": [
            2,
            3
          ]
        },
        "files": {
          "items": {
            "$ref": "#/$defs/File"
          },
          "type": "array",
          "description": "Target files. If files are passed via positional command line arguments"
        },
        "ignore_actions": {
          "items": {
            "$ref": "#/$defs/IgnoreAction"
          },
          "type": "array",
          "description": "Actions and reusable workflows that pinact ignores"
        }
      },
      "additionalProperties": false,
      "type": "object"
    },
    "File": {
      "properties": {
        "pattern": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "pattern"
      ]
    },
    "IgnoreAction": {
      "properties": {
        "name": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "name"
      ]
    }
  }
}
