{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-opennlp/refs/heads/main/json-schema/apache-opennlp-model-info-schema.json",
  "title": "ModelInfo",
  "description": "ModelInfo schema from Apache OpenNLP",
  "type": "object",
  "properties": {
    "modelId": {
      "type": "string",
      "description": "Unique model identifier",
      "example": "en-ner-person.bin"
    },
    "language": {
      "type": "string",
      "description": "Model language",
      "example": "eng"
    },
    "type": {
      "type": "string",
      "description": "Model type",
      "example": "TokenNameFinder"
    },
    "version": {
      "type": "string",
      "description": "Model version",
      "example": 1.5
    },
    "loaded": {
      "type": "boolean",
      "description": "Whether model is currently loaded",
      "example": true
    }
  }
}