@adobe/jsonschema2md 6.1.1 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/{.eslintrc.js → .eslintrc.cjs} +3 -17
  2. package/{.releaserc.js → .releaserc.cjs} +0 -0
  3. package/CHANGELOG.md +47 -0
  4. package/cli.js +1 -1
  5. package/lib/formatInfo.js +17 -19
  6. package/lib/formattingTools.js +6 -8
  7. package/lib/index.js +176 -81
  8. package/lib/keywords.js +2 -4
  9. package/lib/locales/update.js +2 -2
  10. package/lib/markdownBuilder.js +62 -44
  11. package/lib/readmeBuilder.js +13 -12
  12. package/lib/schemaProxy.js +32 -26
  13. package/lib/symbols.js +14 -2
  14. package/lib/traverseSchema.js +5 -5
  15. package/lib/writeMarkdown.js +87 -41
  16. package/lib/writeSchema.js +46 -21
  17. package/package.json +40 -29
  18. package/types/api.d.ts +72 -0
  19. package/types/formatInfo.d.ts +19 -0
  20. package/types/formattingTools.d.ts +2 -0
  21. package/types/index.d.ts +75 -0
  22. package/types/keywords.d.ts +2 -0
  23. package/types/markdownBuilder.d.ts +8 -0
  24. package/types/readmeBuilder.d.ts +5 -0
  25. package/types/schemaProxy.d.ts +1 -0
  26. package/types/symbols.d.ts +11 -0
  27. package/types/traverseSchema.d.ts +6 -0
  28. package/types/writeMarkdown.d.ts +56 -0
  29. package/types/writeSchema.d.ts +19 -0
  30. package/.circleci/config.yml +0 -83
  31. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -23
  32. package/.github/workflows/semantic-release.yaml +0 -55
  33. package/.github/workflows/semver-check.yaml +0 -16
  34. package/.renovaterc.json +0 -3
  35. package/.tidelift.yml +0 -32
  36. package/crowdin.yml +0 -4
  37. package/examples/abstract.md +0 -3
  38. package/examples/docs/README.md +0 -121
  39. package/examples/docs/abstract-definitions-first-properties-foo.md +0 -15
  40. package/examples/docs/abstract-definitions-first-properties-nonfoo.md +0 -23
  41. package/examples/docs/abstract-definitions-first.md +0 -66
  42. package/examples/docs/abstract-definitions-second-properties-bar.md +0 -15
  43. package/examples/docs/abstract-definitions-second.md +0 -39
  44. package/examples/docs/abstract-definitions.md +0 -15
  45. package/examples/docs/abstract.md +0 -104
  46. package/examples/docs/arrays-properties-boollist-items.md +0 -15
  47. package/examples/docs/arrays-properties-boollist.md +0 -19
  48. package/examples/docs/arrays-properties-coordinatelist-items-items.md +0 -21
  49. package/examples/docs/arrays-properties-coordinatelist-items.md +0 -21
  50. package/examples/docs/arrays-properties-coordinatelist.md +0 -19
  51. package/examples/docs/arrays-properties-intlist-items.md +0 -15
  52. package/examples/docs/arrays-properties-intlist.md +0 -21
  53. package/examples/docs/arrays-properties-jointypelist-items-oneof-0-properties-foo.md +0 -21
  54. package/examples/docs/arrays-properties-jointypelist-items-oneof-0.md +0 -45
  55. package/examples/docs/arrays-properties-jointypelist-items-oneof-1-properties-bar.md +0 -21
  56. package/examples/docs/arrays-properties-jointypelist-items-oneof-1.md +0 -45
  57. package/examples/docs/arrays-properties-jointypelist-items.md +0 -21
  58. package/examples/docs/arrays-properties-jointypelist.md +0 -15
  59. package/examples/docs/arrays-properties-list-items.md +0 -15
  60. package/examples/docs/arrays-properties-list.md +0 -15
  61. package/examples/docs/arrays-properties-listlist-items.md +0 -15
  62. package/examples/docs/arrays-properties-listlist.md +0 -15
  63. package/examples/docs/arrays-properties-numlist-items.md +0 -19
  64. package/examples/docs/arrays-properties-numlist.md +0 -19
  65. package/examples/docs/arrays-properties-objectlist-items-properties-a.md +0 -15
  66. package/examples/docs/arrays-properties-objectlist-items-properties-b.md +0 -15
  67. package/examples/docs/arrays-properties-objectlist-items.md +0 -58
  68. package/examples/docs/arrays-properties-objectlist.md +0 -15
  69. package/examples/docs/arrays-properties-stringlistlist-items-items.md +0 -15
  70. package/examples/docs/arrays-properties-stringlistlist-items.md +0 -15
  71. package/examples/docs/arrays-properties-stringlistlist.md +0 -15
  72. package/examples/docs/arrays-properties-tuple-items-negative-integer.md +0 -19
  73. package/examples/docs/arrays-properties-tuple-items-positive-integer.md +0 -19
  74. package/examples/docs/arrays-properties-tuple-zero.md +0 -23
  75. package/examples/docs/arrays-properties-tuple.md +0 -21
  76. package/examples/docs/arrays.md +0 -240
  77. package/examples/docs/complex-additionalproperties.md +0 -15
  78. package/examples/docs/complex-patternproperties-int.md +0 -15
  79. package/examples/docs/complex-patternproperties-str.md +0 -15
  80. package/examples/docs/complex-patternproperties.md +0 -15
  81. package/examples/docs/complex-properties-and-allof-0.md +0 -19
  82. package/examples/docs/complex-properties-and-allof-1.md +0 -19
  83. package/examples/docs/complex-properties-and.md +0 -21
  84. package/examples/docs/complex-properties-or-anyof-0.md +0 -15
  85. package/examples/docs/complex-properties-or-anyof-1.md +0 -19
  86. package/examples/docs/complex-properties-or.md +0 -21
  87. package/examples/docs/complex-properties-reflocalfiledef.md +0 -39
  88. package/examples/docs/complex-properties-refnestedobj-properties-refobj.md +0 -39
  89. package/examples/docs/complex-properties-refnestedobj.md +0 -39
  90. package/examples/docs/complex-properties-refobj.md +0 -39
  91. package/examples/docs/complex-properties-xor-oneof-0.md +0 -19
  92. package/examples/docs/complex-properties-xor-oneof-1.md +0 -19
  93. package/examples/docs/complex-properties-xor.md +0 -21
  94. package/examples/docs/complex.md +0 -285
  95. package/examples/docs/constants-properties-hello.md +0 -23
  96. package/examples/docs/constants.md +0 -47
  97. package/examples/docs/custom-allof-0.md +0 -15
  98. package/examples/docs/custom-allof-1.md +0 -39
  99. package/examples/docs/custom-allof-2.md +0 -39
  100. package/examples/docs/custom-definitions-first-properties-foo.md +0 -15
  101. package/examples/docs/custom-definitions-first-properties.md +0 -15
  102. package/examples/docs/custom-definitions-first.md +0 -39
  103. package/examples/docs/custom-definitions-second-properties-bar.md +0 -15
  104. package/examples/docs/custom-definitions-second-properties.md +0 -15
  105. package/examples/docs/custom-definitions-second.md +0 -39
  106. package/examples/docs/custom-definitions.md +0 -15
  107. package/examples/docs/custom.md +0 -85
  108. package/examples/docs/deepextending-allof-0.md +0 -49
  109. package/examples/docs/deepextending-allof-1.md +0 -89
  110. package/examples/docs/deepextending-allof-3.md +0 -39
  111. package/examples/docs/deepextending-definitions-fourth-properties-hey.md +0 -15
  112. package/examples/docs/deepextending-definitions-fourth-properties.md +0 -15
  113. package/examples/docs/deepextending-definitions-fourth.md +0 -39
  114. package/examples/docs/deepextending-definitions.md +0 -15
  115. package/examples/docs/deepextending.md +0 -57
  116. package/examples/docs/definitions-definitions-myid-properties-id-1.md +0 -19
  117. package/examples/docs/definitions-definitions-myid-properties-id.md +0 -19
  118. package/examples/docs/definitions-definitions-myid-properties-metaid.md +0 -19
  119. package/examples/docs/definitions-definitions-myid-properties.md +0 -15
  120. package/examples/docs/definitions-definitions-myid.md +0 -89
  121. package/examples/docs/definitions-definitions.md +0 -15
  122. package/examples/docs/definitions.md +0 -117
  123. package/examples/docs/enums-properties-enumerated-nested-properties-test.md +0 -25
  124. package/examples/docs/enums-properties-enumerated-nested.md +0 -49
  125. package/examples/docs/enums-properties-hello.md +0 -24
  126. package/examples/docs/enums.md +0 -67
  127. package/examples/docs/example-properties-bar.md +0 -25
  128. package/examples/docs/example-properties-foo.md +0 -21
  129. package/examples/docs/example.md +0 -83
  130. package/examples/docs/examples-properties-bar.md +0 -25
  131. package/examples/docs/examples-properties-foo.md +0 -21
  132. package/examples/docs/examples.md +0 -90
  133. package/examples/docs/extending-definitions-third-properties-baaaz.md +0 -21
  134. package/examples/docs/extending-definitions-third.md +0 -45
  135. package/examples/docs/extending-definitions.md +0 -15
  136. package/examples/docs/extending.md +0 -61
  137. package/examples/docs/extensible-definitions-first-properties-foo.md +0 -21
  138. package/examples/docs/extensible-definitions-first-properties.md +0 -15
  139. package/examples/docs/extensible-definitions-first.md +0 -45
  140. package/examples/docs/extensible-definitions-second-properties-bar.md +0 -25
  141. package/examples/docs/extensible-definitions-second-properties.md +0 -15
  142. package/examples/docs/extensible-definitions-second.md +0 -49
  143. package/examples/docs/extensible-definitions.md +0 -15
  144. package/examples/docs/extensible.md +0 -93
  145. package/examples/docs/identifiable-properties-id.md +0 -19
  146. package/examples/docs/identifiable.md +0 -43
  147. package/examples/docs/join-oneof-0-not-oneof-0-properties-foo.md +0 -21
  148. package/examples/docs/join-oneof-0-not-oneof-0.md +0 -45
  149. package/examples/docs/join-oneof-0-not-oneof-1-properties-bar.md +0 -21
  150. package/examples/docs/join-oneof-0-not-oneof-1.md +0 -45
  151. package/examples/docs/join-oneof-0-not.md +0 -21
  152. package/examples/docs/join-oneof-0.md +0 -23
  153. package/examples/docs/join-oneof-1-allof-0-properties-foo.md +0 -21
  154. package/examples/docs/join-oneof-1-allof-0.md +0 -45
  155. package/examples/docs/join-oneof-1.md +0 -19
  156. package/examples/docs/join-oneof-2-anyof-0-properties-bar.md +0 -21
  157. package/examples/docs/join-oneof-2-anyof-0.md +0 -45
  158. package/examples/docs/join-oneof-2.md +0 -19
  159. package/examples/docs/join.md +0 -33
  160. package/examples/docs/nestedobj-properties-settings-properties-collaborators-patternproperties-.md +0 -15
  161. package/examples/docs/nestedobj-properties-settings-properties-collaborators-patternproperties.md +0 -15
  162. package/examples/docs/nestedobj-properties-settings-properties-collaborators-properties-id.md +0 -15
  163. package/examples/docs/nestedobj-properties-settings-properties-collaborators.md +0 -58
  164. package/examples/docs/nestedobj-properties-settings.md +0 -39
  165. package/examples/docs/nestedobj.md +0 -39
  166. package/examples/docs/pattern-patternproperties-0-9.md +0 -21
  167. package/examples/docs/pattern-patternproperties.md +0 -15
  168. package/examples/docs/pattern.md +0 -45
  169. package/examples/docs/simple-properties-id.md +0 -19
  170. package/examples/docs/simple.md +0 -43
  171. package/examples/docs/simpletypes-properties-integer_threes.md +0 -23
  172. package/examples/docs/simpletypes-properties-interger_constrained.md +0 -19
  173. package/examples/docs/simpletypes-properties-interger_unconstrained.md +0 -15
  174. package/examples/docs/simpletypes-properties-number_constrained.md +0 -19
  175. package/examples/docs/simpletypes-properties-number_unconstrained.md +0 -15
  176. package/examples/docs/simpletypes-properties-string_date.md +0 -19
  177. package/examples/docs/simpletypes-properties-string_email.md +0 -19
  178. package/examples/docs/simpletypes-properties-string_hostname.md +0 -19
  179. package/examples/docs/simpletypes-properties-string_ipv4.md +0 -19
  180. package/examples/docs/simpletypes-properties-string_ipv6.md +0 -19
  181. package/examples/docs/simpletypes-properties-string_length.md +0 -31
  182. package/examples/docs/simpletypes-properties-string_pattern-metaenum.md +0 -15
  183. package/examples/docs/simpletypes-properties-string_pattern.md +0 -39
  184. package/examples/docs/simpletypes-properties-string_pattern_noexample.md +0 -25
  185. package/examples/docs/simpletypes-properties-string_pattern_singleexample.md +0 -31
  186. package/examples/docs/simpletypes-properties-string_unconstrained.md +0 -21
  187. package/examples/docs/simpletypes-properties-string_uri.md +0 -19
  188. package/examples/docs/simpletypes-properties-yesno.md +0 -15
  189. package/examples/docs/simpletypes.md +0 -455
  190. package/examples/docs/stabilizing-properties-id.md +0 -19
  191. package/examples/docs/stabilizing.md +0 -43
  192. package/examples/docs/subdir-allof-0.md +0 -43
  193. package/examples/docs/subdir-definitions-content-properties-id.md +0 -19
  194. package/examples/docs/subdir-definitions-content-properties.md +0 -15
  195. package/examples/docs/subdir-definitions-content.md +0 -43
  196. package/examples/docs/subdir-definitions.md +0 -15
  197. package/examples/docs/subdir.md +0 -55
  198. package/examples/docs/typearrays-properties-null.md +0 -15
  199. package/examples/docs/typearrays-properties-string-or-null.md +0 -15
  200. package/examples/docs/typearrays-properties-string-or-number-null.md +0 -15
  201. package/examples/docs/typearrays-properties-string-or-number.md +0 -15
  202. package/examples/docs/typearrays.md +0 -96
  203. package/examples/docsWithoutHeader/arrays.schema.md +0 -254
  204. package/examples/generated-schemas/abstract.schema.json +0 -1
  205. package/examples/generated-schemas/arrays.schema.json +0 -1
  206. package/examples/generated-schemas/complex.schema.json +0 -1
  207. package/examples/generated-schemas/constants.schema.json +0 -1
  208. package/examples/generated-schemas/custom.schema.json +0 -1
  209. package/examples/generated-schemas/deepextending.schema.json +0 -1
  210. package/examples/generated-schemas/definitions.schema.json +0 -1
  211. package/examples/generated-schemas/enums.schema.json +0 -1
  212. package/examples/generated-schemas/example.schema.json +0 -1
  213. package/examples/generated-schemas/examples.schema.json +0 -1
  214. package/examples/generated-schemas/extending.schema.json +0 -1
  215. package/examples/generated-schemas/extensible.schema.json +0 -1
  216. package/examples/generated-schemas/identifiable.schema.json +0 -1
  217. package/examples/generated-schemas/join.schema.json +0 -1
  218. package/examples/generated-schemas/nestedobj.schema.json +0 -1
  219. package/examples/generated-schemas/pattern.schema.json +0 -1
  220. package/examples/generated-schemas/simple.schema.json +0 -1
  221. package/examples/generated-schemas/simpletypes.schema.json +0 -1
  222. package/examples/generated-schemas/stabilizing.schema.json +0 -1
  223. package/examples/generated-schemas/subdir/subdir.schema.json +0 -1
  224. package/examples/generated-schemas/typearrays.schema.json +0 -1
  225. package/examples/schemas/abstract.schema.json +0 -44
  226. package/examples/schemas/arrays.schema.json +0 -185
  227. package/examples/schemas/complex.schema.json +0 -123
  228. package/examples/schemas/constants.schema.json +0 -25
  229. package/examples/schemas/custom.schema.json +0 -41
  230. package/examples/schemas/deepextending.schema.json +0 -37
  231. package/examples/schemas/definitions.description.md +0 -17
  232. package/examples/schemas/definitions.schema.json +0 -46
  233. package/examples/schemas/enums.schema.json +0 -42
  234. package/examples/schemas/example.example.1.json +0 -4
  235. package/examples/schemas/example.schema.json +0 -29
  236. package/examples/schemas/examples.example.1.json +0 -4
  237. package/examples/schemas/examples.example.2.json +0 -4
  238. package/examples/schemas/examples.schema.json +0 -32
  239. package/examples/schemas/extending.schema.json +0 -38
  240. package/examples/schemas/extensible.schema.json +0 -38
  241. package/examples/schemas/identifiable.schema.json +0 -22
  242. package/examples/schemas/join.schema.json +0 -88
  243. package/examples/schemas/nestedobj.schema.json +0 -35
  244. package/examples/schemas/pattern.schema.json +0 -21
  245. package/examples/schemas/simple.schema.json +0 -22
  246. package/examples/schemas/simpletypes.schema.json +0 -151
  247. package/examples/schemas/stabilizing.schema.json +0 -23
  248. package/examples/schemas/subdir/subdir.schema.json +0 -29
  249. package/examples/schemas/typearrays.schema.json +0 -39
  250. package/examples/status.md +0 -3
  251. package/test/api.test.js +0 -55
  252. package/test/cyclicSchemaIntegration.test.js +0 -87
  253. package/test/fixtures/additionalprops/additionalprops.schema.json +0 -6
  254. package/test/fixtures/additionalprops/arrays.schema.json +0 -9
  255. package/test/fixtures/arrays/arrays.schema.json +0 -201
  256. package/test/fixtures/arrays/tuple.schema.json +0 -35
  257. package/test/fixtures/content/html.schema.json +0 -5
  258. package/test/fixtures/content/jwt.schema.json +0 -26
  259. package/test/fixtures/content/png.schema.json +0 -6
  260. package/test/fixtures/cyclic/one.description.md +0 -1
  261. package/test/fixtures/cyclic/one.example.1.json +0 -1
  262. package/test/fixtures/cyclic/one.schema.json +0 -17
  263. package/test/fixtures/cyclic/three.schema.json +0 -17
  264. package/test/fixtures/cyclic/two.schema.json +0 -17
  265. package/test/fixtures/deadref/deadref.schema.json +0 -6
  266. package/test/fixtures/enums/arrayenums.schema.json +0 -29
  267. package/test/fixtures/enums/enums.schema.json +0 -29
  268. package/test/fixtures/example/example.schema.json +0 -52
  269. package/test/fixtures/format/format.schema.json +0 -25
  270. package/test/fixtures/identifiable/identifiable.schema.json +0 -22
  271. package/test/fixtures/not/not.schema.json +0 -7
  272. package/test/fixtures/null/null.schema.json +0 -14
  273. package/test/fixtures/nullable/array.schema.json +0 -17
  274. package/test/fixtures/readme-1/abstract.schema.json +0 -50
  275. package/test/fixtures/readme-1/complex.schema.json +0 -107
  276. package/test/fixtures/readme-1/simple.schema.json +0 -30
  277. package/test/fixtures/skipproperties/complete.schema.json +0 -29
  278. package/test/fixtures/stringformats/simpletypes.schema.json +0 -211
  279. package/test/fixtures/title/meta.schema.json +0 -53
  280. package/test/fixtures/type/button.schema.json +0 -28
  281. package/test/fixtures/type/type.schema.json +0 -20
  282. package/test/fixtures/types/merged.schema.json +0 -10
  283. package/test/fixtures/types/object.schema.json +0 -3
  284. package/test/fixtures/types/objectorarray.schema.json +0 -3
  285. package/test/fixtures/types/undefined.schema.json +0 -3
  286. package/test/fixtures/types/wrong.schema.json +0 -6
  287. package/test/formatting.test.js +0 -59
  288. package/test/markdownBuilder.test.js +0 -441
  289. package/test/readmeBuilder.test.js +0 -105
  290. package/test/schemaProxy.test.js +0 -187
  291. package/test/testUtils.js +0 -88
  292. package/test/testintegration.test.js +0 -65
  293. package/test/traverseSchema.test.js +0 -111
  294. package/test/zSchemaCoverage.test.js +0 -186
