api-docs/models/ContractTerms.json

25 lines
548 B
JSON
Raw Normal View History

2022-10-22 18:05:01 +02:00
{
"type": "object",
2023-12-05 23:00:24 +01:00
"description": "The terms to fulfill the contract.",
2022-10-22 18:05:01 +02:00
"properties": {
"deadline": {
"type": "string",
"format": "date-time",
"description": "The deadline for the contract."
},
"payment": {
2023-12-05 23:00:24 +01:00
"$ref": "./ContractPayment.json"
2022-10-22 18:05:01 +02:00
},
2022-10-28 06:09:27 +02:00
"deliver": {
2022-10-22 18:05:01 +02:00
"type": "array",
2023-06-09 22:50:36 +02:00
"description": "The cargo that needs to be delivered to fulfill the contract.",
2022-10-22 18:05:01 +02:00
"items": {
2022-10-28 06:09:27 +02:00
"$ref": "./ContractDeliverGood.json"
2022-10-22 18:05:01 +02:00
}
}
},
"required": [
"deadline",
"payment"
]
}