@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
30 lines • 760 B
JSON
{
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Reference description"
},
"preselected": {
"type": "boolean",
"description": "Flag stating if product reference is preselected"
},
"quantity": {
"type": "integer",
"format": "int32",
"description": "Reference quantity"
},
"referenceType": {
"type": "string",
"description": "Reference type"
},
"target": {
"description": "Target product",
"$ref": "_definitions.json#/definitions/Product",
"originalRef": "Product"
}
},
"title": "ProductReference",
"description": "Representation of a Product Reference",
"$schema": "http://json-schema.org/schema#"
}