Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

763 B
Raw Blame
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "AFFiNE Routes Schema",
  "definitions": {
    "route": {
      "type": "string",
      "description": "route path"
    },
    "children": {
      "type": "object",
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "object",
            "required": ["route", "children"],
            "properties": {
              "route": { "$ref": "#/definitions/route" },
              "children": { "$ref": "#/definitions/children" }
            }
          }
        ]
      }
    }
  },
  "properties": {
    "route": { "$ref": "#/definitions/route" },
    "children": { "$ref": "#/definitions/children" }
  }
}