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": "MyStruct",
"type": "object",
"properties": {
@ -9,7 +9,7 @@
"myNullableEnum": {
"anyOf": [
{
"$ref": "#/definitions/MyEnum"
"$ref": "#/$defs/MyEnum"
},
{
"type": "null"
@ -27,7 +27,7 @@
"myNumber",
"myBool"
],
"definitions": {
"$defs": {
"MyEnum": {
"anyOf": [
{