|
| 1 | +$schema: https://json-schema.org/draft/2020-12/schema |
| 2 | +$id: https://json-schema.org/implementations/schema |
| 3 | +type: array |
| 4 | +items: |
| 5 | + $ref: "#/$defs/language" |
| 6 | +$defs: |
| 7 | + language: |
| 8 | + description: | |
| 9 | + A group of implementations grouped by programming language or |
| 10 | + runtime environment. |
| 11 | + type: object |
| 12 | + unevaluatedProperties: false |
| 13 | + required: [name] |
| 14 | + oneOf: |
| 15 | + - required: [implementations] |
| 16 | + - required: [notes] |
| 17 | + properties: |
| 18 | + name: |
| 19 | + type: string |
| 20 | + anchor-name: |
| 21 | + type: string |
| 22 | + description: A name suitable for us as an HTML id. |
| 23 | + implementations: |
| 24 | + description: | |
| 25 | + The list of implementations for this language/environment, |
| 26 | + sorted with those supporting the most recent |
| 27 | + drafts/versions first. |
| 28 | + type: array |
| 29 | + items: |
| 30 | + $ref: "#/$defs/implementation" |
| 31 | + notes: |
| 32 | + type: [string, "null"] |
| 33 | + implementation: |
| 34 | + description: | |
| 35 | + An implementation and its associated information. |
| 36 | + type: object |
| 37 | + unevaluatedProperties: false |
| 38 | + required: [name, url] |
| 39 | + anyOf: |
| 40 | + - required: [draft] |
| 41 | + - required: [date-draft] |
| 42 | + properties: |
| 43 | + name: |
| 44 | + description: The human-friendly name of the implementation |
| 45 | + type: string |
| 46 | + url: |
| 47 | + description: | |
| 48 | + The URL of the implementation's repository or documentation |
| 49 | + type: string |
| 50 | + format: uri |
| 51 | + draft: |
| 52 | + description: The supported drafts (up through draft-07) |
| 53 | + type: array |
| 54 | + items: |
| 55 | + type: integer |
| 56 | + enum: [1, 2, 3, 4, 6, 7] |
| 57 | + date-draft: |
| 58 | + description: The supported drafts (2019-09+) |
| 59 | + type: array |
| 60 | + items: |
| 61 | + type: string |
| 62 | + enum: [2019-09, 2020-12] |
| 63 | + license: |
| 64 | + description: | |
| 65 | + The software license under which the implementation |
| 66 | + is available |
| 67 | + type: string |
| 68 | + notes: |
| 69 | + description: | |
| 70 | + Additional information. Overly promotional (or critical) |
| 71 | + wording should be avoided. |
| 72 | + type: string |
0 commit comments