{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Delivery reservations and cargo claim - Réserves de livraison et réclamation transport / Leveringsvoorbehoud en vervoersclaim (BE)","description":"A letter of the consignee or the sender to the carrier after a road carriage: either written reservations (profile reservation_notice) or a written claim with the amount and the remedy (profile claim). The template prints the user's dates and never computes or states a deadline, never converts the CMR limit into euros, never says that the carrier is liable and prints a visible blank for what is missing.","type":"object","additionalProperties":false,"required":["profile","claimant","carrier","letter","regime","shipment","findings","contradictory_finding","rights_reserved","signatory"],"properties":{"profile":{"type":"string","enum":["reservation_notice","claim"],"description":"Kind of letter: reservation_notice (written reservations) or claim (written claim with amount and remedy)."},"claimant":{"type":"object","description":"The claimant.","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the claimant (company or private person)."},"enterprise_number":{"type":"string","description":"Belgian enterprise number of the claimant, written 0123.456.789, when it is an enterprise.","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"},"address":{"type":"string","description":"Street and number of the claimant."},"postal_code":{"type":"string","description":"Postal code of the claimant."},"commune":{"type":"string","description":"Municipality of the claimant."},"role":{"type":"string","enum":["consignee","sender","other_entitled"],"description":"Role of the claimant: consignee, sender or other person entitled to the goods."},"domiciliation":{"type":"string","description":"Domiciliation of the claimant, when its enterprise number is given (Code of economic law art. III.25, al. 2)."},"iban":{"type":"string","description":"IBAN of a payment account the claimant holds, when its enterprise number is given (Code of economic law art. III.25, al. 2)."}},"required":["name","address","postal_code","commune","role"],"dependentRequired":{"enterprise_number":["domiciliation","iban"]}},"carrier":{"type":"object","description":"The carrier.","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the carrier."},"address":{"type":"string","description":"Address of the carrier."}},"required":["name","address"]},"letter":{"type":"object","description":"The letter.","additionalProperties":false,"properties":{"date":{"type":"string","format":"date","description":"Date of the letter."},"reference":{"type":"string","description":"The claimant's reference of the letter."},"sent_by":{"type":"string","enum":["registered_letter","email","other"],"description":"How the letter is sent, as the user states it: registered_letter, email or other."}},"required":["date","sent_by"]},"regime":{"type":"object","description":"The regime.","additionalProperties":false,"properties":{"kind":{"type":"string","enum":["cmr_international","domestic_belgium","cmr_by_agreement"],"description":"Regime of the carriage, as the user states it: cmr_international, domestic_belgium or cmr_by_agreement."}},"required":["kind"]},"shipment":{"type":"object","description":"The shipment.","additionalProperties":false,"properties":{"consignment_note_number":{"type":"string","description":"Number of the consignment note."},"consignment_note_date":{"type":"string","format":"date","description":"Date of the consignment note."},"description":{"type":"string","description":"Description of the shipment (goods)."},"packages":{"type":"integer","minimum":0,"description":"Number of packages."},"gross_weight_kg":{"type":["string","number"],"description":"Gross weight in kilograms, as the user states it."},"takeover_date":{"type":"string","format":"date","description":"Date the goods were taken over by the carrier."},"delivery_date":{"type":"string","format":"date","description":"Date the goods were delivered."},"made_available_date":{"type":"string","format":"date","description":"Date the goods were placed at the consignee's disposal (delay)."},"agreed_delay_text":{"type":"string","description":"Agreed delay, as written in the contract or the consignment note."}},"required":["description"]},"findings":{"type":"array","description":"The findings.","items":{"type":"object","description":"One finding.","additionalProperties":false,"properties":{"kind":{"type":"string","enum":["partial_loss","total_loss","damage","delay"],"description":"Kind of finding: partial_loss, total_loss, damage or delay."},"description":{"type":"string","description":"What was found, in the claimant's words."},"apparent":{"type":"string","enum":["apparent","not_apparent","not_applicable"],"description":"Whether the loss or damage was apparent at delivery, as the claimant states it: apparent, not_apparent or not_applicable."},"quantity_affected":{"type":"string","description":"Quantity affected, as the claimant writes it."},"weight_affected_kg":{"type":["string","number"],"description":"Weight affected in kilograms, as the claimant states it."}},"required":["kind","description","apparent"]},"minItems":1},"contradictory_finding":{"type":"object","description":"Joint finding with the carrier.","additionalProperties":false,"properties":{"made":{"type":"boolean","description":"Whether the state of the goods was found jointly with the carrier."},"date":{"type":"string","format":"date","description":"Date of that joint finding."},"participants":{"type":"string","description":"Who took part in the joint finding."},"reservations_on_note":{"type":"boolean","description":"Whether reservations were entered on the consignment note."}},"required":["made"]},"evidence":{"type":"array","description":"Evidence.","items":{"type":"object","description":"One piece of evidence.","additionalProperties":false,"properties":{"description":{"type":"string","description":"What the piece of evidence is."},"date":{"type":"string","format":"date","description":"Date of the piece of evidence."}},"required":["description"]}},"claim":{"type":"object","description":"The claim (profile claim).","additionalProperties":false,"properties":{"items":{"type":"array","description":"The items of the claim.","items":{"type":"object","description":"One item of the claim.","additionalProperties":false,"properties":{"kind":{"type":"string","enum":["goods_value","carriage_price","customs_duties","other_costs","delay_prejudice","other"],"description":"Kind of item: goods_value, carriage_price, customs_duties, other_costs, delay_prejudice or other."},"amount":{"type":["string","number"],"description":"Amount of the item, as the claimant states it."},"basis_text":{"type":"string","description":"Basis of the item, in the claimant's words."}},"required":["kind","amount"]},"minItems":1},"total":{"type":["string","number"],"description":"Total claimed, as the claimant states it."},"declared_value_reference":{"type":"string","description":"Reference of a declared value or special interest, if any."},"remedy":{"type":"string","enum":["compensation","replacement","repair","other"],"description":"Remedy demanded: compensation, replacement, repair or other."},"remedy_text":{"type":"string","description":"The remedy, in the claimant's words."},"interest_requested":{"type":"boolean","description":"Whether interest on the compensation is requested."},"answer_by":{"type":"string","format":"date","description":"Date by which the claimant expects the carrier's answer."},"documents_attached":{"type":"array","description":"Documents attached to the claim.","items":{"type":"string","description":"A document attached to the claim."}}},"required":["items","total","remedy"]},"rights_reserved":{"type":"boolean","description":"Whether all rights are reserved."},"law":{"type":"object","description":"Court or law, if mentioned.","additionalProperties":false,"properties":{"court_text":{"type":"string","description":"Court or law the claimant mentions, as it writes it."}},"required":[]},"signatory":{"type":"object","description":"The signatory.","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the signatory."},"role":{"type":"string","description":"Function of the signatory."},"place":{"type":"string","description":"Place of signature."},"date":{"type":"string","format":"date","description":"Date of signature."}},"required":["name","role","date"]}},"allOf":[{"if":{"properties":{"profile":{"const":"claim"}},"required":["profile"]},"then":{"required":["claim"]}}]}