shipengine-json-schema
Version:
The official JSON Schemas for ShipEngine™
125 lines • 2.92 kB
JSON
{
"$id": "get_manifest_by_id_response_body",
"title": "get_manifest_by_id_response_body",
"type": "object",
"required": [
"manifest_id",
"form_id",
"created_at",
"ship_date",
"shipments",
"warehouse_id",
"submission_id",
"carrier_id",
"manifest_download",
"label_ids"
],
"additionalProperties": false,
"allOf": [
{
"title": "manifest",
"type": "object",
"additionalProperties": false,
"properties": {
"manifest_id": {
"allOf": [
{
"title": "se_id",
"type": "string",
"minLength": 1,
"maxLength": 25,
"pattern": "^se(-[a-z0-9]+)+$"
}
]
},
"form_id": {
"allOf": [
{
"title": "se_id",
"type": "string",
"minLength": 1,
"maxLength": 25,
"pattern": "^se(-[a-z0-9]+)+$"
}
]
},
"created_at": {
"type": "string",
"format": "date-time",
"minLength": 1
},
"ship_date": {
"type": "string",
"format": "date-time",
"minLength": 1
},
"shipments": {
"type": "integer",
"format": "int32",
"minimum": 1
},
"label_ids": {
"type": "array",
"items": {
"allOf": [
{
"title": "se_id",
"type": "string",
"minLength": 1,
"maxLength": 25,
"pattern": "^se(-[a-z0-9]+)+$"
}
]
}
},
"warehouse_id": {
"allOf": [
{
"title": "se_id",
"type": "string",
"minLength": 1,
"maxLength": 25,
"pattern": "^se(-[a-z0-9]+)+$"
}
]
},
"submission_id": {
"type": "string",
"minLength": 1
},
"carrier_id": {
"allOf": [
{
"title": "se_id",
"type": "string",
"minLength": 1,
"maxLength": 25,
"pattern": "^se(-[a-z0-9]+)+$"
}
]
},
"manifest_download": {
"allOf": [
{
"title": "manifest_download",
"type": "object",
"additionalProperties": false,
"properties": {
"href": {
"allOf": [
{
"title": "url",
"type": "string",
"format": "url",
"minLength": 1
}
]
}
}
}
]
}
}
}
]
}