custom-content.schema.json109 lines · main
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "type": "object",
4 "properties": {
5 "$schema": {
6 "type": "string"
7 },
8
9 "app:title": {
10 "type": ["string", "null"],
11 "description": "Render a custom HTML title for the site"
12 },
13
14 "dashboard_auth:custom_provider": {
15 "type": ["string", "null"],
16 "description": "Show a custom provider on the sign in page (Continue with X)"
17 },
18
19 "docs:row_level_security_guide_path": {
20 "type": ["string"],
21 "description": "The path to the row level security guide in the docs"
22 },
23
24 "organization:legal_documents": {
25 "type": ["array", "null"],
26 "description": "Renders a provided set of documents under the organization legal documents page",
27 "items": {
28 "type": "object",
29 "properties": {
30 "id": { "type": "string" },
31 "name": { "type": "string" },
32 "description": { "type": "string" },
33 "action": {
34 "type": "object",
35 "properties": {
36 "text": { "type": "string" },
37 "url": { "type": "string" }
38 }
39 }
40 }
41 }
42 },
43
44 "project_homepage:client_libraries": {
45 "type": "array",
46 "description": "Renders a provided set of client libraries under the project's home page",
47 "items": {
48 "type": "object",
49 "properties": {
50 "language": { "type": "string" },
51 "officialSupport": { "type": "boolean" },
52 "releaseState": { "type": "string" },
53 "docsUrl": { "type": "string" },
54 "gitUrl": { "type": "string" },
55 "altIconName": { "type": "string" }
56 },
57 "required": ["language", "officialSupport", "docsUrl"]
58 }
59 },
60 "project_homepage:example_projects": {
61 "type": ["array", "null"],
62 "description": "Renders a provided set of example projects under the project's home page",
63 "items": {
64 "type": "object",
65 "properties": {
66 "title": { "type": "string" },
67 "description": { "type": "string" },
68 "iconUrl": { "type": "string" },
69 "url": { "type": "string" }
70 }
71 }
72 },
73
74 "logs:default_query": {
75 "type": ["string", "null"],
76 "description": "Renders a default query when landing on the logs explorer"
77 },
78
79 "infra:cloud_providers": {
80 "type": ["array"],
81 "description": "Filters the valid cloud providers",
82 "items": {
83 "type": "string",
84 "enum": ["AWS", "AWS_K8S", "AWS_NIMBUS", "FLY"]
85 }
86 },
87 "infra:aws_nimbus_label": {
88 "type": "string",
89 "description": "The label of the AWS Nimbus provider"
90 },
91
92 "ssl:certificate_url": {
93 "type": "string",
94 "description": "The URL of the SSL certificate"
95 }
96 },
97 "required": [
98 "app:title",
99 "docs:row_level_security_guide_path",
100 "organization:legal_documents",
101 "project_homepage:client_libraries",
102 "project_homepage:example_projects",
103 "logs:default_query",
104 "infra:cloud_providers",
105 "infra:aws_nimbus_label",
106 "ssl:certificate_url"
107 ],
108 "additionalProperties": false
109}