{
  "lexicon": 1,
  "id": "tools.ozone.report.getLatestReport",
  "defs": {
    "main": {
      "type": "query",
      "description": "Get the most recent report.",
      "parameters": {
        "type": "params",
        "properties": {}
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["report"],
          "properties": {
            "report": {
              "type": "ref",
              "ref": "tools.ozone.report.defs#reportView"
            }
          }
        }
      },
      "errors": [
        {
          "name": "NotFound",
          "description": "No report found."
        }
      ]
    }
  }
}
