Skip to content

Commit 8711fa2

Browse files
committed
Merge branch 'dev'
2 parents dd54b4a + 4bc7496 commit 8711fa2

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

public/schema/template.schema.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema",
3+
"$id": "https://frontmatter.codes/schema/template.schema.json",
4+
"description": "Defines the schema for the Front Matter CMS Starter Templates",
5+
"type": "object",
6+
"properties": {
7+
"name": {
8+
"type": "string"
9+
},
10+
"description": {
11+
"type": "string"
12+
},
13+
"author": {
14+
"type": "string"
15+
},
16+
"version": {
17+
"type": "string"
18+
},
19+
"type": {
20+
"type": "string",
21+
"enum": [
22+
"astro",
23+
"11ty",
24+
"gatsby",
25+
"hugo",
26+
"jekyll",
27+
"next",
28+
"nuxt",
29+
"hexo"
30+
]
31+
}
32+
},
33+
"required": [
34+
"name",
35+
"description",
36+
"author",
37+
"version",
38+
"type"
39+
]
40+
}

0 commit comments

Comments
 (0)