{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/zones_url_target", "title": "zones_url_target", "description": "URL target.", "properties": { "constraint": { "allOf": [ { "$ref": "#/components/schemas/zones_string_constraint" }, { "properties": { "value": { "description": "The URL pattern to match against the current request. The pattern may contain up to four asterisks ('*') as placeholders.", "example": "*example.com/images/*", "pattern": "^(https?://)?(([-a-zA-Z0-9*]*\\.)+[-a-zA-Z0-9]{2,20})(:(8080|8443|443|80))?(/[\\S]+)?$", "type": "string" } } } ], "description": "The constraint of a target.", "type": "object" }, "target": { "description": "A target based on the URL of the request.", "enum": [ "url" ], "example": "url" } }, "type": "object" }