{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zincsearch/json-schema/zincsearch-meta-index-simple-schema.json",
  "title": "meta.IndexSimple",
  "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.IndexSimple",
  "type": "object",
  "properties": {
    "mappings": {
      "type": "object",
      "additionalProperties": true
    },
    "name": {
      "type": "string"
    },
    "settings": {
      "$ref": "#/$defs/meta.IndexSettings"
    },
    "shard_num": {
      "type": "integer"
    },
    "storage_type": {
      "type": "string"
    }
  },
  "$defs": {
    "meta.Analyzer": {
      "type": "object",
      "properties": {
        "char_filter": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "filter": {
          "description": "compatibility with es, alias for TokenFilter",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "lowercase": {
          "description": "for type=pattern",
          "type": "boolean"
        },
        "pattern": {
          "description": "for type=pattern",
          "type": "string"
        },
        "stopwords": {
          "description": "for type=pattern,standard,stop",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "token_filter": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tokenizer": {
          "type": "string"
        },
        "type": {
          "description": "options for compatible",
          "type": "string"
        }
      }
    },
    "meta.IndexAnalysis": {
      "type": "object",
      "properties": {
        "analyzer": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/meta.Analyzer"
          }
        },
        "char_filter": {
          "type": "object",
          "additionalProperties": true
        },
        "filter": {
          "description": "compatibility with es, alias for TokenFilter",
          "type": "object",
          "additionalProperties": true
        },
        "token_filter": {
          "type": "object",
          "additionalProperties": true
        },
        "tokenizer": {
          "type": "object",
          "additionalProperties": true
        }
      }
    },
    "meta.IndexSettings": {
      "type": "object",
      "properties": {
        "analysis": {
          "$ref": "#/$defs/meta.IndexAnalysis"
        },
        "number_of_replicas": {
          "type": "integer"
        },
        "number_of_shards": {
          "type": "integer"
        }
      }
    }
  }
}