{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zincsearch/json-schema/zincsearch-meta-mappings-schema.json",
  "title": "meta.Mappings",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zincsearch-index-api-openapi.yml#/components/schemas/meta.Mappings",
  "type": "object",
  "properties": {
    "properties": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/meta.Property"
      }
    }
  },
  "$defs": {
    "meta.Property": {
      "type": "object",
      "properties": {
        "aggregatable": {
          "type": "boolean"
        },
        "analyzer": {
          "type": "string"
        },
        "dims": {
          "description": "vector dimension, 0 accepts any",
          "type": "integer"
        },
        "fields": {
          "description": "Fields allow the same string value to be indexed in multiple ways for different purposes,\nsuch as one field for search and a multi-field for sorting and aggregations,\nor the same string value analyzed by different analyzers.\nIf the Fields property is defined within a sub-field, it will be ignored.\n\nCurrently, only \"text\" fields support the Fields parameter.",
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/meta.Property"
          }
        },
        "format": {
          "description": "date format yyyy-MM-dd HH:mm:ss || yyyy-MM-dd || epoch_millis",
          "type": "string"
        },
        "highlightable": {
          "type": "boolean"
        },
        "index": {
          "type": "boolean"
        },
        "search_analyzer": {
          "type": "string"
        },
        "sortable": {
          "type": "boolean"
        },
        "store": {
          "type": "boolean"
        },
        "time_zone": {
          "description": "date format time_zone",
          "type": "string"
        },
        "type": {
          "description": "text, keyword, date, numeric, boolean, geo_point, vector",
          "type": "string"
        }
      }
    }
  }
}