{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "label",
      "original_latex",
      "latex_from_database",
      "id",
      "comments",
      "confidence_level"
    ],
    "properties": {
      "label": {
        "type": "string",
        "minLength": 1,
        "description": "A unique name for the equation."
      },
      "original_latex": {
        "type": "string",
        "minLength": 1,
        "description": "The LaTeX representation of the equation provided by the user."
      },
      "latex_from_database": {
        "type": "string",
        "minLength": 1,
        "description": "The LaTeX representation retrieved from the database."
      },
      "id": {
        "type": "string",
        "pattern": "^[0-9]+$",
        "minLength": 8,
        "description": "A numeric ID represented as a string."
      },
      "comments": {
        "type": "string",
        "description": "A textual description or metadata about the equation."
      },
      "confidence_level": {
        "type": "string",
        "description": "self-assessment"
      }
    },
    "additionalProperties": false
  }
}