summaryrefslogtreecommitdiff
path: root/app/validators/json_schemas/build_metadata_id_tokens.json
diff options
context:
space:
mode:
Diffstat (limited to 'app/validators/json_schemas/build_metadata_id_tokens.json')
-rw-r--r--app/validators/json_schemas/build_metadata_id_tokens.json29
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