Skip to content

Commit

Permalink
fix: allow @type be of type array
Browse files Browse the repository at this point in the history
  • Loading branch information
simontaurus committed Nov 21, 2024
1 parent 8cd9737 commit ce17b97
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@
"type": "string"
},
"@type": {
"type": "string"
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"about": {
"type": "object",
Expand Down

0 comments on commit ce17b97

Please sign in to comment.