shipengine-json-schema
Version:
The official JSON Schemas for ShipEngine™
58 lines • 1.27 kB
JSON
{
"$id": "get_webhook_by_id_response_body",
"title": "get_webhook_by_id_response_body",
"type": "object",
"additionalProperties": false,
"required": [
"webhook_id",
"url",
"event"
],
"allOf": [
{
"title": "webhook",
"type": "object",
"additionalProperties": false,
"properties": {
"webhook_id": {
"allOf": [
{
"title": "se_id",
"type": "string",
"minLength": 1,
"maxLength": 25,
"pattern": "^se(-[a-z0-9]+)+$"
}
]
},
"url": {
"allOf": [
{
"title": "url",
"type": "string",
"format": "url",
"minLength": 1
}
]
},
"event": {
"allOf": [
{
"title": "webhook_event",
"type": "string",
"enum": [
"batch",
"carrier_connected",
"order_source_refresh_complete",
"rate",
"report_complete",
"sales_orders_imported",
"track"
]
}
]
}
}
}
]
}