{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-insite-catalog-web-api-v1-api-models-autocomplete-model-schema.json", "title": "Insite.Catalog.WebApi.V1.ApiModels.AutocompleteModel", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/optimizely-autocomplete-api-openapi.yml#/components/schemas/Insite.Catalog.WebApi.V1.ApiModels.AutocompleteModel", "type": "object", "properties": { "uri": { "type": "string" }, "categories": { "type": "array", "items": { "$ref": "#/$defs/Insite.Catalog.WebApi.V1.ApiModels.AutocompleteItemModel" } }, "products": { "type": "array", "items": { "$ref": "#/$defs/Insite.Catalog.WebApi.V1.ApiModels.ProductAutocompleteItemModel" } }, "content": { "type": "array", "items": { "$ref": "#/$defs/Insite.Catalog.WebApi.V1.ApiModels.AutocompleteItemModel" } }, "brands": { "type": "array", "items": { "$ref": "#/$defs/Insite.Catalog.WebApi.V1.ApiModels.BrandAutocompleteModel" } }, "isRetailSearchCompletionResults": { "type": "boolean" }, "attributionToken": { "type": "string" }, "completionResults": { "type": "array", "items": { "$ref": "#/$defs/Insite.Catalog.WebApi.V1.ApiModels.AutocompleteCompletionResultModel" } }, "attributeResults": { "$ref": "#/$defs/Insite.Catalog.WebApi.V1.ApiModels.AutocompleteAttributeResultsModel" }, "properties": { "type": "object", "additionalProperties": { "type": "string" } } }, "$defs": { "Insite.Catalog.WebApi.V1.ApiModels.AutocompleteAttributeResultsModel": { "type": "object", "properties": { "uri": { "type": "string" }, "categories": { "type": "array", "items": { "$ref": "#/$defs/Insite.Catalog.WebApi.V1.ApiModels.AutocompleteItemModel" } }, "brands": { "type": "array", "items": { "$ref": "#/$defs/Insite.Catalog.WebApi.V1.ApiModels.AutocompleteItemModel" } }, "properties": { "type": "object", "additionalProperties": { "type": "string" } } } }, "Insite.Catalog.WebApi.V1.ApiModels.AutocompleteCompletionResultModel": { "type": "object", "properties": { "uri": { "type": "string" }, "suggestion": { "type": "string" }, "attributeResults": { "$ref": "#/$defs/Insite.Catalog.WebApi.V1.ApiModels.AutocompleteAttributeResultsModel" }, "properties": { "type": "object", "additionalProperties": { "type": "string" } } } }, "Insite.Catalog.WebApi.V1.ApiModels.AutocompleteItemModel": { "type": "object", "properties": { "uri": { "type": "string" }, "id": { "format": "uuid", "type": "string" }, "image": { "type": "string" }, "subtitle": { "type": "string" }, "title": { "type": "string" }, "url": { "type": "string" }, "properties": { "type": "object", "additionalProperties": { "type": "string" } } } }, "Insite.Catalog.WebApi.V1.ApiModels.BrandAutocompleteModel": { "type": "object", "properties": { "uri": { "type": "string" }, "productLineName": { "type": "string" }, "productLineId": { "format": "uuid", "type": "string" }, "id": { "format": "uuid", "type": "string" }, "image": { "type": "string" }, "subtitle": { "type": "string" }, "title": { "type": "string" }, "url": { "type": "string" }, "properties": { "type": "object", "additionalProperties": { "type": "string" } } } }, "Insite.Catalog.WebApi.V1.ApiModels.ProductAutocompleteItemModel": { "type": "object", "properties": { "uri": { "type": "string" }, "manufacturerItemNumber": { "type": "string" }, "name": { "type": "string" }, "isNameCustomerOverride": { "type": "boolean" }, "erpNumber": { "type": "string" }, "brandName": { "type": "string" }, "brandDetailPagePath": { "type": "string" }, "styleParentId": { "format": "uuid", "type": "string" }, "id": { "format": "uuid", "type": "string" }, "image": { "type": "string" }, "subtitle": { "type": "string" }, "title": { "type": "string" }, "url": { "type": "string" }, "properties": { "type": "object", "additionalProperties": { "type": "string" } } } } } }