diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-23 09:07:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-23 09:07:43 +0300 |
commit | 9d15ef5c5caf584ae16398940c16f2bdafd6f3e2 (patch) | |
tree | 7ae2422c4415ed9da8aba67391c5640fad0d9da8 /app/validators/json_schemas/build_metadata_id_tokens.json | |
parent | 26eeb803e0a3412f0b098d5c5a23f32b763f44c2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators/json_schemas/build_metadata_id_tokens.json')
-rw-r--r-- | app/validators/json_schemas/build_metadata_id_tokens.json | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/app/validators/json_schemas/build_metadata_id_tokens.json b/app/validators/json_schemas/build_metadata_id_tokens.json index 7f39c7274f3..d97b2241ca3 100644 --- a/app/validators/json_schemas/build_metadata_id_tokens.json +++ b/app/validators/json_schemas/build_metadata_id_tokens.json @@ -5,18 +5,27 @@ "patternProperties": { ".*": { "type": "object", - "patternProperties": { - "^id_token$": { - "type": "object", - "required": ["aud"], - "properties": { - "aud": { "type": "string" }, - "field": { "type": "string" } - }, - "additionalProperties": false + "required": [ + "aud" + ], + "properties": { + "aud": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1, + "uniqueItems": true + } + ] } }, "additionalProperties": false } } -} +}
\ No newline at end of file |