Skip to content

Commit c209915

Browse files
committed
Copied Jsonix and XMLSchema JSON Schemas.
1 parent 00ebda2 commit c209915

File tree

2 files changed

+816
-0
lines changed

2 files changed

+816
-0
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{
2+
"id" : "http://www.jsonix.org/jsonschemas/jsonix/Jsonix.jsonschema#",
3+
"definitions" : {
4+
"calendar" : {
5+
"anyOf" : [ {
6+
"type" : "object",
7+
"properties" : {
8+
"year" : {
9+
"$ref" : "#/definitions/integer"
10+
},
11+
"month" : {
12+
"allOf" : [ {
13+
"$ref" : "#/definitions/unsignedByte"
14+
}, {
15+
"minimum" : 1,
16+
"exclusiveMinimum" : false,
17+
"maximum" : 12,
18+
"exclusiveMaximum" : false
19+
} ]
20+
},
21+
"day" : {
22+
"allOf" : [ {
23+
"$ref" : "#/definitions/unsignedByte"
24+
}, {
25+
"minimum" : 1,
26+
"exclusiveMinimum" : false,
27+
"maximum" : 31,
28+
"exclusiveMaximum" : false
29+
} ]
30+
},
31+
"hour" : {
32+
"allOf" : [ {
33+
"$ref" : "#/definitions/unsignedByte"
34+
}, {
35+
"minimum" : 0,
36+
"exclusiveMinimum" : false,
37+
"maximum" : 23,
38+
"exclusiveMaximum" : false
39+
} ]
40+
},
41+
"minute" : {
42+
"allOf" : [ {
43+
"$ref" : "#/definitions/unsignedByte"
44+
}, {
45+
"minimum" : 0,
46+
"exclusiveMinimum" : false,
47+
"maximum" : 59,
48+
"exclusiveMaximum" : false
49+
} ]
50+
},
51+
"second" : {
52+
"allOf" : [ {
53+
"$ref" : "#/definitions/unsignedByte"
54+
}, {
55+
"minimum" : 0,
56+
"exclusiveMinimum" : false,
57+
"maximum" : 59,
58+
"exclusiveMaximum" : false
59+
} ]
60+
},
61+
"fractionalSecond" : {
62+
"allOf" : [ {
63+
"$ref" : "#/definitions/decimal"
64+
}, {
65+
"minimum" : 0,
66+
"exclusiveMinimum" : false,
67+
"maximum" : 1,
68+
"exclusiveMaximum" : true
69+
} ]
70+
},
71+
"timezone" : {
72+
"allOf" : [ {
73+
"$ref" : "#/definitions/integer"
74+
}, {
75+
"minimum" : -1440,
76+
"exclusiveMinimum" : false,
77+
"maximum" : 1440,
78+
"exclusiveMaximum" : true
79+
} ]
80+
}
81+
}
82+
}, {
83+
"type" : "null"
84+
} ],
85+
"description" : "http://www.w3.org/TR/xmlschema-2/#dateTime"
86+
},
87+
"dom" : {},
88+
"wildcard" : {}
89+
}
90+
}

0 commit comments

Comments
 (0)