Skip to content

Commit 54f99d2

Browse files
committed
feat: add a named type to the JSON schema
* Named just has a simple named object * We can extend this later for other types * Note that we don't actually use this anywhere yet
1 parent d2c5d1c commit 54f99d2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/resources/schema/named.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$id": "named.json",
3+
"title": "Named Entity",
4+
"type": "object",
5+
"description": "A generic named object",
6+
"properties": {
7+
"name": {
8+
"type": "string"
9+
}
10+
},
11+
"required": ["name"]
12+
}

0 commit comments

Comments
 (0)