{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://apigenie.pl/schemas/apigenie-run-report.json",
  "title": "apigenie run --json",
  "description": "The scripts of a configuration file, as `apigenie run --json` lists them without a script name (ADR-237). Adding members keeps formatVersion; removing a member or changing its meaning or type increments it.",
  "type": "object",
  "required": ["formatVersion", "file", "scripts"],
  "properties": {
    "formatVersion": {
      "description": "The version of this format.",
      "const": 1
    },
    "file": {
      "description": "The configuration file the scripts come from: the absolute path of the one found in the current directory or a parent, or the path given with `--config`, as given.",
      "type": "string"
    },
    "scripts": {
      "description": "The scripts, in the order of the file: the name of each one and its command line, as written in the file.",
      "type": "object",
      "additionalProperties": { "type": "string" }
    }
  }
}
