Skip to content

Commit

Permalink
Copied Jsonix and XMLSchema JSON Schemas.
Browse files Browse the repository at this point in the history
  • Loading branch information
highsource committed Aug 30, 2015
1 parent 00ebda2 commit c209915
Show file tree
Hide file tree
Showing 2 changed files with 816 additions and 0 deletions.
90 changes: 90 additions & 0 deletions nodejs/scripts/jsonschemas/jsonix/Jsonix.jsonschema
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"id" : "http://www.jsonix.org/jsonschemas/jsonix/Jsonix.jsonschema#",
"definitions" : {
"calendar" : {
"anyOf" : [ {
"type" : "object",
"properties" : {
"year" : {
"$ref" : "#/definitions/integer"
},
"month" : {
"allOf" : [ {
"$ref" : "#/definitions/unsignedByte"
}, {
"minimum" : 1,
"exclusiveMinimum" : false,
"maximum" : 12,
"exclusiveMaximum" : false
} ]
},
"day" : {
"allOf" : [ {
"$ref" : "#/definitions/unsignedByte"
}, {
"minimum" : 1,
"exclusiveMinimum" : false,
"maximum" : 31,
"exclusiveMaximum" : false
} ]
},
"hour" : {
"allOf" : [ {
"$ref" : "#/definitions/unsignedByte"
}, {
"minimum" : 0,
"exclusiveMinimum" : false,
"maximum" : 23,
"exclusiveMaximum" : false
} ]
},
"minute" : {
"allOf" : [ {
"$ref" : "#/definitions/unsignedByte"
}, {
"minimum" : 0,
"exclusiveMinimum" : false,
"maximum" : 59,
"exclusiveMaximum" : false
} ]
},
"second" : {
"allOf" : [ {
"$ref" : "#/definitions/unsignedByte"
}, {
"minimum" : 0,
"exclusiveMinimum" : false,
"maximum" : 59,
"exclusiveMaximum" : false
} ]
},
"fractionalSecond" : {
"allOf" : [ {
"$ref" : "#/definitions/decimal"
}, {
"minimum" : 0,
"exclusiveMinimum" : false,
"maximum" : 1,
"exclusiveMaximum" : true
} ]
},
"timezone" : {
"allOf" : [ {
"$ref" : "#/definitions/integer"
}, {
"minimum" : -1440,
"exclusiveMinimum" : false,
"maximum" : 1440,
"exclusiveMaximum" : true
} ]
}
}
}, {
"type" : "null"
} ],
"description" : "http://www.w3.org/TR/xmlschema-2/#dateTime"
},
"dom" : {},
"wildcard" : {}
}
}
Loading

0 comments on commit c209915

Please sign in to comment.