api-docs/models/ContractTerms.json
2023-06-09 23:50:36 +03:00

26 lines
608 B
JSON

{
"type": "object",
"description": "Terms of the contract needed to fulfill it.",
"properties": {
"deadline": {
"type": "string",
"format": "date-time",
"description": "The deadline for the contract."
},
"payment": {
"$ref": "./ContractPayment.json",
"description": "Payments for the contract."
},
"deliver": {
"type": "array",
"description": "The cargo that needs to be delivered to fulfill the contract.",
"items": {
"$ref": "./ContractDeliverGood.json"
}
}
},
"required": [
"deadline",
"payment"
]
}