@@ -1,285 +0,0 @@
1
- # Complex References Schema
2
-
3
- ```txt
4
- https://example.com/schemas/complex
5
- ```
6
-
7
- This is an example schema that uses types defined in other schemas.
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------- |
11
- | Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | [complex.schema.json](../generated-schemas/complex.schema.json "open original schema") |
12
-
13
- ## Complex References Type
14
-
15
- `object` ([Complex References](complex.md))
16
-
17
- # Complex References Properties
18
-
19
- | Property | Type | Required | Nullable | Defined by |
20
- | :---------------------------------- | :-------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------- |
21
- | [refabstract](#refabstract) | `object` | Required | cannot be null | [Complex References](abstract-definitions-first.md "https://example.com/schemas/complex#/properties/refabstract") |
22
- | [refnamed](#refnamed) | `object` | Optional | cannot be null | [Complex References](complex-properties-simple.md "https://example.com/schemas/simple#/properties/refnamed") |
23
- | [refrefed](#refrefed) | `object` | Optional | cannot be null | [Complex References](complex-properties-simple.md "https://example.com/schemas/simple#/properties/refrefed") |
24
- | [refobj](#refobj) | `object` | Optional | cannot be null | [Complex References](complex-properties-refobj.md "https://example.com/schemas/complex#/properties/refobj") |
25
- | [refnestedobj](#refnestedobj) | `object` | Optional | cannot be null | [Complex References](complex-properties-refnestedobj.md "https://example.com/schemas/complex#/properties/refnestedobj") |
26
- | [reflocalfile](#reflocalfile) | `object` | Optional | cannot be null | [Complex References](simple.md "https://example.com/schemas/simple#/properties/reflocalfile") |
27
- | [reflocalfiledef](#reflocalfiledef) | `object` | Optional | cannot be null | [Complex References](complex-properties-reflocalfiledef.md "https://example.com/schemas/complex#/properties/reflocalfiledef") |
28
- | [or](#or) | Merged | Optional | cannot be null | [Complex References](complex-properties-or.md "https://example.com/schemas/complex#/properties/or") |
29
- | [and](#and) | Merged | Optional | cannot be null | [Complex References](complex-properties-and.md "https://example.com/schemas/complex#/properties/and") |
30
- | [xor](#xor) | Merged | Optional | cannot be null | [Complex References](complex-properties-xor.md "https://example.com/schemas/complex#/properties/xor") |
31
- | `int.*` | `integer` | Optional | cannot be null | [Complex References](complex-patternproperties-int.md "https://example.com/schemas/complex#/patternProperties/int.*") |
32
- | `str.*` | `string` | Optional | cannot be null | [Complex References](complex-patternproperties-str.md "https://example.com/schemas/complex#/patternProperties/str.*") |
33
- | Additional Properties | `boolean` | Optional | cannot be null | [Complex References](complex-additionalproperties.md "https://example.com/schemas/complex#/additionalProperties") |
34
-
35
- ## refabstract
36
-
37
-
38
-
39
- `refabstract`
40
-
41
- * is required
42
-
43
- * Type: `object` ([Details](abstract-definitions-first.md))
44
-
45
- * cannot be null
46
-
47
- * defined in: [Complex References](abstract-definitions-first.md "https://example.com/schemas/complex#/properties/refabstract")
48
-
49
- ### refabstract Type
50
-
51
- `object` ([Details](abstract-definitions-first.md))
52
-
53
- ## refnamed
54
-
55
- This is a *very* simple example of a JSON schema. There is only one property.
56
-
57
- `refnamed`
58
-
59
- * is optional
60
-
61
- * Type: `object` ([Simple](simple.md))
62
-
63
- * cannot be null
64
-
65
- * defined in: [Complex References](simple.md "https://example.com/schemas/simple#/properties/refnamed")
66
-
67
- ### refnamed Type
68
-
69
- `object` ([Simple](simple.md))
70
-
71
- ## refrefed
72
-
73
- This is a *very* simple example of a JSON schema. There is only one property.
74
-
75
- `refrefed`
76
-
77
- * is optional
78
-
79
- * Type: `object` ([Simple](simple.md))
80
-
81
- * cannot be null
82
-
83
- * defined in: [Complex References](simple.md "https://example.com/schemas/simple#/properties/refrefed")
84
-
85
- ### refrefed Type
86
-
87
- `object` ([Simple](simple.md))
88
-
89
- ## refobj
90
-
91
-
92
-
93
- `refobj`
94
-
95
- * is optional
96
-
97
- * Type: `object` ([Details](complex-properties-refobj.md))
98
-
99
- * cannot be null
100
-
101
- * defined in: [Complex References](complex-properties-refobj.md "https://example.com/schemas/complex#/properties/refobj")
102
-
103
- ### refobj Type
104
-
105
- `object` ([Details](complex-properties-refobj.md))
106
-
107
- ## refnestedobj
108
-
109
-
110
-
111
- `refnestedobj`
112
-
113
- * is optional
114
-
115
- * Type: `object` ([Details](complex-properties-refnestedobj.md))
116
-
117
- * cannot be null
118
-
119
- * defined in: [Complex References](complex-properties-refnestedobj.md "https://example.com/schemas/complex#/properties/refnestedobj")
120
-
121
- ### refnestedobj Type
122
-
123
- `object` ([Details](complex-properties-refnestedobj.md))
124
-
125
- ## reflocalfile
126
-
127
- This is a *very* simple example of a JSON schema. There is only one property.
128
-
129
- `reflocalfile`
130
-
131
- * is optional
132
-
133
- * Type: `object` ([Simple](simple.md))
134
-
135
- * cannot be null
136
-
137
- * defined in: [Complex References](simple.md "https://example.com/schemas/simple#/properties/reflocalfile")
138
-
139
- ### reflocalfile Type
140
-
141
- `object` ([Simple](simple.md))
142
-
143
- ## reflocalfiledef
144
-
145
-
146
-
147
- `reflocalfiledef`
148
-
149
- * is optional
150
-
151
- * Type: `object` ([Details](complex-properties-reflocalfiledef.md))
152
-
153
- * cannot be null
154
-
155
- * defined in: [Complex References](complex-properties-reflocalfiledef.md "https://example.com/schemas/complex#/properties/reflocalfiledef")
156
-
157
- ### reflocalfiledef Type
158
-
159
- `object` ([Details](complex-properties-reflocalfiledef.md))
160
-
161
- ## or
162
-
163
- String or number…
164
-
165
- `or`
166
-
167
- * is optional
168
-
169
- * Type: merged type ([Details](complex-properties-or.md))
170
-
171
- * cannot be null
172
-
173
- * defined in: [Complex References](complex-properties-or.md "https://example.com/schemas/complex#/properties/or")
174
-
175
- ### or Type
176
-
177
- merged type ([Details](complex-properties-or.md))
178
-
179
- any of
180
-
181
- * [Untitled string in Complex References](complex-properties-or-anyof-0.md "check type definition")
182
-
183
- * [Untitled number in Complex References](complex-properties-or-anyof-1.md "check type definition")
184
-
185
- ## and
186
-
187
- Number in a range
188
-
189
- `and`
190
-
191
- * is optional
192
-
193
- * Type: merged type ([Details](complex-properties-and.md))
194
-
195
- * cannot be null
196
-
197
- * defined in: [Complex References](complex-properties-and.md "https://example.com/schemas/complex#/properties/and")
198
-
199
- ### and Type
200
-
201
- merged type ([Details](complex-properties-and.md))
202
-
203
- all of
204
-
205
- * [Untitled number in Complex References](complex-properties-and-allof-0.md "check type definition")
206
-
207
- * [Untitled number in Complex References](complex-properties-and-allof-1.md "check type definition")
208
-
209
- ## xor
210
-
211
- Exclusive choice.
212
-
213
- `xor`
214
-
215
- * is optional
216
-
217
- * Type: merged type ([Details](complex-properties-xor.md))
218
-
219
- * cannot be null
220
-
221
- * defined in: [Complex References](complex-properties-xor.md "https://example.com/schemas/complex#/properties/xor")
222
-
223
- ### xor Type
224
-
225
- merged type ([Details](complex-properties-xor.md))
226
-
227
- one (and only one) of
228
-
229
- * [Untitled number in Complex References](complex-properties-xor-oneof-0.md "check type definition")
230
-
231
- * [Untitled number in Complex References](complex-properties-xor-oneof-1.md "check type definition")
232
-
233
- ## Pattern: `int.*`
234
-
235
-
236
-
237
- `int.*`
238
-
239
- * is optional
240
-
241
- * Type: `integer`
242
-
243
- * cannot be null
244
-
245
- * defined in: [Complex References](complex-patternproperties-int.md "https://example.com/schemas/complex#/patternProperties/int.\*")
246
-
247
- ### int.\* Type
248
-
249
- `integer`
250
-
251
- ## Pattern: `str.*`
252
-
253
-
254
-
255
- `str.*`
256
-
257
- * is optional
258
-
259
- * Type: `string`
260
-
261
- * cannot be null
262
-
263
- * defined in: [Complex References](complex-patternproperties-str.md "https://example.com/schemas/complex#/patternProperties/str.\*")
264
-
265
- ### str.\* Type
266
-
267
- `string`
268
-
269
- ## Additional Properties
270
-
271
- Additional properties are allowed, as long as they follow this schema:
272
-
273
-
274
-
275
- * is optional
276
-
277
- * Type: `boolean`
278
-
279
- * cannot be null
280
-
281
- * defined in: [Complex References](complex-additionalproperties.md "https://example.com/schemas/complex#/additionalProperties")
282
-
283
- ### additionalProperties Type
284
-
285
- `boolean`
@@ -1,23 +0,0 @@
1
- # Untitled string in Constant Types Schema
2
-
3
- ```txt
4
- https://example.com/schemas/constants#/properties/hello
5
- ```
6
-
7
- A simple string, without strong constraints.
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [constants.schema.json*](../generated-schemas/constants.schema.json "open original schema") |
12
-
13
- ## hello Type
14
-
15
- `string`
16
-
17
- ## hello Constraints
18
-
19
- **constant**: the value of this property must be equal to:
20
-
21
- ```json
22
- "World"
23
- ```
@@ -1,47 +0,0 @@
1
- # Constant Types Schema
2
-
3
- ```txt
4
- https://example.com/schemas/constants
5
- ```
6
-
7
- This is an example schema with examples for properties with constant values
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :----------------------------------------------------------------------------------------- |
11
- | Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | [constants.schema.json](../generated-schemas/constants.schema.json "open original schema") |
12
-
13
- ## Constant Types Type
14
-
15
- `object` ([Constant Types](constants.md))
16
-
17
- # Constant Types Properties
18
-
19
- | Property | Type | Required | Nullable | Defined by |
20
- | :-------------- | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------- |
21
- | [hello](#hello) | `string` | Required | cannot be null | [Constant Types](constants-properties-hello.md "https://example.com/schemas/constants#/properties/hello") |
22
-
23
- ## hello
24
-
25
- A simple string, without strong constraints.
26
-
27
- `hello`
28
-
29
- * is required
30
-
31
- * Type: `string`
32
-
33
- * cannot be null
34
-
35
- * defined in: [Constant Types](constants-properties-hello.md "https://example.com/schemas/constants#/properties/hello")
36
-
37
- ### hello Type
38
-
39
- `string`
40
-
41
- ### hello Constraints
42
-
43
- **constant**: the value of this property must be equal to:
44
-
45
- ```json
46
- "World"
47
- ```
@@ -1,15 +0,0 @@
1
- # Untitled undefined type in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/allOf/0
5
- ```
6
-
7
-
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## 0 Type
14
-
15
- unknown
@@ -1,39 +0,0 @@
1
- # Untitled undefined type in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/allOf/1
5
- ```
6
-
7
-
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## 1 Type
14
-
15
- unknown
16
-
17
- # 1 Properties
18
-
19
- | Property | Type | Required | Nullable | Defined by |
20
- | :---------- | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------------------- |
21
- | [foo](#foo) | `string` | Optional | cannot be null | [Custom](custom-definitions-first-properties-foo.md "https://example.com/schemas/custom#/definitions/first/properties/foo") |
22
-
23
- ## foo
24
-
25
- A unique identifier given to every addressable thing.
26
-
27
- `foo`
28
-
29
- * is optional
30
-
31
- * Type: `string`
32
-
33
- * cannot be null
34
-
35
- * defined in: [Custom](custom-definitions-first-properties-foo.md "https://example.com/schemas/custom#/definitions/first/properties/foo")
36
-
37
- ### foo Type
38
-
39
- `string`
@@ -1,39 +0,0 @@
1
- # Untitled undefined type in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/allOf/2
5
- ```
6
-
7
-
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## 2 Type
14
-
15
- unknown
16
-
17
- # 2 Properties
18
-
19
- | Property | Type | Required | Nullable | Defined by |
20
- | :---------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------- |
21
- | [bar](#bar) | `string` | Optional | cannot be null | [Custom](custom-definitions-second-properties-bar.md "https://example.com/schemas/custom#/definitions/second/properties/bar") |
22
-
23
- ## bar
24
-
25
- A unique identifier given to every addressable thing.
26
-
27
- `bar`
28
-
29
- * is optional
30
-
31
- * Type: `string`
32
-
33
- * cannot be null
34
-
35
- * defined in: [Custom](custom-definitions-second-properties-bar.md "https://example.com/schemas/custom#/definitions/second/properties/bar")
36
-
37
- ### bar Type
38
-
39
- `string`
@@ -1,15 +0,0 @@
1
- # Untitled string in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/definitions/first/properties/foo
5
- ```
6
-
7
- A unique identifier given to every addressable thing.
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## foo Type
14
-
15
- `string`
@@ -1,15 +0,0 @@
1
- # Untitled undefined type in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/definitions/first/properties
5
- ```
6
-
7
-
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## properties Type
14
-
15
- unknown
@@ -1,39 +0,0 @@
1
- # Untitled undefined type in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/definitions/first
5
- ```
6
-
7
-
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## first Type
14
-
15
- unknown
16
-
17
- # first Properties
18
-
19
- | Property | Type | Required | Nullable | Defined by |
20
- | :---------- | :------- | :------- | :------------- | :-------------------------------------------------------------------------------------------------------------------------- |
21
- | [foo](#foo) | `string` | Optional | cannot be null | [Custom](custom-definitions-first-properties-foo.md "https://example.com/schemas/custom#/definitions/first/properties/foo") |
22
-
23
- ## foo
24
-
25
- A unique identifier given to every addressable thing.
26
-
27
- `foo`
28
-
29
- * is optional
30
-
31
- * Type: `string`
32
-
33
- * cannot be null
34
-
35
- * defined in: [Custom](custom-definitions-first-properties-foo.md "https://example.com/schemas/custom#/definitions/first/properties/foo")
36
-
37
- ### foo Type
38
-
39
- `string`
@@ -1,15 +0,0 @@
1
- # Untitled string in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/definitions/second/properties/bar
5
- ```
6
-
7
- A unique identifier given to every addressable thing.
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## bar Type
14
-
15
- `string`
@@ -1,15 +0,0 @@
1
- # Untitled undefined type in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/definitions/second/properties
5
- ```
6
-
7
-
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## properties Type
14
-
15
- unknown
@@ -1,39 +0,0 @@
1
- # Untitled undefined type in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/definitions/second
5
- ```
6
-
7
-
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :----------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## second Type
14
-
15
- unknown
16
-
17
- # second Properties
18
-
19
- | Property | Type | Required | Nullable | Defined by |
20
- | :---------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------- |
21
- | [bar](#bar) | `string` | Optional | cannot be null | [Custom](custom-definitions-second-properties-bar.md "https://example.com/schemas/custom#/definitions/second/properties/bar") |
22
-
23
- ## bar
24
-
25
- A unique identifier given to every addressable thing.
26
-
27
- `bar`
28
-
29
- * is optional
30
-
31
- * Type: `string`
32
-
33
- * cannot be null
34
-
35
- * defined in: [Custom](custom-definitions-second-properties-bar.md "https://example.com/schemas/custom#/definitions/second/properties/bar")
36
-
37
- ### bar Type
38
-
39
- `string`
@@ -1,15 +0,0 @@
1
- # Untitled undefined type in Custom Schema
2
-
3
- ```txt
4
- https://example.com/schemas/custom#/definitions
5
- ```
6
-
7
-
8
-
9
- | Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
10
- | :------------------ | :--------- | :------------- | :---------------------- | :---------------- | :-------------------- | :------------------ | :------------------------------------------------------------------------------------ |
11
- | Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [custom.schema.json*](../generated-schemas/custom.schema.json "open original schema") |
12
-
13
- ## definitions Type
14
-
15
- unknown