{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","required":["landlord","tenant","property","agreement","rent"],"properties":{"landlord":{"type":"object","required":["name","address"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"}}},"tenant":{"type":"object","required":["name","address"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"}}},"property":{"type":"object","required":["description","address","type"],"properties":{"description":{"type":"string"},"address":{"type":"string"},"type":{"type":"string","enum":["residential","commercial","equipment"]}}},"agreement":{"type":"object","required":["date","start_date"],"properties":{"date":{"type":"string"},"start_date":{"type":"string"},"end_date":{"type":"string"},"duration":{"type":"string"}}},"rent":{"type":"object","required":["amount","frequency"],"properties":{"amount":{"type":"string"},"frequency":{"type":"string","enum":["monthly","weekly","annually"]},"due_day":{"type":"string"},"deposit":{"type":"string"},"currency":{"type":"string","default":"EUR"}}},"clauses":{"type":"array","items":{"type":"object","required":["title","content"],"properties":{"title":{"type":"string"},"content":{"type":"string"}}}},"signatures":{"type":"object","required":["landlord_name","tenant_name"],"properties":{"landlord_name":{"type":"string"},"tenant_name":{"type":"string"},"date":{"type":"string"}}}}}