From a41f2f6c42b277b4a80806f9509b155a31f7fc38 Mon Sep 17 00:00:00 2001 From: Greg Dennis Date: Wed, 23 Nov 2022 12:13:32 +1300 Subject: [PATCH] added type:object to contentSchema schemas --- tests/draft-next/content.json | 2 +- tests/draft2019-09/content.json | 2 +- tests/draft2020-12/content.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/draft-next/content.json b/tests/draft-next/content.json index 3ddbbf6e..37e1f095 100644 --- a/tests/draft-next/content.json +++ b/tests/draft-next/content.json @@ -83,7 +83,7 @@ "$schema": "https://json-schema.org/draft/next/schema", "contentMediaType": "application/json", "contentEncoding": "base64", - "contentSchema": { "required": ["foo"], "properties": { "foo": { "type": "string" } } } + "contentSchema": { "type": "object", "required": ["foo"], "properties": { "foo": { "type": "string" } } } }, "tests": [ { diff --git a/tests/draft2019-09/content.json b/tests/draft2019-09/content.json index fba6fa3d..2a7a5d87 100644 --- a/tests/draft2019-09/content.json +++ b/tests/draft2019-09/content.json @@ -83,7 +83,7 @@ "$schema": "https://json-schema.org/draft/2019-09/schema", "contentMediaType": "application/json", "contentEncoding": "base64", - "contentSchema": { "required": ["foo"], "properties": { "foo": { "type": "string" } } } + "contentSchema": { "type": "object", "required": ["foo"], "properties": { "foo": { "type": "string" } } } }, "tests": [ { diff --git a/tests/draft2020-12/content.json b/tests/draft2020-12/content.json index 33814d79..698f7805 100644 --- a/tests/draft2020-12/content.json +++ b/tests/draft2020-12/content.json @@ -83,7 +83,7 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "contentMediaType": "application/json", "contentEncoding": "base64", - "contentSchema": { "required": ["foo"], "properties": { "foo": { "type": "string" } } } + "contentSchema": { "type": "object", "required": ["foo"], "properties": { "foo": { "type": "string" } } } }, "tests": [ {