{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Template",
  "title": "Template",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "130",
      "description": "Unique identifier representing a report."
    },
    "title": {
      "type": "string",
      "example": "Client Version",
      "description": "Name of the template."
    },
    "service": {
      "type": "string",
      "example": "Teams",
      "description": "The service to which the report belongs."
    },
    "maxDays": {
      "type": "number",
      "example": 31,
      "description": "Maximum date range for reports belonging to this template."
    },
    "identifier": {
      "type": "string",
      "example": "orgWithoutDate",
      "description": "Generated reports belong to which field."
    },
    "validations": {
      "$ref": "#/components/schemas/ValidationRulesCollection"
    }
  }
}