Skip to main content

ASB logo: a tower crane lifting three blocks for code, mathematics and data

ASB Schema

LinkML schemas for machine-readable scientific tasks: task cards, capsules, skill bundles and skill collections.

PyPI version Python versions CI License: Apache 2.0

Documentation · Getting started · Changelog


ASB Schema is a data standard, written in LinkML, for scientific tasks extracted from research papers and for the skills and releases built from them. The package ships the LinkML sources, one generated JSON Schema per schema and a JSON-LD context. Formerly named SciTask.

ASB is the provenance and specification layer that feeds benchmark formats, not a competitor to them.

pip install asb-schema

The six artifacts

Artifact Class and file Serialized as What it records
Task card ASBTaskCard, asb_card.yaml task_card.json One bounded, reproducible task from one paper, with question, finding, evidence and evaluation plan
Capsule SciTaskCapsule, asb_capsule.yaml A directory with ro-crate-metadata.json One card packaged as a research object, with evidence and per-file provenance
Skill bundle SkillBundle, ASBSkill, ASBTool, asb_skill_bundle.yaml A directory with skill.md and sidecar files One reusable skill found across several papers, with its tools, parameters and failure modes
Skill collection SkillCollection, asb_skill_collection.yaml collection.yaml A curated, licensed and citable release of skills and tools
Collection registry SkillCollectionRegistry, asb_skill_collection_registry.yaml JSON or JSON-LD The list of released collections
Exploration trace ExplorationTree, asb_trace.yaml trace/*.yaml The research path behind a result: questions, experiments, decisions, dead ends and pivots

Minimal conformance: a task_card.json that validates against ASBTaskCard, and a ro-crate-metadata.json that conforms to RO-Crate 1.1.

Released collections are in asb-skill-collections. Bridges to ASTRA, RO-Crate, ARA, Harbor and Terminal-Bench, science benchmarks and Agent Skills are described in the documentation.

Validate

Each artifact is validated against its own schema file. linkml-validate validates closed: an undeclared key is an error.

SCHEMA=$(python -c "from asb_schema import get_schema_path; print(get_schema_path('asb_card'))")
linkml-validate --schema "$SCHEMA" --target-class ASBTaskCard task_card.json
from asb_schema import get_schema_path, get_json_schema_path, get_jsonld_context_path

get_schema_path("asb_card")          # LinkML source
get_json_schema_path("asb_card")     # JSON Schema
get_jsonld_context_path()            # JSON-LD context

More in Getting started.

Versioning

The package follows Semantic Versioning; before 1.0, a minor release may change a schema so that previously valid data fails. Each LinkML file carries its own version and a versioned id under https://w3id.org/holobiomicslab/asb-schema/. Generated files are regenerated with every LinkML change, and CI fails when they differ. A release is a tag v<version> on main, equal to the version in pyproject.toml, asb_schema.__version__ and CITATION.cff.

Development

git clone https://github.com/HolobiomicsLab/asb-schema.git
cd asb-schema
python -m pip install -c constraints/generate.txt -e ".[dev,docs]"
python -m pytest            # tests
bash generate.sh            # regenerate JSON Schema, JSON-LD and the field reference
mkdocs serve -a 127.0.0.1:8001   # documentation site at http://127.0.0.1:8001/
Path Content
src/asb_schema/*.yaml LinkML sources
src/asb_schema/*.schema.json, context.jsonld Generated files
scripts/gen_reference.py Generator of the field reference page
constraints/generate.txt Exact linkml versions that generate.sh and CI generate with
tests/ Test suite
docs/ Documentation site (MkDocs Material)

Citation and licence

Cite with CITATION.cff. Apache License 2.0, see LICENSE; each LinkML file declares license: CC-BY-4.0.

Holobiomics Lab, CNRS and Université Côte d'Azur.

Metadata

Release files for asb-schema 0.4.0

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

Source distribution (sdist)

Source distribution for asb-schema 0.4.0
File Size Uploaded Provenance Actions
asb_schema-0.4.0.tar.gz 93.7 kB With provenance Details for asb_schema-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for asb-schema 0.4.0
File Interpreter ABI Platform Actions
asb_schema-0.4.0-py3-none-any.whl Python 3 none any Details for asb_schema-0.4.0-py3-none-any.whl

Total release size: 161.8 kB

Release files / asb_schema-0.4.0.tar.gz

Download URL asb_schema-0.4.0.tar.gz
Size 93.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c749dbd46eb252316e1d00b957e00f72ed3f1f1b6e2cc537cd4bf2126f01821d
BLAKE2b-256 checksum
How to use checksums
e2969d975451d9ed1635cf87f3912da093bd751702400c924ce4594d0484b086
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / asb_schema-0.4.0-py3-none-any.whl

Download URL asb_schema-0.4.0-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cfbdfe39db015251cdb38707edeec9ae78b2756f1535926a45ea4b153905534
BLAKE2b-256 checksum
How to use checksums
1f1c88c57848841aed3b23b04b92894393204204b1441d0669e29c2f274891f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for asb-schema 0.4.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for asb_schema-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files Full provenance

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