-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs.config.schema.json
63 lines (63 loc) · 2.2 KB
/
docs.config.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"type": "object",
"description": "Configuration required to enable content publishing to docs.365extensions.com.",
"properties": {
"$schema": {
"enum": [
"../docs.config.schema.json"
]
},
"code": {
"type": "string",
"description": "Unique short code for the app. Preferable use your app suffix or id, but make sure it's unique (https://thetaco1nz.sharepoint.com/:x:/s/NAVteam/EbpN-0s2lgpLnFy-mN5em_8Bs0uuE8oyURt6kGcrgVFg3g?e=rg79fA).",
"minLength": 2,
"maxLength": 36
},
"startPage": {
"type": "string",
"description": "Name of the Markdown file which will be a start page for the docs (e.g. Introduction, Changelog, etc.)).",
"minLength": 1
},
"publishing": {
"type": "object",
"description": "Configuration required to enable the app to be visible and installable for public.",
"properties": {
"id": {
"type": "string",
"description": "Published extension 'id' from 'app.json'.",
"minLength": 36,
"format": "uuid"
},
"name": {
"type": "string",
"description": "Readable name of the app.",
"minLength": 1
},
"brief": {
"type": "string",
"description": "Brief description of the app package or key value it brings to the user.",
"minLength": 1
},
"marketplace": {
"enum": [
"MSAppSource",
"ThetaAppSource"
],
"description": "Source from where user can download the app."
}
},
"required": [
"id",
"name",
"brief",
"marketplace"
],
"additionalProperties": false
}
},
"required": [
"code",
"startPage"
],
"additionalProperties": false
}