Skip to main content

Developing a Gen3 Data Dictionary

overview.png

This repository aims to provide the documentation, learning materials, and software tools to facilitate the creation of a data model in Gen3.

Pre-Reading: Please become familiar with some core data modelling concepts before starting.

Using Gen3SchemaDev as a data modelling tool

Null description placeholders

gen3schemadev validate warns about description: null placeholders anywhere in the dictionary (commonly in _definitions.yaml's enum definitions). The Gen3 metaschema requires descriptions to be strings; null placeholders cause "No Description" in the data-dictionary viewer and metaschema validation failures that surface on resolved node schemas, far from the offending definition. Remove the null description keys to resolve the warning.

Deep dive into Gen3 Data Modelling

Special Thanks to Marion Shadbolt for providing the source material

  1. Gen3 Dictionary Overview
  2. Gen3 Schema Explained
    1. Descriptors
    2. Links
    3. Properties
  3. Example of a Gen3 Schema yaml
  4. Handy tips
  5. FAIR Concepts for Data Modelling

For Developers

Installation and testing

# To install
pip install poetry
poetry install
source $(poetry env info --path)/bin/activate
gen3schemadev --version

# To run tests
poetry run pytest

Contributing

Gen3SchemaDev is an open source project, and we highly encourage any contributions and PRs. Specifically we need the community to help with the following:

  1. Keeping the gen3 metaschema up to date
  2. Adding business rule logic to the rule validator module.
    1. For example, a node with the category data_file should have a collection of required data file properties such as md5sum, filesize, etc.

For PRs, please follow the contributing guidelines.

License

Apache 2.0

Metadata

Release files for Gen3SchemaDev 2.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Gen3SchemaDev 2.6.1
File Size Uploaded Provenance Actions
gen3schemadev-2.6.1.tar.gz 42.6 kB Without provenance Details for gen3schemadev-2.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Gen3SchemaDev 2.6.1
File Interpreter ABI Platform Actions
gen3schemadev-2.6.1-py3-none-any.whl Python 3 none any Details for gen3schemadev-2.6.1-py3-none-any.whl

Total release size: 92.4 kB

Release files / gen3schemadev-2.6.1.tar.gz

Download URL gen3schemadev-2.6.1.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e20576f3026d1187753c37ed9c3e1d52328b01d3c78003520cb699d3d3cc5e1d
BLAKE2b-256 checksum
How to use checksums
4116644f603349f7850f06f16c37b14feb7530c7437a56349846bf4a12e44dfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1018-azure

Release files / gen3schemadev-2.6.1-py3-none-any.whl

Download URL gen3schemadev-2.6.1-py3-none-any.whl
Size 49.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c124f649c7da6448e7dffc9dc7138c38285acf420cbb0215e388236aac9f2e9a
BLAKE2b-256 checksum
How to use checksums
2e8edc5f5e4cf2716ced3848d8e0e9cc75f6bded7adab9531a09e416aa0559c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1018-azure

Security for Gen3SchemaDev 2.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page