File tree Expand file tree Collapse file tree
dhis-2/dhis-test-web-api/src/test/resources/contracts/metadata-management-app/category Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "name" : " category" ,
32 "httpMethod" : " GET" ,
3+ "jsonSchema" : " contracts/metadata-management-app/category/json-schema.json" ,
4+ "name" : " category" ,
45 "requestUrl" : " /categories/{id}" ,
5- "responseStatus" : 200 ,
6- "jsonSchema" : " contracts/metadata-management-app/category/json-schema.json"
7- }
6+ "responseStatus" : 200
7+ }
Original file line number Diff line number Diff line change 11{
2- "type " : " object " ,
2+ "additionalProperties " : true ,
33 "properties" : {
4- "id" : {
5- "type" : " string"
6- },
7- "name" : {
8- "type" : " string"
9- },
10- "displayName" : {
11- "type" : " string"
12- },
134 "attributeValues" : {
14- "type" : " array" ,
155 "items" : {
16- "type " : " object " ,
6+ "additionalProperties " : true ,
177 "properties" : {
18- "value" : {
19- "type" : " string"
20- },
218 "attribute" : {
22- "type " : " object " ,
9+ "additionalProperties " : true ,
2310 "properties" : {
2411 "id" : {
2512 "type" : " string"
2815 "required" : [
2916 " id"
3017 ],
31- "additionalProperties" : true
18+ "type" : " object"
19+ },
20+ "value" : {
21+ "type" : " string"
3222 }
3323 },
3424 "required" : [
3525 " value" ,
3626 " attribute"
3727 ],
38- "additionalProperties" : true
39- }
40- },
41- "dataDimensionType" : {
42- "type" : " string" ,
43- "enum" : [
44- " DISAGGREGATION" ,
45- " ATTRIBUTE"
46- ]
47- },
48- "shortName" : {
49- "type" : " string"
50- },
51- "description" : {
52- "type" : " string"
53- },
54- "dataDimension" : {
55- "type" : " boolean"
28+ "type" : " object"
29+ },
30+ "type" : " array"
5631 },
5732 "categoryOptions" : {
58- "type" : " array" ,
5933 "items" : {
60- "type " : " object " ,
34+ "additionalProperties " : true ,
6135 "properties" : {
62- "id " : {
36+ "displayName " : {
6337 "type" : " string"
6438 },
65- "displayName " : {
39+ "id " : {
6640 "type" : " string"
6741 }
6842 },
6943 "required" : [
7044 " id"
7145 ],
72- "additionalProperties" : true
73- }
46+ "type" : " object"
47+ },
48+ "type" : " array"
49+ },
50+ "dataDimension" : {
51+ "type" : " boolean"
52+ },
53+ "dataDimensionType" : {
54+ "enum" : [
55+ " DISAGGREGATION" ,
56+ " ATTRIBUTE"
57+ ],
58+ "type" : " string"
59+ },
60+ "description" : {
61+ "type" : " string"
62+ },
63+ "displayName" : {
64+ "type" : " string"
65+ },
66+ "id" : {
67+ "type" : " string"
68+ },
69+ "name" : {
70+ "type" : " string"
71+ },
72+ "shortName" : {
73+ "type" : " string"
7474 }
7575 },
7676 "required" : [
8282 " dataDimension" ,
8383 " categoryOptions"
8484 ],
85- "additionalProperties " : true
86- }
85+ "type " : " object "
86+ }
You can’t perform that action at this time.
0 commit comments