{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-aoss-create-index-request-schema.json",
  "title": "AossCreateIndexRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-index-api-openapi.yml#/components/schemas/AossCreateIndexRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the collection in which to create the index."
    },
    "indexName": {
      "type": "string",
      "description": "The name of the index to create. Index names must be lowercase and can't begin with underscores (_) or hyphens (-)."
    },
    "indexSchema": {
      "type": "object",
      "description": "The JSON schema definition for the index, including field mappings and settings."
    }
  },
  "required": [
    "id",
    "indexName"
  ]
}