Skip to content

Commit b380b12

Browse files
committed
schema containing items as an array
1 parent 5fc2705 commit b380b12

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "JSON API Schema",
4+
"description": "This is a schema for responses in the JSON API format. For more, see http://jsonapi.org",
5+
"type": "object",
6+
"required": [
7+
"errors"
8+
],
9+
"properties": {
10+
"errors": {
11+
"type": "array",
12+
"items": [
13+
{
14+
"type": "string"
15+
}
16+
]
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)