From 52b06c513088a041764f42a8712979be664c8a79 Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Fri, 29 Mar 2024 14:11:32 +0400 Subject: [PATCH] fix: AsyncAPI v3 shows warning in Studio and IntelliJ plugin when referencing a json schema New multiFormatSchema validation rules https://github.com/asyncapi/spec-json-schemas/issues/494 https://github.com/asyncapi/jasyncapi-idea-plugin/issues/49 --- definitions/3.0.0/anySchema.json | 14 -------------- schemas/3.0.0-without-$id.json | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/definitions/3.0.0/anySchema.json b/definitions/3.0.0/anySchema.json index db910599..d9b5bc5b 100644 --- a/definitions/3.0.0/anySchema.json +++ b/definitions/3.0.0/anySchema.json @@ -3,20 +3,6 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "description": "An object representing either a Reference, a Schema or a Multi Format Schema", - "properties": { - "schemaFormat": { - "type": "string", - "description": "Supported Schema format" - }, - "schema": { - "type": "object", - "description": "Schema definition" - }, - "$ref": { - "type": "string", - "description": "Reference to schema" - } - }, "oneOf": [ { "description": "Because of $ref collision in Reference and AsyncAPI Schema(includes $ref from Json Schema)", diff --git a/schemas/3.0.0-without-$id.json b/schemas/3.0.0-without-$id.json index 19f9eef9..ce69d7bc 100644 --- a/schemas/3.0.0-without-$id.json +++ b/schemas/3.0.0-without-$id.json @@ -2688,20 +2688,6 @@ "anySchema": { "type": "object", "description": "An object representing either a Reference, a Schema or a Multi Format Schema", - "properties": { - "schemaFormat": { - "type": "string", - "description": "Supported Schema format" - }, - "schema": { - "type": "object", - "description": "Schema definition" - }, - "$ref": { - "type": "string", - "description": "Reference to schema" - } - }, "oneOf": [ { "description": "Because of $ref collision in Reference and AsyncAPI Schema(includes $ref from Json Schema)",