- 
                Notifications
    You must be signed in to change notification settings 
- Fork 37
JSON Schema for XML Schema
        Alexey Valikov edited this page May 2, 2015 
        ·
        2 revisions
      
    Generated schemas reference types from the standard pre-defined XML Schema:
http://www.jsonix.org/jsonschemas/w3c/2001/XMLSchema.jsonschema
The table below explains how XML Schema types will be represented in JSON Schema.
| XML Schema type | JSON Schema representation | 
|---|---|
| anySimpleType | string,number,integer,boolean,null | 
| string | stringornull | 
| normalizedString | stringwith special pattern | 
| token | stringwith special pattern | 
| language | stringwith special pattern | 
| Name | stringwith special pattern | 
| NCName | stringwith special pattern | 
| ID | stringwith special pattern | 
| IDREF | stringwith special pattern | 
| IDREFS | arrayofstrings with special pattern | 
| ENTITY | stringwith special pattern | 
| ENTITIES | arrayofstrings with special pattern | 
| NMTOKEN | stringwith special pattern | 
| NMTOKENS | arrayofstrings with special pattern | 
| boolean | boolean | 
| base64Binary | arrayofunsignedByte | 
| hexBinary | arrayofunsignedByte | 
| float | number | 
| decimal | number | 
| integer | integer | 
| nonPositiveInteger | integerwith"maximum":0and"exclusiveMaximum":false | 
| negativeInteger | integerwith"maximum":0and"exclusiveMaximum":true | 
| long | integerfrom-9223372036854775808to9223372036854775807 | 
| int | integerfrom-2147483648to2147483647 | 
| short | integerfrom-32768to32767 | 
| byte | integerfrom-128to127 | 
| nonNegativeInteger | integerwith"minimum":0and"exclusiveMinimum":false | 
| unsignedLong | integerfrom0to18446744073709551615 | 
| unsignedInt | integerfrom0to4294967295 | 
| unsignedShort | integerfrom0to65535 | 
| unsignedByte | integerfrom0to255 | 
| positiveInteger | integerwith"minimum":0and"exclusiveMinimum":true | 
| double | number | 
| anyURI | stringwith"format":"uri" | 
| QName | objectwith propertiesnamespaceURI,localPart,prefix | 
| NOTATION | QName | 
| duration | objectwith propertiessign,years,months,days,hours,minutes,seconds | 
| dateTime | objectwith propertiesyear,month,day,hour,minute,second,fractionalSecond,timezone | 
| date | objectwith propertiesyear,month,day,timezone | 
| time | objectwith propertieshour,minute,second,fractionalSecond,timezone | 
| gYearMonth | objectwith propertiesyear,month,timezone | 
| gYear | objectwith propertiesyear,timezone | 
| gMonthDay | objectwith propertiesmonth,day,timezone | 
| gDay | objectwith propertiesday,timezone | 
| gMonth | objectwith propertiesmonth,timezone | 
- Usage
- Basic Concepts
- Generation
- Configuration
- Advanced Topics
- Sample Projects
- Troubleshooting
- Development