draft3.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. {
  2. "$schema": "http://json-schema.org/draft-03/schema#",
  3. "dependencies": {
  4. "exclusiveMaximum": "maximum",
  5. "exclusiveMinimum": "minimum"
  6. },
  7. "id": "http://json-schema.org/draft-03/schema#",
  8. "properties": {
  9. "$ref": {
  10. "format": "uri",
  11. "type": "string"
  12. },
  13. "$schema": {
  14. "format": "uri",
  15. "type": "string"
  16. },
  17. "additionalItems": {
  18. "default": {},
  19. "type": [
  20. {
  21. "$ref": "#"
  22. },
  23. "boolean"
  24. ]
  25. },
  26. "additionalProperties": {
  27. "default": {},
  28. "type": [
  29. {
  30. "$ref": "#"
  31. },
  32. "boolean"
  33. ]
  34. },
  35. "default": {
  36. "type": "any"
  37. },
  38. "dependencies": {
  39. "additionalProperties": {
  40. "items": {
  41. "type": "string"
  42. },
  43. "type": [
  44. "string",
  45. "array",
  46. {
  47. "$ref": "#"
  48. }
  49. ]
  50. },
  51. "default": {},
  52. "type": [
  53. "string",
  54. "array",
  55. "object"
  56. ]
  57. },
  58. "description": {
  59. "type": "string"
  60. },
  61. "disallow": {
  62. "items": {
  63. "type": [
  64. "string",
  65. {
  66. "$ref": "#"
  67. }
  68. ]
  69. },
  70. "type": [
  71. "string",
  72. "array"
  73. ],
  74. "uniqueItems": true
  75. },
  76. "divisibleBy": {
  77. "default": 1,
  78. "exclusiveMinimum": true,
  79. "minimum": 0,
  80. "type": "number"
  81. },
  82. "enum": {
  83. "type": "array"
  84. },
  85. "exclusiveMaximum": {
  86. "default": false,
  87. "type": "boolean"
  88. },
  89. "exclusiveMinimum": {
  90. "default": false,
  91. "type": "boolean"
  92. },
  93. "extends": {
  94. "default": {},
  95. "items": {
  96. "$ref": "#"
  97. },
  98. "type": [
  99. {
  100. "$ref": "#"
  101. },
  102. "array"
  103. ]
  104. },
  105. "format": {
  106. "type": "string"
  107. },
  108. "id": {
  109. "format": "uri",
  110. "type": "string"
  111. },
  112. "items": {
  113. "default": {},
  114. "items": {
  115. "$ref": "#"
  116. },
  117. "type": [
  118. {
  119. "$ref": "#"
  120. },
  121. "array"
  122. ]
  123. },
  124. "maxDecimal": {
  125. "minimum": 0,
  126. "type": "number"
  127. },
  128. "maxItems": {
  129. "minimum": 0,
  130. "type": "integer"
  131. },
  132. "maxLength": {
  133. "type": "integer"
  134. },
  135. "maximum": {
  136. "type": "number"
  137. },
  138. "minItems": {
  139. "default": 0,
  140. "minimum": 0,
  141. "type": "integer"
  142. },
  143. "minLength": {
  144. "default": 0,
  145. "minimum": 0,
  146. "type": "integer"
  147. },
  148. "minimum": {
  149. "type": "number"
  150. },
  151. "pattern": {
  152. "format": "regex",
  153. "type": "string"
  154. },
  155. "patternProperties": {
  156. "additionalProperties": {
  157. "$ref": "#"
  158. },
  159. "default": {},
  160. "type": "object"
  161. },
  162. "properties": {
  163. "additionalProperties": {
  164. "$ref": "#",
  165. "type": "object"
  166. },
  167. "default": {},
  168. "type": "object"
  169. },
  170. "required": {
  171. "default": false,
  172. "type": "boolean"
  173. },
  174. "title": {
  175. "type": "string"
  176. },
  177. "type": {
  178. "default": "any",
  179. "items": {
  180. "type": [
  181. "string",
  182. {
  183. "$ref": "#"
  184. }
  185. ]
  186. },
  187. "type": [
  188. "string",
  189. "array"
  190. ],
  191. "uniqueItems": true
  192. },
  193. "uniqueItems": {
  194. "default": false,
  195. "type": "boolean"
  196. }
  197. },
  198. "type": "object"
  199. }