{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/purge-cache/v1/purge-cache-requests.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "description": "A list of Purge Cache requests that the Purge Cache service has previously received.\n",
  "items": {
    "additionalProperties": false,
    "description": "An entry in a list of Purge Cache Requests that the Purge Cache service has previously received.\n",
    "properties": {
      "before": {
        "description": "All caches that match this provisionerId, workerType, and cacheName must be destroyed if they were created _before_ this time.\n",
        "format": "date-time",
        "type": "string"
      },
      "cacheName": {
        "description": "Name of cache to purge.",
        "type": "string"
      },
      "provisionerId": {
        "description": "ProvisionerId associated with the workerType.",
        "maxLength": 38,
        "minLength": 1,
        "pattern": "^([a-zA-Z0-9-_]*)$",
        "type": "string"
      },
      "workerType": {
        "description": "Workertype cache exists on.",
        "maxLength": 38,
        "minLength": 1,
        "pattern": "^([a-zA-Z0-9-_]*)$",
        "type": "string"
      }
    },
    "required": [
      "provisionerId",
      "workerType",
      "cacheName",
      "before"
    ],
    "title": "Purge Cache Requests Entry",
    "type": "object"
  },
  "title": "Purge Cache Requests",
  "type": "array",
  "uniqueItems": false
}