Symbolon packs

kausalflow/lightkone / components/library-merge/versions/1/schema/output.json · raw

{
  "$defs": {
    "Library": {
      "additionalProperties": false,
      "description": "A lightkone library.json. Papers are kept as plain JSON objects: merging must keep every field.",
      "properties": {
        "bibSync": {
          "anyOf": [
            {
              "items": {
                "additionalProperties": true,
                "type": "object"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": ".bib files kept in sync with GitHub.",
          "title": "Bibsync"
        },
        "format": {
          "const": "lightkone-library",
          "default": "lightkone-library",
          "title": "Format",
          "type": "string"
        },
        "papers": {
          "description": "Each paper has a unique string id and any other fields.",
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "title": "Papers",
          "type": "array"
        },
        "version": {
          "const": 1,
          "default": 1,
          "title": "Version",
          "type": "integer"
        }
      },
      "required": [
        "papers"
      ],
      "title": "Library",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "file": {
      "$ref": "#/$defs/Library"
    },
    "fromThem": {
      "description": "How many papers took a change made elsewhere.",
      "minimum": 0,
      "title": "Fromthem",
      "type": "integer"
    }
  },
  "required": [
    "file",
    "fromThem"
  ],
  "title": "Output",
  "type": "object"
}