{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/json-structure/openapi-v2-retention-structure.json",
  "name": "Retention",
  "description": "Retention schema from AhaSend API",
  "type": "object",
  "properties": {
    "metadata": {
      "type": "int32",
      "nullable": true,
      "description": "Number of days to retain metadata",
      "minimum": 1,
      "maximum": 30,
      "example": 1
    },
    "data": {
      "type": "int32",
      "nullable": true,
      "description": "Number of days to retain data",
      "minimum": 0,
      "maximum": 30,
      "example": 1
    }
  },
  "example": {
    "metadata": 1,
    "data": 0
  }
}