Skip to content

Commit 1466306

Browse files
committed
remove references to older schema drafts
1 parent b6878b3 commit 1466306

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
@@ -500,18 +500,6 @@ <h2>JSON Schema Specifications</h2>
500500
<td><a href="https://json-schema.org/draft/2020-12/schema">https://json-schema.org/draft/2020-12/schema</a></td>
501501
<td>Yes</td>
502502
</tr>
503-
<tr>
504-
<td>[[?JSON-SCHEMA-2019-09]]</td>
505-
<td>19 March 2020</td>
506-
<td><a href="https://json-schema.org/draft/2019-09/schema">https://json-schema.org/draft/2019-09/schema</a></td>
507-
<td>No</td>
508-
</tr>
509-
<tr>
510-
<td>[[?JSON-SCHEMA-DRAFT-7]]</td>
511-
<td>20 September 2018</td>
512-
<td><a href="http://json-schema.org/draft-07/schema#">http://json-schema.org/draft-07/schema#</a></td>
513-
<td>No</td>
514-
</tr>
515503
</tbody>
516504
</table>
517505

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)