{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "id",
      "title",
      "rows",
      "csv",
      "json",
      "origin",
      "hash"
    ],
    "properties": {
      "id": {
        "type": "string",
        "pattern": "^(INV|BEN)-[0-9]{3}$"
      },
      "title": {
        "type": "string"
      },
      "rows": {
        "type": "integer",
        "minimum": 1
      },
      "csv": {
        "type": "string"
      },
      "json": {
        "type": "string"
      },
      "origin": {
        "type": "string"
      },
      "hash": {
        "type": "string",
        "pattern": "^[a-f0-9]{64}$"
      }
    }
  }
}