a zip code crypto-currency system good for red ONLY

json-schema-v5.json 7.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. {
  2. "id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/json-schema-v5.json#",
  3. "$schema": "http://json-schema.org/draft-04/schema#",
  4. "description": "Core schema meta-schema (v5 proposals - deprecated)",
  5. "definitions": {
  6. "schemaArray": {
  7. "type": "array",
  8. "minItems": 1,
  9. "items": { "$ref": "#" }
  10. },
  11. "positiveInteger": {
  12. "type": "integer",
  13. "minimum": 0
  14. },
  15. "positiveIntegerDefault0": {
  16. "allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
  17. },
  18. "simpleTypes": {
  19. "enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
  20. },
  21. "stringArray": {
  22. "type": "array",
  23. "items": { "type": "string" },
  24. "minItems": 1,
  25. "uniqueItems": true
  26. },
  27. "$data": {
  28. "type": "object",
  29. "required": [ "$data" ],
  30. "properties": {
  31. "$data": {
  32. "type": "string",
  33. "anyOf": [
  34. { "format": "relative-json-pointer" },
  35. { "format": "json-pointer" }
  36. ]
  37. }
  38. },
  39. "additionalProperties": false
  40. }
  41. },
  42. "type": "object",
  43. "properties": {
  44. "id": {
  45. "type": "string",
  46. "format": "uri"
  47. },
  48. "$schema": {
  49. "type": "string",
  50. "format": "uri"
  51. },
  52. "title": {
  53. "type": "string"
  54. },
  55. "description": {
  56. "type": "string"
  57. },
  58. "default": {},
  59. "multipleOf": {
  60. "anyOf": [
  61. {
  62. "type": "number",
  63. "minimum": 0,
  64. "exclusiveMinimum": true
  65. },
  66. { "$ref": "#/definitions/$data" }
  67. ]
  68. },
  69. "maximum": {
  70. "anyOf": [
  71. { "type": "number" },
  72. { "$ref": "#/definitions/$data" }
  73. ]
  74. },
  75. "exclusiveMaximum": {
  76. "anyOf": [
  77. {
  78. "type": "boolean",
  79. "default": false
  80. },
  81. { "$ref": "#/definitions/$data" }
  82. ]
  83. },
  84. "minimum": {
  85. "anyOf": [
  86. { "type": "number" },
  87. { "$ref": "#/definitions/$data" }
  88. ]
  89. },
  90. "exclusiveMinimum": {
  91. "anyOf": [
  92. {
  93. "type": "boolean",
  94. "default": false
  95. },
  96. { "$ref": "#/definitions/$data" }
  97. ]
  98. },
  99. "maxLength": {
  100. "anyOf": [
  101. { "$ref": "#/definitions/positiveInteger" },
  102. { "$ref": "#/definitions/$data" }
  103. ]
  104. },
  105. "minLength": {
  106. "anyOf": [
  107. { "$ref": "#/definitions/positiveIntegerDefault0" },
  108. { "$ref": "#/definitions/$data" }
  109. ]
  110. },
  111. "pattern": {
  112. "anyOf": [
  113. {
  114. "type": "string",
  115. "format": "regex"
  116. },
  117. { "$ref": "#/definitions/$data" }
  118. ]
  119. },
  120. "additionalItems": {
  121. "anyOf": [
  122. { "type": "boolean" },
  123. { "$ref": "#" },
  124. { "$ref": "#/definitions/$data" }
  125. ],
  126. "default": {}
  127. },
  128. "items": {
  129. "anyOf": [
  130. { "$ref": "#" },
  131. { "$ref": "#/definitions/schemaArray" }
  132. ],
  133. "default": {}
  134. },
  135. "maxItems": {
  136. "anyOf": [
  137. { "$ref": "#/definitions/positiveInteger" },
  138. { "$ref": "#/definitions/$data" }
  139. ]
  140. },
  141. "minItems": {
  142. "anyOf": [
  143. { "$ref": "#/definitions/positiveIntegerDefault0" },
  144. { "$ref": "#/definitions/$data" }
  145. ]
  146. },
  147. "uniqueItems": {
  148. "anyOf": [
  149. {
  150. "type": "boolean",
  151. "default": false
  152. },
  153. { "$ref": "#/definitions/$data" }
  154. ]
  155. },
  156. "maxProperties": {
  157. "anyOf": [
  158. { "$ref": "#/definitions/positiveInteger" },
  159. { "$ref": "#/definitions/$data" }
  160. ]
  161. },
  162. "minProperties": {
  163. "anyOf": [
  164. { "$ref": "#/definitions/positiveIntegerDefault0" },
  165. { "$ref": "#/definitions/$data" }
  166. ]
  167. },
  168. "required": {
  169. "anyOf": [
  170. { "$ref": "#/definitions/stringArray" },
  171. { "$ref": "#/definitions/$data" }
  172. ]
  173. },
  174. "additionalProperties": {
  175. "anyOf": [
  176. { "type": "boolean" },
  177. { "$ref": "#" },
  178. { "$ref": "#/definitions/$data" }
  179. ],
  180. "default": {}
  181. },
  182. "definitions": {
  183. "type": "object",
  184. "additionalProperties": { "$ref": "#" },
  185. "default": {}
  186. },
  187. "properties": {
  188. "type": "object",
  189. "additionalProperties": { "$ref": "#" },
  190. "default": {}
  191. },
  192. "patternProperties": {
  193. "type": "object",
  194. "additionalProperties": { "$ref": "#" },
  195. "default": {}
  196. },
  197. "dependencies": {
  198. "type": "object",
  199. "additionalProperties": {
  200. "anyOf": [
  201. { "$ref": "#" },
  202. { "$ref": "#/definitions/stringArray" }
  203. ]
  204. }
  205. },
  206. "enum": {
  207. "anyOf": [
  208. {
  209. "type": "array",
  210. "minItems": 1,
  211. "uniqueItems": true
  212. },
  213. { "$ref": "#/definitions/$data" }
  214. ]
  215. },
  216. "type": {
  217. "anyOf": [
  218. { "$ref": "#/definitions/simpleTypes" },
  219. {
  220. "type": "array",
  221. "items": { "$ref": "#/definitions/simpleTypes" },
  222. "minItems": 1,
  223. "uniqueItems": true
  224. }
  225. ]
  226. },
  227. "allOf": { "$ref": "#/definitions/schemaArray" },
  228. "anyOf": { "$ref": "#/definitions/schemaArray" },
  229. "oneOf": { "$ref": "#/definitions/schemaArray" },
  230. "not": { "$ref": "#" },
  231. "format": {
  232. "anyOf": [
  233. { "type": "string" },
  234. { "$ref": "#/definitions/$data" }
  235. ]
  236. },
  237. "constant": {
  238. "anyOf": [
  239. {},
  240. { "$ref": "#/definitions/$data" }
  241. ]
  242. },
  243. "contains": { "$ref": "#" }
  244. },
  245. "dependencies": {
  246. "exclusiveMaximum": [ "maximum" ],
  247. "exclusiveMinimum": [ "minimum" ]
  248. },
  249. "default": {}
  250. }