api-docs/models/ContractTerms.json
Keith Jackson ccbbedd73f
Remove $ref siblings, Agent.shipCount NOT optional, typos (#82)
* Typo and descriptions

* Remove $ref suiblings.

* missed one when refactoring ShipNavRouteWaypointDeprecated to keep deprecated flag.

* Agent.shipCount always seems to be returned. Why would this be optional?
2023-12-16 08:46:48 -08:00

25 lines
548 B
JSON

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