{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","required":["company","report","items"],"properties":{"company":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"phone":{"type":"string"},"email":{"type":"string"},"logo_base64":{"type":"string"}}},"report":{"type":"object","required":["date"],"properties":{"title":{"type":"string"},"date":{"type":"string"},"location":{"type":"string"},"prepared_by":{"type":"string"}}},"items":{"type":"array","items":{"type":"object","required":["name","quantity"],"properties":{"sku":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"quantity":{"type":"string"},"unit":{"type":"string"},"unit_price":{"type":"string"},"total_value":{"type":"string"}}}},"total_items":{"type":"string"},"total_value":{"type":"string"},"notes":{"type":"string"}}}