custom-content.schema.json 3.1 KB

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