{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://komalang.org/schemas/komadoc-info.schema.json",
  "title": ".komadoc info.json",
  "description": "The `info.json` of a `.komadoc` package: TextBundle v2 metadata for Koma source (CLI-021). Fields of other applications are kept on resave.",
  "type": "object",
  "properties": {
    "version": {
      "const": 2,
      "description": "The TextBundle version."
    },
    "type": {
      "const": "com.github.amachino.koma",
      "description": "The type of `text.koma`: Koma source."
    },
    "transient": {
      "type": "boolean",
      "description": "TextBundle: whether the bundle is a temporary container."
    },
    "creatorURL": {
      "type": "string"
    },
    "creatorIdentifier": {
      "type": "string"
    },
    "sourceURL": {
      "type": "string"
    },
    "com.github.amachino.koma": {
      "type": "object",
      "description": "Koma's own metadata.",
      "properties": {
        "version": {
          "const": 1
        }
      },
      "required": ["version"]
    }
  },
  "required": ["version", "type"]
}
