Skip to content

Commit f95f9aa

Browse files
author
Matthew Gramigna
committed
Add initial schema for one config property
1 parent 5b22683 commit f95f9aa

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"$id": "csv-config",
3+
"$schema": "https://json-schema.org/draft/2020-12/schema",
4+
"description": "Schema for CSV config files. TODO: Fill out the rest of this schema will all config properties",
5+
"type": "object",
6+
"properties": {
7+
"extractors": {
8+
"type": "array",
9+
"items": {
10+
"$ref": "#/$defs/extractor"
11+
}
12+
}
13+
},
14+
"$defs": {
15+
"extractor": {
16+
"type": "object",
17+
"properties": {
18+
"type": {
19+
"type": "string"
20+
}
21+
},
22+
"required": ["type"]
23+
}
24+
},
25+
"required": ["extractors"]
26+
}

0 commit comments

Comments
 (0)