Cydoniat / praksa_smartcat

1 stars 0 forks source link

Create Avro schemas for flight request and response #5

Closed Cydoniat closed 3 years ago

Cydoniat commented 3 years ago

Flight request schema should have a flight code string, from coordinates (lat, lon), to coordinates (lat,lon). Flight response schema should have a flight code string, distance decimal, flight time decimal (seconds).

Cydoniat commented 3 years ago

Add new flight request status schema, add it as a field in Flight Response schema (should be an enum: APPROVED, REJECTED).

Cydoniat commented 3 years ago

Put it in a separate package called v1.

Cydoniat commented 3 years ago

Corrected shemas that I first wrote and added a new schema.