digidem / mapeo-core

Library for creating custom geo data and syncronizing via a peer to peer network
23 stars 2 forks source link

(Back) Create Mapeo Data Record Types #126

Open ErikSin opened 2 years ago

ErikSin commented 2 years ago

Write strict definition for the documents we store in the db.

Hypercore accepts anything. We want to validate everything on the way out and in. (Eg. if we have stale or outdated data, we can either "throw it out" of transform it to usable data).

Things to possibly research: JSON encoding. Protocol Buffer Sync-layer typebox

Points: 13points