UNPKG

@rapharacing/schemas

Version:

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

47 lines 1.26 kB
{ "type": "object", "properties": { "code": { "type": "string", "description": "Consignment code" }, "deliveryPointOfService": { "description": "Delivery point of service", "$ref": "_definitions.json#/definitions/PointOfService", "originalRef": "PointOfService" }, "entries": { "type": "array", "description": "List of consignment entries", "items": { "$ref": "_definitions.json#/definitions/ConsignmentEntry", "originalRef": "ConsignmentEntry" } }, "shippingAddress": { "description": "Shipping address", "$ref": "_definitions.json#/definitions/Address", "originalRef": "Address" }, "status": { "type": "string", "description": "Consignment status" }, "statusDate": { "type": "string", "format": "date-time", "description": "Consignment status date" }, "statusDisplay": { "type": "string", "description": "Consignment status display" }, "trackingID": { "type": "string", "description": "Consignment tracking identifier" } }, "title": "Consignment", "description": "Representation of a Consignment", "$schema": "http://json-schema.org/schema#" }