asb-schema
LinkML schemas for the ASB Standard — Cards, Capsules, Skill Bundles, and the
release-time Skill Collections used by the asb-skill-collections repo.
Renamed from scitask-schema in v0.2.0 (Wave 1 of the 2026-05-24 ASB-Skills
release design). For background, see
docs/superpowers/specs/2026-05-24-asb-skills-release-design.md
in the parent repo.
Layout
src/asb_schema/
├── asb.yaml # top schema, imports the five below
├── asb_card.yaml # ASBTaskCard
├── asb_capsule.yaml # capsule wrapper
├── asb_skill_bundle.yaml # SkillBundle + ASBSkill + ASBTool + MergeAuditRecord + ToolAffordance
├── asb_skill_collection.yaml # SkillCollection (release unit)
├── asb_skill_collection_registry.yaml # SkillCollectionRegistry (catalogue root)
├── context.jsonld # generated JSON-LD @context
└── *.schema.json # generated JSON Schema (run `make generate`)
Validating a collection manifest
A released collection.yaml is a SkillCollection; validate it closed, so an
undeclared key is an error:
SCHEMA=$(python -c "from importlib.resources import files; print(files('asb_schema') / 'asb_skill_collection.yaml')")
linkml-validate --schema "$SCHEMA" --target-class SkillCollection collections/<slug>/v<N>/collection.yaml
asb_skill_bundle.yaml is the schema of a per-capsule skill bundle, not of a
collection manifest. v0.3.0 declares the ten keys released manifests carry beyond
the fifteen v0.2 slots (@context, @type, @id, lead_curators,
skills_count, tools_count, workflows_count, domain_topics, roles,
zenodo_doi); all ten are optional and the six required slots are unchanged.
Regenerating
bash generate.sh
Migration from scitask_schema
Use asb_schema.compat.legacy_schema_name("scitask_card") ->
"asb_card" (emits DeprecationWarning). The shim is removed in the next
minor release.
Tests
python -m pytest tests/ -v
Metadata
Release files for asb-schema 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asb_schema-0.3.0.tar.gz | 55.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asb_schema-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 116.4 kB
Release files / asb_schema-0.3.0.tar.gz
| Download URL | asb_schema-0.3.0.tar.gz |
|---|---|
| Size | 55.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6c2bf6fca9d59e8d703e9f77fcf1bab78f377ca6b16dd433489248a8f9dbf95
|
|
BLAKE2b-256 checksum How to use checksums |
bf61dff442642fa4e98ab5dd11ff36f39de075fdde47d4cfe14279f04163c270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / asb_schema-0.3.0-py3-none-any.whl
| Download URL | asb_schema-0.3.0-py3-none-any.whl |
|---|---|
| Size | 60.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7da2d1939238f7d0aecd1e598f752d5fc8d4a1c869db5fbd5da95b4ecf7984af
|
|
BLAKE2b-256 checksum How to use checksums |
2d2a99fe3540b51c6befade7247a55f614fe8becd8c45820d002c6ebc64427e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|