Skip to content

+ 2026-linkml-dandi-schema: LinkML Symposium 2026 talk on dandi-schema - #37

Merged
yarikoptic merged 5 commits into
masterfrom
enh-linkml-dandi
Dec 3, 2026
Merged

yarikoptic merged 5 commits into
masterfrom
enh-linkml-dandi

Conversation

@yarikoptic

Copy link
Copy Markdown
Member

Summary

Adds 2026-linkml-dandi-schema.html, a 10-minute talk for the Virtual LinkML Symposium 2026. It is in Session 5 (Tools, generators & workflows II), Thu 2026-12-03 at 18:30 UTC, and follows the outline in con/cierge#54:

  • DANDI and dandi-schema: what DANDI is, and how the Pydantic models.py feeds the JSON Schema and JSON-LD context that the CLI, archive, Meditor and landing pages consume (mermaid flow diagram).
  • Migrating to LinkML: why do it, and the setup (pydantic2linkml with merge/overlay files, then gen-pydantic / gen-json-schema). Fixes go into the Pydantic model first and the schema is regenerated. Slides include the dandi/dandi-schema#382 sub-issue tree.
  • Gotchas: slot_usage can only add restrictions (monotonicity); some Pydantic features have no LinkML equivalent; gen-pydantic and gen-json-schema don't produce matching results.
  • One ORINOCO slide (LinkML 2026: Submit+present ORINOCO(-Lite) cierge#55), acknowledgements, and a thank-you slide.

The title-slide logo strip now shows DANDI, EMBER, BIDS, NWB, DataLad, STAMPED, ReproNim and OBC, all square at 72px. I cropped the NWB and BIDS marks out of their wide logos and listed them as third-party logos in REUSE.toml. People's names link to their CON whoweare records.

Files
  • 2026-linkml-dandi-schema.html: the deck, kept in git
  • pics/2026-linkml-dandi-schema-qrcode.png: QR code for the live deck (annexed)
  • pics/bids-logo-square.png, pics/borrowed/nwb-logo-square.png: square logo crops (annexed)
  • INDEX.md: an entry for this talk plus lookup pointers under DANDI and schema-driven UIs
  • REUSE.toml: the two crops added to the third-party logo list

Test plan

  • Every slide renders inside the 1400×1050 canvas with no console errors (headless Chromium)
  • reuse lint (not installed where the deck was written)
  • Copy the three annexed PNGs to the publishing remote (datasets.datalad.org)
  • Follow-up: add a talk record to sourcedata/con-site-specific and regenerate index.html / talks.yaml
  • Follow-up: once ORINOCO-Lite/con-site-specific has Dorota Jarecka's record, point her name at whoweare instead of GitHub

🤖 Generated with Claude Code

A 10-minute talk at the Virtual LinkML Symposium 2026 (Session 5, Tools,
generators & workflows II; 2026-12-03, 18:30 UTC), following the outline
in con/cierge#54:

- DANDI, and the role of dandi-schema's Pydantic models (mermaid flow from
  models.py to JSON Schema / JSON-LD context and their consumers)
- migrating to LinkML: why, the pydantic2linkml setup with merge/overlay
  files, fixing at the Pydantic level first, the dandi/dandi-schema#382
  sub-issue tree
- gotchas: monotonicity of slot_usage, Pydantic features without a LinkML
  equivalent, gen-pydantic vs gen-json-schema asymmetries
- one ORINOCO slide (con/cierge#55), acknowledgements, thank you

Title-slide logo strip widened to DANDI, EMBER, BIDS, NWB, DataLad,
STAMPED, ReproNim, OBC (all square, 72px); NWB and BIDS marks cropped from
their wide logos and listed as third-party logos in REUSE.toml.  People's
names link to their CON whoweare records.

Also: QR code for the live deck, and INDEX.md entries.

Co-Authored-By: Claude Code 2.1.334 / Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Preview removed.

yarikoptic and others added 4 commits December 2, 2026 21:43
Restructured around the talk's goals (archive, complexity, why LinkML,
feedback wanted):

- lead-in slide with the four thesis statements
- DANDI slide refreshed: fresh homepage screenshot, stats/usage pages
  (686 public + 221 embargoed Dandisets, 3.2 PB, over 17 PB streamed)
- "function in life" over the Survive Style 5+ background, then one
  slide per function: describes, harmonizes, serializes, validates,
  drives the Meditor, presents (DLP), links (JSON-LD, DOIs)
- flow and setup diagrams with clickable nodes; links to source pinned
  to latest release tags (dandi-schema 0.14.0, dandi-cli 0.84.0,
  dandi-archive v1.2.6) so #L fragments stay valid
- "tied together": one current schema version, migrate() up or down,
  dandi-cli downgrading metadata on upload
- pydantic2linkml origin (Lon Blauvelt, LinkML workshop, Berkeley,
  Feb 2024; Isaac To since May 2024) with the fruits slide
- upstream LinkML issues and PRs by Isaac To and John Lee
- setup loop now "make LinkML-friendlier & regenerate", since the
  Pydantic models keep being tuned (monotonicity, Python-only
  validators)
- max_length via all_of (p2l#63, linkml#4155): enforced by
  gen-json-schema only, and its Python-only regex ({,150}, \Z) does
  not compile in the Meditor's Ajv
- ORINOCO slide dropped (dedicated talk)

Slides and links fact-checked against live sources; screenshots
annexed.

Co-Authored-By: Claude Code 2.1.334 / Claude Opus 5.5 <noreply@anthropic.com>
- issue/PR links consistently labeled repo#N (dandi-schema#,
  pydantic2linkml#, linkml#, linkml-runtime#), kept from wrapping
- "Back to LinkML": drop the per-person counts and their footnote
- the loop slide reduced to its message, "Pydantic gets simpler along
  the way"; the steps moved into speaker notes
- Gotcha #3 shown at once, without fragments

Co-Authored-By: Claude Code 2.1.334 / Claude Opus 5.5 <noreply@anthropic.com>
There is a single Jinja override (enum.py.jinja), which keeps enum member
names free of LinkML's prefix COLON munging; link it rather than speak
of "custom templates".

Co-Authored-By: Claude Code 2.1.334 / Claude Opus 5.5 <noreply@anthropic.com>
- "One source of truth" slide before Harmonizes and a separate
  "Take home: duplication is evil" slide (one model, one fix, one
  conversion, one contract), both with the duplication-is-evil meme,
  which also accompanies the ground rule and a 5th lead-in item
- slides carry ids and cross-link each other (lead-in theses, function
  list, where-we-are, take home, gotchas); INDEX.md uses the ids
- #382 sub-issue tree hidden (too much detail for 10 minutes)
- "Tied together", ground rule and "Where we are" shown at once
- Acknowledgements: Isaac To as the lead of the LinkML migration, John
  Lee for ORINOCO-Lite, its LinkML fixes and continuing the migration;
  more links (BICAN, concepts, ORINOCO, DANDI); funding with grant
  numbers for DANDI (R24MH117295) and EMBER (R24DA064430)

Co-Authored-By: Claude Code 2.1.334 / Claude Opus 5.5 <noreply@anthropic.com>
@yarikoptic
yarikoptic merged commit b155bb9 into master Dec 3, 2026
@yarikoptic
yarikoptic deleted the enh-linkml-dandi branch December 3, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant