{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.forgeling.io/schemas/events/secret.refresh_failed.json",
  "title": "secret.refresh_failed",
  "description": "A refreshable run secret could not be refreshed before it expired.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "name",
    "expires_at"
  ],
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[A-Z_][A-Z0-9_]{0,63}$"
    },
    "expires_at": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
    }
  }
}
