{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$id": "https://www.krakend.io/schema/v3.0/auth/jose.json",
  "title": "Shared JWK cache",
  "description": "Enables global configurations for the HTTP client responsible of downloading and caching the JWK URLs for token validation and signing.",
  "type": "object",
  "required": [ "shared_cache_duration" ],
  "properties": {
    "shared_cache_duration": {
      "title": "Shared cache duration",
      "description": "The cache duration in seconds for the JWK client retrieving the `jwk_url`. The endpoint must enable the `cache` option in order to use this second level cache.\n\nSee: https://www.krakend.io/docs/authorization/jwk-caching/",
      "type": "integer",
      "@sensitive": 5
    }
  },
  "patternProperties": {
    "^[@$_#]": true
  },
  "additionalProperties": false
}
