{
  "manifest": {
    "protocolVersion": 2,
    "pluginId": "org.betterportal.docs-site",
    "title": "BetterPortal Docs",
    "description": "Dogfooded BetterPortal documentation site backed by repository Markdown files.",
    "version": "10.6.22",
    "category": "service",
    "deploymentModes": [
      "self-hosted"
    ],
    "capabilities": [
      "view.json",
      "view.metadata",
      "renderer.bootstrap5",
      "view.html"
    ],
    "supportedRenderers": [
      "bootstrap5"
    ],
    "supportedRenderModes": [
      "page"
    ],
    "views": [
      {
        "viewId": "docs.index",
        "title": "BetterPortal Docs",
        "description": "Documentation index for BetterPortal.",
        "path": "/docs",
        "pathVariants": [],
        "paramsSchema": {},
        "operations": [
          {
            "operationId": "docs.browse",
            "method": "GET",
            "title": "BetterPortal Docs",
            "description": "Documentation index for BetterPortal.",
            "querySchema": {},
            "headersSchema": {},
            "bodySchema": {},
            "jsonResponseSchema": {
              "anyvaliVersion": "1.0",
              "schemaVersion": "1.1",
              "root": {
                "kind": "object",
                "properties": {
                  "title": {
                    "kind": "string",
                    "minLength": 1
                  },
                  "description": {
                    "kind": "string",
                    "minLength": 1
                  },
                  "docs": {
                    "kind": "array",
                    "items": {
                      "kind": "object",
                      "properties": {
                        "id": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "section": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "page": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "title": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "href": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "sourcePath": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "excerpt": {
                          "kind": "string"
                        }
                      },
                      "required": [
                        "id",
                        "section",
                        "page",
                        "title",
                        "href",
                        "sourcePath",
                        "excerpt"
                      ],
                      "unknownKeys": "strip"
                    }
                  }
                },
                "required": [
                  "title",
                  "description",
                  "docs"
                ],
                "unknownKeys": "strip"
              },
              "definitions": {},
              "extensions": {}
            },
            "metadataResponseSchema": {},
            "renderable": true,
            "html": {
              "renderers": {
                "bootstrap5": {
                  "defaultRenderer": "default",
                  "renderModes": [
                    "page"
                  ],
                  "slots": [
                    "main"
                  ],
                  "renderers": [
                    {
                      "id": "default",
                      "title": "Default Content",
                      "slotId": "main",
                      "renderModes": [
                        "page",
                        "fragment"
                      ]
                    }
                  ]
                }
              }
            },
            "auth": {
              "required": false,
              "callers": [
                "user"
              ],
              "permissions": []
            },
            "sitemap": {
              "kind": "default"
            },
            "robots": [],
            "dependencies": [],
            "apiContracts": [],
            "demoScenarios": [
              {
                "id": "default",
                "title": "Docs Index",
                "response": {
                  "title": "BetterPortal",
                  "description": "A service-composed portal platform for multi-tenant products.",
                  "docs": []
                }
              }
            ],
            "cacheHints": {
              "ttlSeconds": 15,
              "varyBy": [
                "accept",
                "origin",
                "referer"
              ]
            }
          }
        ]
      },
      {
        "viewId": "docs.$section.$page.index",
        "title": "BetterPortal Doc Page",
        "description": "Markdown-backed BetterPortal documentation page.",
        "path": "/docs/:section/:page",
        "pathVariants": [],
        "paramsSchema": {},
        "operations": [
          {
            "operationId": "docs.read",
            "method": "GET",
            "title": "BetterPortal Doc Page",
            "description": "Markdown-backed BetterPortal documentation page.",
            "querySchema": {},
            "headersSchema": {},
            "bodySchema": {},
            "jsonResponseSchema": {
              "anyvaliVersion": "1.0",
              "schemaVersion": "1.1",
              "root": {
                "kind": "object",
                "properties": {
                  "title": {
                    "kind": "string",
                    "minLength": 1
                  },
                  "section": {
                    "kind": "string",
                    "minLength": 1
                  },
                  "page": {
                    "kind": "string",
                    "minLength": 1
                  },
                  "sourcePath": {
                    "kind": "string",
                    "minLength": 1
                  },
                  "markdown": {
                    "kind": "string"
                  },
                  "docs": {
                    "kind": "array",
                    "items": {
                      "kind": "object",
                      "properties": {
                        "id": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "section": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "page": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "title": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "href": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "sourcePath": {
                          "kind": "string",
                          "minLength": 1
                        },
                        "excerpt": {
                          "kind": "string"
                        }
                      },
                      "required": [
                        "id",
                        "section",
                        "page",
                        "title",
                        "href",
                        "sourcePath",
                        "excerpt"
                      ],
                      "unknownKeys": "strip"
                    }
                  },
                  "notFound": {
                    "kind": "bool"
                  }
                },
                "required": [
                  "title",
                  "section",
                  "page",
                  "sourcePath",
                  "markdown",
                  "docs",
                  "notFound"
                ],
                "unknownKeys": "strip"
              },
              "definitions": {},
              "extensions": {}
            },
            "metadataResponseSchema": {},
            "renderable": true,
            "html": {
              "renderers": {
                "bootstrap5": {
                  "defaultRenderer": "default",
                  "renderModes": [
                    "page"
                  ],
                  "slots": [
                    "main"
                  ],
                  "renderers": [
                    {
                      "id": "default",
                      "title": "Default Content",
                      "slotId": "main",
                      "renderModes": [
                        "page",
                        "fragment"
                      ]
                    }
                  ]
                }
              }
            },
            "auth": {
              "required": false,
              "callers": [
                "user"
              ],
              "permissions": []
            },
            "sitemap": {
              "kind": "default"
            },
            "robots": [],
            "dependencies": [],
            "apiContracts": [],
            "demoScenarios": [
              {
                "id": "default",
                "title": "Quick Start",
                "response": {
                  "title": "Quick Start",
                  "section": "getting-started",
                  "page": "quick-start",
                  "sourcePath": "getting-started/quick-start.md",
                  "markdown": "# Quick Start\n\nBetterPortal documentation.",
                  "docs": [],
                  "notFound": false
                }
              }
            ],
            "cacheHints": {
              "ttlSeconds": 15,
              "varyBy": [
                "accept",
                "origin",
                "referer"
              ]
            }
          }
        ]
      }
    ],
    "configSchemas": [],
    "permissions": [],
    "adminApis": [],
    "webhooks": [],
    "apiContracts": [],
    "m2mRequests": [],
    "developerResources": [],
    "cacheHints": {
      "metadataTtlSeconds": 1800
    }
  },
  "routes": [
    {
      "viewId": "docs.index",
      "path": "/docs",
      "pathVariants": [],
      "operations": [
        {
          "operationId": "docs.browse",
          "method": "GET"
        }
      ],
      "paramNames": [],
      "renderers": [
        "bootstrap5"
      ],
      "hasFragments": false,
      "fragments": [],
      "components": []
    },
    {
      "viewId": "docs.$section.$page.index",
      "path": "/docs/:section/:page",
      "pathVariants": [],
      "operations": [
        {
          "operationId": "docs.read",
          "method": "GET"
        }
      ],
      "paramNames": [
        "section",
        "page"
      ],
      "renderers": [
        "bootstrap5"
      ],
      "hasFragments": false,
      "fragments": [],
      "components": []
    }
  ]
}
