fairscape_models
Pydantic models that define the canonical data shape for Fairscape RO-Crate releases. This package is the source of truth: the JSON Schemas, TypeScript types, and the EVI OWL/RDFS vocabulary published with the Fairscape profile are all generated from the classes in fairscape_models/.
What's in here
| Path | What it is |
|---|---|
fairscape_models/*.py |
Pydantic class definitions: Dataset, Software, MLModel, Computation, Annotation, Experiment, Schema, Sample, Instrument, Patient, ModelCard, AnnotatedComputation, AnnotatedEvidenceGraph, ROCrateMetadataElem, ROCrateV1_2, … |
fairscape_models/conversion/ |
Crosswalks: Datasheet-for-Datasets (LinkML), Croissant / Croissant-RAI 1.0. |
json-schemas/ |
Per-class JSON Schemas, generated by scripts/generate_json_schemas.py. |
typescript-types/ |
TypeScript .d.ts declarations, generated by scripts/generate_ts_types.py. |
js/ |
JavaScript bindings. |
profiles/evi-vocabulary.ttl |
OWL/RDFS vocabulary for the EVI namespace, generated by scripts/generate_profile.py. Contains the class hierarchy, property domains/ranges, and owl:Restriction cardinality blocks. |
profiles/profile.ttl |
W3C PROF manifest for the Fairscape profile (see below). |
tests/ |
pytest suite. Test fixtures under tests/test_rocrates/ are real conforming crates. |
Profile
This package implements the Fairscape Release RO-Crate Profile v0.1:
- Profile URI: https://w3id.org/fairscape/profile/0.1
- Specification: https://fairscape.github.io/profile/0.1/
- PROF manifest:
profiles/profile.ttl - EVI vocabulary:
profiles/evi-vocabulary.ttl
Every crate produced from the ROCrateMetadataElem model declares dct:conformsTo: https://w3id.org/fairscape/profile/0.1 on its Root Data Entity. This is the conformance signal — the Root entity's @type stays ["Dataset", "https://w3id.org/EVI#ROCrate"] and never includes "Profile". (Only the hand-authored Profile Crate published at the profile URI is Profile-typed.)
Regenerating derived artifacts
python scripts/generate_json_schemas.py
python scripts/generate_ts_types.py
python scripts/generate_profile.py profiles/evi-vocabulary.ttl
Tests
pytest
Metadata
Release files for fairscape-models 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fairscape_models-1.2.6.tar.gz | 100.9 kB | Without provenance | Details for fairscape_models-1.2.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fairscape_models-1.2.6-py3-none-any.whl | Python 3 | none | any | Details for fairscape_models-1.2.6-py3-none-any.whl |
Total release size: 197.8 kB
Release files / fairscape_models-1.2.6.tar.gz
| Download URL | fairscape_models-1.2.6.tar.gz |
|---|---|
| Size | 100.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bba1ba2c519aae85a6a9b5eb306db19ef5059a4eea8ff216e0619cb5afc382e
|
|
BLAKE2b-256 checksum How to use checksums |
67863b32b8e03aa07302bd5b212c2e9b7baa81ce1676a5ceaafceb2ebcd7ddf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / fairscape_models-1.2.6-py3-none-any.whl
| Download URL | fairscape_models-1.2.6-py3-none-any.whl |
|---|---|
| Size | 97.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10e0fd5f8afa3a5e51ae2155393471c5107ff4f07a4611e047a1ce5ab15e8df1
|
|
BLAKE2b-256 checksum How to use checksums |
761a02883a3eca4ceca253244ecbc101720259c131a958e4f4a01c36d38a8289
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for fairscape-models 1.2.6
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.