File tree Expand file tree Collapse file tree 1 file changed +96
-0
lines changed
Expand file tree Collapse file tree 1 file changed +96
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "title" : " UserResponse" ,
3+ "description" : " Response object for user" ,
4+ "type" : " object" ,
5+ "properties" : {
6+ "user" : {
7+ "$ref" : " #/definitions/default_1" ,
8+ "description" : " user details"
9+ }
10+ },
11+ "definitions" : {
12+ "default_1" : {
13+ "type" : " object" ,
14+ "properties" : {
15+ "id" : {
16+ "type" : " number"
17+ },
18+ "basicInformation" : {
19+ "type" : " object" ,
20+ "properties" : {
21+ "firstName" : {
22+ "type" : " string"
23+ },
24+ "lastName" : {
25+ "type" : " string"
26+ },
27+ "email" : {
28+ "type" : " string"
29+ }
30+ }
31+ },
32+ "classes" : {
33+ "type" : " array" ,
34+ "items" : {
35+ "$ref" : " #/definitions/default_2"
36+ }
37+ }
38+ }
39+ },
40+ "default_2" : {
41+ "type" : " object" ,
42+ "properties" : {
43+ "className" : {
44+ "type" : " string"
45+ },
46+ "details" : {
47+ "type" : " array" ,
48+ "items" : {
49+ "$ref" : " #/definitions/default_3"
50+ }
51+ },
52+ "id" : {
53+ "type" : " number"
54+ },
55+ "parentId" : {
56+ "type" : " number"
57+ },
58+ "subRows" : {
59+ "type" : " array" ,
60+ "items" : {
61+ "$ref" : " #/definitions/default_2"
62+ }
63+ }
64+ }
65+ },
66+ "default_3" : {
67+ "type" : " object" ,
68+ "properties" : {
69+ "id" : {
70+ "type" : " number"
71+ },
72+ "detailDesc" : {
73+ "type" : " string"
74+ },
75+ "detailType" : {
76+ "$ref" : " #/definitions/default_4"
77+ }
78+ }
79+ },
80+ "default_4" : {
81+ "type" : " object" ,
82+ "properties" : {
83+ "detailTypeName" : {
84+ "type" : " string"
85+ },
86+ "detailCode" : {
87+ "type" : " string"
88+ },
89+ "id" : {
90+ "type" : " number"
91+ }
92+ }
93+ }
94+ },
95+ "$schema" : " http://json-schema.org/draft-07/schema#"
96+ }
You can’t perform that action at this time.
0 commit comments