Skip to main content

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:

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

Release files for fairscape-models 1.2.5

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

Source distribution (sdist)

Source distribution for fairscape-models 1.2.5
File Size Uploaded
fairscape_models-1.2.5.tar.gz 812.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fairscape-models 1.2.5
File Interpreter ABI Platform
fairscape_models-1.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 961.3 kB

Release files / fairscape_models-1.2.5.tar.gz

Download URL fairscape_models-1.2.5.tar.gz
Size 812.1 kB
Tags Source
SHA-256 checksum
How to use checksums
280d306543144dc282e341faa1f5f82a2f9cb9004d2878fa28b0707b45617a3f
BLAKE2b-256 checksum
How to use checksums
6f0fc820dd0a4d65b75684259342a4efeb314d40a29086e85708590f03b7d451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / fairscape_models-1.2.5-py3-none-any.whl

Download URL fairscape_models-1.2.5-py3-none-any.whl
Size 149.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d84dadd9a31ab2b43ec3975fd623ca2017e2f83de1553997b97b9305d3ac6179
BLAKE2b-256 checksum
How to use checksums
7e752b0779d32bb6de541ec43dd71ff9853f0833e8b604d7b1b0f6bbe342ba7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

1.2.6

2 release files

This release

1.2.5 This release

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.0.30

2 release files

1.0.29

2 release files

1.0.28

2 release files

1.0.27

2 release files

1.0.26

2 release files

1.0.25

2 release files

1.0.24

2 release files

1.0.23

2 release files

1.0.22

2 release files

1.0.21

2 release files

1.0.17

2 release files

1.0.16

2 release files

1.0.15

2 release files

1.0.14

2 release files

1.0.13

2 release files

1.0.11

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.1.2

2 release files

0.1.0

2 release files

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