{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Yottabyte Knowledge Record",
  "type": "object",
  "required": [
    "id",
    "name_en",
    "name_fa",
    "field",
    "representation",
    "structure",
    "definition_en",
    "definition_fa",
    "relations"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name_en": {
      "type": "string"
    },
    "name_fa": {
      "type": "string"
    },
    "field": {
      "type": "string"
    },
    "representation": {
      "type": "string"
    },
    "structure": {
      "type": "string"
    },
    "definition_en": {
      "type": "string"
    },
    "definition_fa": {
      "type": "string"
    },
    "common_forms": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "relations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "target"
        ]
      }
    },
    "vector_text_en": {
      "type": "string"
    },
    "vector_text_fa": {
      "type": "string"
    }
  }
}