UNPKG

@rapharacing/schemas

Version:

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

34 lines 978 B
{ "type": "object", "properties": { "code": { "type": "string", "description": "Code of the variant option" }, "priceData": { "description": "Price data information of the variant option", "$ref": "_definitions.json#/definitions/Price", "originalRef": "Price" }, "stock": { "description": "Stock value of the variant option", "$ref": "_definitions.json#/definitions/Stock", "originalRef": "Stock" }, "url": { "type": "string", "description": "Url address of the variant option" }, "variantOptionQualifiers": { "type": "array", "description": "List of variant option qualifiers", "items": { "$ref": "_definitions.json#/definitions/VariantOptionQualifier", "originalRef": "VariantOptionQualifier" } } }, "title": "VariantOption", "description": "Representation of a Variant Option", "$schema": "http://json-schema.org/schema#" }