forked from HEIGE-PCloud/DoIt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
30 lines (30 loc) · 845 Bytes
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "http://bog.jatinnagpal.com/schema.json",
"title": "Hugo DoIt theme configuration",
"description": "The configuration for the Hugo DoIt theme",
"type": "object",
"properties": {
"baseURL": {
"type": "string",
"description": "Hostname (and path) to the root.",
"examples": ["https://bog.jatinnagpal.com"]
},
"defaultContentLanguage": {
"type": "string",
"description": "Content without language indicator will default to this language.",
"examples": ["en", "zh-cn", "fr", "pl"],
"default": "en"
},
"theme": {
"type": ["string", "array"],
"default": "DoIt",
"minItems": 1,
"pattern": "^DoIt$",
"contains": {
"pattern": "^DoIt$"
}
}
},
"required": ["theme"]
}