Skip to content

Commit

Permalink
added type:object to contentSchema schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Nov 22, 2022
1 parent 716b95d commit a41f2f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/draft-next/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/draft2019-09/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/draft2020-12/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down

0 comments on commit a41f2f6

Please sign in to comment.