Skip to content

Commit 7cc4a7d

Browse files
author
nobody
committed
JSON Schema Update
1 parent c870134 commit 7cc4a7d

File tree

4 files changed

+81
-0
lines changed

4 files changed

+81
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"get_third_party_redirect": 1,
3+
"name": "dynamicworks"
4+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "Third Party Redirect Login SSO URL (response)",
4+
"description": "The result for Third Party Redirect URL for sso login.",
5+
"type": "object",
6+
"required": [
7+
"echo_req",
8+
"msg_type"
9+
],
10+
"properties": {
11+
"redirect_url": {
12+
"description": "Redirect URL for sso login.",
13+
"type": "string"
14+
},
15+
"echo_req": {
16+
"description": "Echo of the request made.",
17+
"type": "object"
18+
},
19+
"msg_type": {
20+
"description": "Action name of the request made.",
21+
"type": "string",
22+
"enum": [
23+
"get_third_party_redirect"
24+
]
25+
},
26+
"req_id": {
27+
"description": "Optional field sent in request to map to response, present only when request contains `req_id`.",
28+
"type": "integer"
29+
}
30+
}
31+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "Third Party Redirect Login SSO URL (request)",
4+
"description": "Get Third Party Redirect URL for sso login.",
5+
"type": "object",
6+
"auth_required": 1,
7+
"auth_scopes": [
8+
"read"
9+
],
10+
"additionalProperties": false,
11+
"required": [
12+
"get_third_party_redirect",
13+
"name"
14+
],
15+
"properties": {
16+
"get_third_party_redirect": {
17+
"description": "Must be `1`",
18+
"type": "integer",
19+
"enum": [
20+
1
21+
]
22+
},
23+
"name": {
24+
"description": "The name of third party platform for redirect URL.",
25+
"type": "string",
26+
"enum": [
27+
"dynamicworks"
28+
]
29+
},
30+
"loginid": {
31+
"description": "[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.",
32+
"type": "string",
33+
"pattern": "^[A-Za-z]+[0-9]+$"
34+
},
35+
"passthrough": {
36+
"description": "[Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field.",
37+
"type": "object"
38+
},
39+
"req_id": {
40+
"description": "[Optional] Used to map request to response.",
41+
"type": "integer"
42+
}
43+
}
44+
}

static/data/v3.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ groups:
7777
title: Get Self-Exclusion
7878
- name: get_settings
7979
title: Get Account Settings
80+
- name: get_third_party_redirect
81+
title: Third Party Redirect Login SSO URL
8082
- name: identity_verification_document_add
8183
title: Identity Verification Add Document
8284
- name: kyc_auth_status

0 commit comments

Comments
 (0)