UNPKG

@rapharacing/schemas

Version:

OpenAPI to JSON Schema to be used with middy for CC response validation

67 lines 1.83 kB
{ "type": "object", "properties": { "breadcrumbs": { "type": "array", "description": "List of breadcrumbs info", "items": { "$ref": "_definitions.json#/definitions/Breadcrumb", "originalRef": "Breadcrumb" } }, "categoryCode": { "type": "string", "description": "Code of category" }, "currentQuery": { "description": "Current query", "$ref": "_definitions.json#/definitions/SearchState", "originalRef": "SearchState" }, "facets": { "type": "array", "description": "List of facets", "items": { "$ref": "_definitions.json#/definitions/Facet", "originalRef": "Facet" } }, "freeTextSearch": { "type": "string", "description": "Free text search" }, "keywordRedirectUrl": { "type": "string", "description": "Redirect url address keyword" }, "pagination": { "description": "Pagination number", "$ref": "_definitions.json#/definitions/deprecatedPagination", "originalRef": "deprecatedPagination" }, "products": { "type": "array", "description": "List of products", "items": { "$ref": "_definitions.json#/definitions/Product", "originalRef": "Product" } }, "sorts": { "type": "array", "description": "List of sorts", "items": { "$ref": "_definitions.json#/definitions/Sort", "originalRef": "Sort" } }, "spellingSuggestion": { "description": "Spelling suggestion", "$ref": "_definitions.json#/definitions/SpellingSuggestion", "originalRef": "SpellingSuggestion" } }, "title": "ProductSearchPage", "description": "Representation of a Product Search Page", "$schema": "http://json-schema.org/schema#" }