@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
24 lines • 659 B
JSON
{
"type": "object",
"required": [
"orderEntryNumber",
"quantity"
],
"properties": {
"orderEntryNumber": {
"type": "integer",
"format": "int32",
"example": 1,
"description": "Order entry number of the cancelled product"
},
"quantity": {
"type": "integer",
"format": "int64",
"example": 5,
"description": "Quantity of the product which belongs to the order entry and is requested to be cancelled"
}
},
"title": "CancellationRequestEntryInput",
"description": "Representation of a cancellation request entry input for an order",
"$schema": "http://json-schema.org/schema#"
}