Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit 8052ed8

Browse files
author
nobody
committed
JSON Schema Update
1 parent 7bcb365 commit 8052ed8

File tree

9 files changed

+219
-0
lines changed

9 files changed

+219
-0
lines changed

config/v3/p2p_advert_create/receive.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
"required": [
6969
"completed_orders_count",
7070
"id",
71+
"is_online",
72+
"last_online_time",
7173
"name",
7274
"rating_average",
7375
"rating_count",
@@ -88,10 +90,25 @@
8890
"description": "The advertiser's unique identifier.",
8991
"type": "string"
9092
},
93+
"is_online": {
94+
"description": "Indicates if the advertiser is currently online.",
95+
"type": "integer",
96+
"enum": [
97+
0,
98+
1
99+
]
100+
},
91101
"last_name": {
92102
"description": "The advertiser's last name.",
93103
"type": "string"
94104
},
105+
"last_online_time": {
106+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
107+
"type": [
108+
"integer",
109+
"null"
110+
]
111+
},
95112
"name": {
96113
"description": "The advertiser's displayed name.",
97114
"type": "string"

config/v3/p2p_advert_info/receive.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"required": [
3535
"completed_orders_count",
3636
"id",
37+
"is_online",
38+
"last_online_time",
3739
"name",
3840
"rating_average",
3941
"rating_count",
@@ -70,6 +72,14 @@
7072
1
7173
]
7274
},
75+
"is_online": {
76+
"description": "Indicates if the advertiser is currently online.",
77+
"type": "integer",
78+
"enum": [
79+
0,
80+
1
81+
]
82+
},
7383
"is_recommended": {
7484
"description": "Indicates that the advertiser was recommended in the most recent review by the current user.",
7585
"type": [
@@ -86,6 +96,13 @@
8696
"description": "The advertiser's last name.",
8797
"type": "string"
8898
},
99+
"last_online_time": {
100+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
101+
"type": [
102+
"integer",
103+
"null"
104+
]
105+
},
89106
"name": {
90107
"description": "The advertiser's displayed name.",
91108
"type": "string"

config/v3/p2p_advert_list/receive.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
"required": [
7070
"completed_orders_count",
7171
"id",
72+
"is_online",
73+
"last_online_time",
7274
"name",
7375
"rating_average",
7476
"rating_count",
@@ -104,6 +106,14 @@
104106
1
105107
]
106108
},
109+
"is_online": {
110+
"description": "Indicates if the advertiser is currently online.",
111+
"type": "integer",
112+
"enum": [
113+
0,
114+
1
115+
]
116+
},
107117
"is_recommended": {
108118
"description": "Indicates that the advertiser was recommended in the most recent review by the current user.",
109119
"type": [
@@ -120,6 +130,13 @@
120130
"description": "The advertiser's last name.",
121131
"type": "string"
122132
},
133+
"last_online_time": {
134+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
135+
"type": [
136+
"integer",
137+
"null"
138+
]
139+
},
123140
"name": {
124141
"description": "The advertiser's displayed name.",
125142
"type": "string"

config/v3/p2p_advert_update/receive.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
"required": [
3838
"completed_orders_count",
3939
"id",
40+
"is_online",
41+
"last_online_time",
4042
"name",
4143
"rating_average",
4244
"rating_count",
@@ -57,10 +59,25 @@
5759
"description": "The advertiser's unique identifier.",
5860
"type": "string"
5961
},
62+
"is_online": {
63+
"description": "Indicates if the advertiser is currently online.",
64+
"type": "integer",
65+
"enum": [
66+
0,
67+
1
68+
]
69+
},
6070
"last_name": {
6171
"description": "The advertiser's last name.",
6272
"type": "string"
6373
},
74+
"last_online_time": {
75+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
76+
"type": [
77+
"integer",
78+
"null"
79+
]
80+
},
6481
"name": {
6582
"description": "The advertiser's displayed name.",
6683
"type": "string"

config/v3/p2p_advertiser_adverts/receive.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
"required": [
8181
"completed_orders_count",
8282
"id",
83+
"is_online",
84+
"last_online_time",
8385
"name",
8486
"rating_average",
8587
"rating_count",
@@ -100,10 +102,25 @@
100102
"description": "The advertiser's unique identifier.",
101103
"type": "string"
102104
},
105+
"is_online": {
106+
"description": "Indicates if the advertiser is currently online.",
107+
"type": "integer",
108+
"enum": [
109+
0,
110+
1
111+
]
112+
},
103113
"last_name": {
104114
"description": "The advertiser's last name.",
105115
"type": "string"
106116
},
117+
"last_online_time": {
118+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
119+
"type": [
120+
"integer",
121+
"null"
122+
]
123+
},
107124
"name": {
108125
"description": "The advertiser's displayed name.",
109126
"type": "string"

config/v3/p2p_order_create/receive.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
"additionalProperties": false,
9393
"required": [
9494
"id",
95+
"is_online",
96+
"last_online_time",
9597
"loginid",
9698
"name"
9799
],
@@ -104,10 +106,25 @@
104106
"description": "The advertiser's unique identifier.",
105107
"type": "string"
106108
},
109+
"is_online": {
110+
"description": "Indicates if the advertiser is currently online.",
111+
"type": "integer",
112+
"enum": [
113+
0,
114+
1
115+
]
116+
},
107117
"last_name": {
108118
"description": "The advertiser's last name.",
109119
"type": "string"
110120
},
121+
"last_online_time": {
122+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
123+
"type": [
124+
"integer",
125+
"null"
126+
]
127+
},
111128
"loginid": {
112129
"description": "The advertiser's account identifier.",
113130
"type": "string"
@@ -137,6 +154,8 @@
137154
"additionalProperties": false,
138155
"required": [
139156
"id",
157+
"is_online",
158+
"last_online_time",
140159
"loginid",
141160
"name"
142161
],
@@ -149,10 +168,25 @@
149168
"description": "The client's unique P2P identifier.",
150169
"type": "string"
151170
},
171+
"is_online": {
172+
"description": "Indicates if the advertiser is currently online.",
173+
"type": "integer",
174+
"enum": [
175+
0,
176+
1
177+
]
178+
},
152179
"last_name": {
153180
"description": "The client's last name.",
154181
"type": "string"
155182
},
183+
"last_online_time": {
184+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
185+
"type": [
186+
"integer",
187+
"null"
188+
]
189+
},
156190
"loginid": {
157191
"description": "The client's account identifier.",
158192
"type": "string"

config/v3/p2p_order_dispute/receive.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
"additionalProperties": false,
9393
"required": [
9494
"id",
95+
"is_online",
96+
"last_online_time",
9597
"loginid",
9698
"name"
9799
],
@@ -107,13 +109,28 @@
107109
"description": "The advertiser's unique identifier.",
108110
"type": "string"
109111
},
112+
"is_online": {
113+
"description": "Indicates if the advertiser is currently online.",
114+
"type": "integer",
115+
"enum": [
116+
0,
117+
1
118+
]
119+
},
110120
"last_name": {
111121
"description": "The advertiser's last name.",
112122
"type": [
113123
"null",
114124
"string"
115125
]
116126
},
127+
"last_online_time": {
128+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
129+
"type": [
130+
"integer",
131+
"null"
132+
]
133+
},
117134
"loginid": {
118135
"description": "The advertiser's account identifier.",
119136
"type": "string"
@@ -143,6 +160,8 @@
143160
"additionalProperties": false,
144161
"required": [
145162
"id",
163+
"is_online",
164+
"last_online_time",
146165
"loginid",
147166
"name"
148167
],
@@ -158,13 +177,28 @@
158177
"description": "The client's unique P2P identifier.",
159178
"type": "string"
160179
},
180+
"is_online": {
181+
"description": "Indicates if the advertiser is currently online.",
182+
"type": "integer",
183+
"enum": [
184+
0,
185+
1
186+
]
187+
},
161188
"last_name": {
162189
"description": "The client's last name.",
163190
"type": [
164191
"null",
165192
"string"
166193
]
167194
},
195+
"last_online_time": {
196+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
197+
"type": [
198+
"integer",
199+
"null"
200+
]
201+
},
168202
"loginid": {
169203
"description": "The client's account identifier.",
170204
"type": "string"

config/v3/p2p_order_info/receive.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@
9191
"additionalProperties": false,
9292
"required": [
9393
"id",
94+
"is_online",
95+
"last_online_time",
9496
"loginid",
9597
"name"
9698
],
@@ -103,6 +105,14 @@
103105
"description": "The advertiser's unique identifier.",
104106
"type": "string"
105107
},
108+
"is_online": {
109+
"description": "Indicates if the advertiser is currently online.",
110+
"type": "integer",
111+
"enum": [
112+
0,
113+
1
114+
]
115+
},
106116
"is_recommended": {
107117
"description": "Indicates that the advertiser was recommended in the most recent review by the current user.",
108118
"type": [
@@ -119,6 +129,13 @@
119129
"description": "The advertiser's last name.",
120130
"type": "string"
121131
},
132+
"last_online_time": {
133+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
134+
"type": [
135+
"integer",
136+
"null"
137+
]
138+
},
122139
"loginid": {
123140
"description": "The advertiser's account identifier.",
124141
"type": "string"
@@ -160,6 +177,14 @@
160177
"description": "The client's unique P2P identifier.",
161178
"type": "string"
162179
},
180+
"is_online": {
181+
"description": "Indicates if the advertiser is currently online.",
182+
"type": "integer",
183+
"enum": [
184+
0,
185+
1
186+
]
187+
},
163188
"is_recommended": {
164189
"description": "Indicates that the client was recommended in the most recent review by the current user.",
165190
"type": [
@@ -176,6 +201,13 @@
176201
"description": "The client's last name.",
177202
"type": "string"
178203
},
204+
"last_online_time": {
205+
"description": "Epoch of the latest time the advertiser was online, up to 6 months.",
206+
"type": [
207+
"integer",
208+
"null"
209+
]
210+
},
179211
"loginid": {
180212
"description": "The client's account identifier.",
181213
"type": "string"

0 commit comments

Comments
 (0)