@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
45 lines • 1.28 kB
JSON
{
"type": "object",
"properties": {
"entries": {
"type": "array",
"description": "List of order entries",
"items": {
"$ref": "_definitions.json#/definitions/OrderEntry",
"originalRef": "OrderEntry"
}
},
"entryGroupNumber": {
"type": "integer",
"format": "int32",
"example": 1,
"description": "Identifier of the entry group"
},
"entryGroups": {
"type": "array",
"description": "List of child entry groups",
"items": {
"$ref": "_definitions.json#/definitions/EntryGroup",
"originalRef": "EntryGroup"
}
},
"erroneous": {
"type": "boolean",
"example": true,
"description": "Indicates if the entry group is in an error state"
},
"label": {
"type": "string",
"example": "Photo On The Go Package",
"description": "Label for the entry group"
},
"type": {
"type": "string",
"example": "STANDALONE",
"description": "Indicates type of the group, possible values are STANDALONE, CONFIGURABLEBUNDLE or any customer implemented type for any new provider"
}
},
"title": "EntryGroup",
"description": "Representation of an Entry Group",
"$schema": "http://json-schema.org/schema#"
}