Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (49 sloc) 1.35 KB
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#",
"title": "Recalculate Quote",
"type": "object",
"properties": {
"currency": {
"allOf": [
{
"$ref": "metadata/currency.schema.json#/definitions/currency_code"
},
{
"description": "The currency that the quote should be returned in."
}
]
},
"insurance": {
"oneOf": [
{
"description": "the insurance id to be included in the price",
"type": "string",
"pattern": "^[0-9a-z_]{1,56}$"
},
{
"description": "Do not include insurance in the price",
"type": "null"
}
]
},
"include_services": {
"description": "A list of non-included services in the quote that should be included in the price.",
"type": "array",
"items": {
"type": "string",
"description": "The id of the service sub-subtype that should be included",
"pattern": "^[0-9a-z_]{1,56}$"
}
},
"exclude_services": {
"description": "A list of included services in the quote that should be excluded in the price.",
"type": "array",
"items": {
"type": "string",
"description": "The id of the service sub-subtype that should be excluded",
"pattern": "^[0-9a-z_]{1,56}$"
}
}
}
}
You can’t perform that action at this time.