realm / realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores
https://realm.io
Apache License 2.0
5.69k stars 563 forks source link

Feature Request: Consider implementing Frictionless Data Schema #1170

Open nonsensecreativity opened 6 years ago

nonsensecreativity commented 6 years ago

Please consider in implementing a Fricitionless Data <frictionlessdata.io> for the Realm Schema. It's a more standardize, robust, universal and focused on standards and best practices for a database schema definitions.

And I think Realm current data Schema already close to the Frictionless Data standard. So it would not be too difficult to implement it.

Goals

The frictionless data vision

Frictionless Data is about removing the friction in working with data. We are doing this by developing a set of tools, standards, and best practices for publishing data. The heart of Frictionless Data is the Data Package standard, a containerization format for any kind of data based on existing practices for publishing open-source software.

I think http://frictionlessdata.io/about/ explained all the goals.

Expected Results

  1. Schema Documentation availability. The Frictionless Data have a huge set of documentations about data, table, and json schema, etc.

  2. By implementing a common standard for the Database Schema, it will really help in connecting both mobile app powered by Realm and a running API server that already follow the standardization.

  3. Data schema standardization that can be use by anyone who want to try a migration to Realm.

  4. Help in validating fetched data through various of standardize constraints.

kristiandupont commented 6 years ago

This is interesting. We will look into it, thank you for informing us.