{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","required":["company","recipient","payment"],"properties":{"company":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"iban":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"logo_base64":{"type":"string"}}},"recipient":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"iban":{"type":"string"}}},"payment":{"type":"object","required":["reference","date","amount","method"],"properties":{"reference":{"type":"string"},"date":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string","default":"EUR"},"method":{"type":"string","enum":["bank_transfer","cheque","cash","card"]},"transaction_id":{"type":"string"},"description":{"type":"string"},"notes":{"type":"string"}}}}}