iSPIRT / NPNT-Provisional-testing-tool

A simple and easy tool to perform a basic check of NPNT/ Digital Sky compliance. The App is a checklist to verify basic NPNT work and is limited to NPNT verification, PA, PIN check and Flight log signature Verification.
12 stars 20 forks source link

flightlog: add schema and related methods #22

Closed mnihalm closed 4 years ago

mnihalm commented 4 years ago

Flight log schema has been added, this schema is supports all events including takeoff, landing, and bundling. This commit adds a basic schema validator using jsonchema and adds a unittest for the same. Note that the schema validation is not included in the checks performed by the apps in this commit.

A sample flightlog that conforms to the new schema is also provided.

Requirements.txt is updated to include jsonschema