-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathtd-security-bearer-format-extensions_format.json
63 lines (63 loc) · 2 KB
/
td-security-bearer-format-extensions_format.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"title": "td-security-bearer-format-extensions_format",
"description": "alg: Encoding, encryption, or digest algorithm (one of MD5, ES256, or ES512-256). MUST be included. Type: string.",
"$schema": "http://json-schema.org/draft-07/schema#",
"is-complex": true,
"type": "object",
"properties": {
"securityDefinitions": {
"type": "object",
"minProperties": 1,
"additionalProperties": {
"$ref": "#/definitions/securityScheme"
}
}
},
"required": ["securityDefinitions"],
"additionalProperties": true,
"definitions": {
"securityScheme": {
"if": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"proxy": {
"$ref": "#/definitions/url"
},
"scheme": {
"type": "string",
"enum": ["bearer"]
},
"authorization": {
"$ref": "#/definitions/url"
},
"alg": {
"type": "string"
},
"format": {
"type": "string",
"not": {
"enum": ["jwt", "jwe", "jws"]
}
},
"in": {
"type": "string",
"enum": ["header", "query", "body", "cookie"]
},
"name": {
"type": "string"
}
},
"required": ["scheme", "format"]
},
"then": {
"const": "td-security-bearer-format-extensions_format=pass"
}
},
"url": {
"type": "string"
}
}
}