https://github.com/socialfinancedigitallabs/sfdata-schema
https://github.com/socialfinancedigitallabs/sfdata-schema
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/socialfinancedigitallabs/sfdata-schema
- Owner: SocialFinanceDigitalLabs
- License: mit
- Created: 2022-10-24T08:12:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-21T16:10:39.000Z (about 1 year ago)
- Last Synced: 2024-12-29T11:19:46.151Z (5 months ago)
- Language: CSS
- Homepage: https://github.com/SocialFinanceDigitalLabs/sfdata
- Size: 140 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SF-Data Structural Schema
[](https://github.com/SocialFinanceDigitalLabs/sfdata-schema/actions)
[](https://codecov.io/gh/SocialFinanceDigitalLabs/sfdata-schema)
[](https://github.com/psf/black)This is a python library for documenting "anticipated" data structures. At Social Finance we often deal with
data that is supposed to have a certain structure, but very frequently the structure is not enforced. Variants
in column names, value formats (such as dates), no common way of indicating 'which' table a representation belongs
to etc.The purpose of this library is to provide a way to document the expected structure of data, and to provide a way to
conform data to that structure and log any deviations.Although the structure is primarly for tabular data, it can be used for any data structure, including hierarchical data
such as JSON & XML and provides a way to transform these into a relational datamodel.The tool also includes the ability to generate documentation for the model, including a relational diagram.

Schemas can be defined in code, in JSON or in YAML, and can include additional metadata such as descriptions, and, in
the sample above, pretty colours for your documentation.