Skip to content

Commit f274248

Browse files
committed
add a schema with nullable
1 parent 3b93f83 commit f274248

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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+
"properties": {
7+
"typedProperty": {
8+
"type": ["null", "string"]
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)