Regenerate example schemas

This commit is contained in:
Graham Esau 2024-05-26 21:22:48 +01:00
parent f8b56cb455
commit fb6e1a5c61
18 changed files with 40 additions and 40 deletions

View file

@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "My Amazing Struct",
"description": "This struct shows off generating a schema with a custom title and description.",
"type": "object",
@ -18,7 +18,7 @@
"description": "This enum might be set, or it might not.",
"anyOf": [
{
"$ref": "#/definitions/MyEnum"
"$ref": "#/$defs/MyEnum"
},
{
"type": "null"
@ -30,7 +30,7 @@
"my_int",
"my_bool"
],
"definitions": {
"$defs": {
"MyEnum": {
"title": "My Amazing Enum",
"oneOf": [