Skip to content

Commit ff61118

Browse files
authored
remove references to older schema drafts (#243)
1 parent 23cdde4 commit ff61118

File tree

3 files changed

+4
-26
lines changed

3 files changed

+4
-26
lines changed

example/yaml-json-schema.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ properties:
1212
type: string
1313
format: email
1414
required:
15-
- emailAddress
15+
- emailAddress
1616
example: |-
1717
{
1818
"$id": "https://example.com/schemas/email.json",
19-
"$schema": "https://json-schema.org/draft/2019-09/schema",
19+
"$schema": "https://json-schema.org/draft/2020-12/schema",
2020
"title": "EmailCredential",
2121
"description": "Email Credential JSON Schema",
2222
"type": "object",
@@ -32,4 +32,4 @@ example: |-
3232
"required": ["emailAddress"]
3333
}
3434
}
35-
}
35+
}

index.html

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -518,18 +518,6 @@ <h2>JSON Schema Specifications</h2>
518518
<td><a href="https://json-schema.org/draft/2020-12/schema">https://json-schema.org/draft/2020-12/schema</a></td>
519519
<td>Yes</td>
520520
</tr>
521-
<tr>
522-
<td>[[?JSON-SCHEMA-2019-09]]</td>
523-
<td>19 March 2020</td>
524-
<td><a href="https://json-schema.org/draft/2019-09/schema">https://json-schema.org/draft/2019-09/schema</a></td>
525-
<td>No</td>
526-
</tr>
527-
<tr>
528-
<td>[[?JSON-SCHEMA-DRAFT-7]]</td>
529-
<td>20 September 2018</td>
530-
<td><a href="http://json-schema.org/draft-07/schema#">http://json-schema.org/draft-07/schema#</a></td>
531-
<td>No</td>
532-
</tr>
533521
</tbody>
534522
</table>
535523

schema/json-schema-credential-schema.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,7 @@
1919
"const": "JsonSchema"
2020
},
2121
"jsonSchema": {
22-
"anyOf": [
23-
{
24-
"$ref": "https://json-schema.org/draft/2020-12/schema"
25-
},
26-
{
27-
"$ref": "https://json-schema.org/draft/2019-09/schema"
28-
},
29-
{
30-
"$ref": "http://json-schema.org/draft-07/schema"
31-
}
32-
]
22+
"$ref": "https://json-schema.org/draft/2020-12/schema"
3323
}
3424
},
3525
"required": [

0 commit comments

Comments
 (0)