typst4ei 2.0.1

The Typst4EI building and serving tool/cli
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "UncheckedInventory",
  "type": "object",
  "properties": {
    "authors": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "documents": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/UncheckedMetadata"
      }
    },
    "license": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "authors",
    "license",
    "documents"
  ],
  "$defs": {
    "Module": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "Misc"
          ]
        },
        {
          "type": "object",
          "properties": {
            "Semester1": {
              "$ref": "#/$defs/Semester1"
            }
          },
          "additionalProperties": false,
          "required": [
            "Semester1"
          ]
        },
        {
          "type": "object",
          "properties": {
            "Semester2": {
              "$ref": "#/$defs/Semester2"
            }
          },
          "additionalProperties": false,
          "required": [
            "Semester2"
          ]
        }
      ]
    },
    "Semester1": {
      "type": "string",
      "enum": [
        "Analysis1",
        "CircuitTheory",
        "ComputerTechnology",
        "DigitalTechnology",
        "LinearAlgebra"
      ]
    },
    "Semester2": {
      "type": "string",
      "enum": [
        "AlgorithmsAndDataStructures",
        "Analysis2",
        "ElectrityAndMagnetism",
        "Physics",
        "SystemsTheory"
      ]
    },
    "UncheckedMetadata": {
      "type": "object",
      "properties": {
        "authors": {
          "type": "array",
          "default": [],
          "items": {
            "type": "string"
          }
        },
        "license": {
          "type": [
            "string",
            "null"
          ]
        },
        "module": {
          "$ref": "#/$defs/Module"
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "module"
      ]
    }
  }
}