UNPKG

@rapharacing/schemas

Version:

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

45 lines 1.14 kB
{ "type": "object", "properties": { "category": { "type": "boolean", "description": "Flag stating if facet is category facet" }, "multiSelect": { "type": "boolean", "description": "Flag stating if facet is multiSelect" }, "name": { "type": "string", "description": "Name of the facet" }, "priority": { "type": "integer", "format": "int32", "description": "Priority value of the facet" }, "topValues": { "type": "array", "description": "List of top facet values", "items": { "$ref": "_definitions.json#/definitions/FacetValue", "originalRef": "FacetValue" } }, "values": { "type": "array", "description": "List of all facet values", "items": { "$ref": "_definitions.json#/definitions/FacetValue", "originalRef": "FacetValue" } }, "visible": { "type": "boolean", "description": "Flag stating if facet is visible" } }, "title": "Facet", "description": "Representation of a Facet", "$schema": "http://json-schema.org/schema#" }