shipengine-json-schema
Version:
The official JSON Schemas for ShipEngine™
40 lines • 818 B
JSON
{
"$id": "add_funds_to_carrier_request_body",
"title": "add_funds_to_carrier_request_body",
"type": "object",
"additionalProperties": false,
"allOf": [
{
"title": "monetary_value",
"type": "object",
"required": [
"currency",
"amount"
],
"additionalProperties": false,
"properties": {
"currency": {
"allOf": [
{
"title": "currency",
"type": "string",
"enum": [
"usd",
"cad",
"aud",
"gbp",
"eur",
"nzd"
]
}
]
},
"amount": {
"type": "number",
"format": "double",
"minimum": 0
}
}
}
]
}