Metadata Center
  • About
  • What
  • Happenings
  • Support
  • Publications
  • Menu
  • Twitter
  • Facebook
  • Youtube
  • Mail

New: YAML Support for CEDAR Artifacts

May 24, 2025/in News /by CEDAR admin

We’re excited to announce support for a new YAML-based representation of CEDAR metadata artifacts. YAML (YAML Ain’t Markup Language) offers a more readable, compact alternative to JSON for defining CEDAR templates, elements, fields, and instances—making it easier for users and developers to understand and edit metadata structures.

Why YAML?

CEDAR templates have traditionally been represented as JSON Schema. While powerful and expressive, JSON Schema can be verbose and difficult to read or edit manually—especially for users reviewing or writing complex metadata templates.

The new YAML format addresses this by offering:

  • Improved readability with cleaner indentation and less syntactic clutter
  • Simpler hand-editing of templates for users comfortable with structured configuration formats
  • Better version control diffs (changes in YAML are easier to interpret in Git-based workflows)
  • Easier onboarding for those new to CEDAR or metadata specification

What’s Included

The YAML representation captures the full semantics of CEDAR artifacts, including:

  • Template structure
  • Field definitions and types
  • Value constraints and cardinality
  • Ontology bindings and value sets
  • Required fields and conditional visibility

How to Use It

The Java-based CEDAR Artifact Library (https://github.com/metadatacenter/cedar-artifact-library) and the TypeScript-based CEDAR (https://github.com/metadatacenter/cedar-model-typescript-library) can be used to generate YAML representations of CEDAR templates, elements, fields and instances.

Who It’s For

The YAML format is ideal for:

  • Template authors who want to version and manage artifacts in Git
  • Developers building metadata templates via code or CI pipelines
  • Curators who want a more human-readable alternative for reviewing artifacts
  • Anyone frustrated by the cognitive load of complex JSON Schema structures

Moving Forward

This YAML representation does not replace JSON—it complements it. CEDAR continues to use JSON Schema and JSON-LD as the canonical metadata representation. YAML simply provides a more accessible format for authoring and collaboration.

As adoption grows, we’ll continue improving tooling and adding features like YAML-to-template upload capabilities in the CEDAR Workbench.

For questions or feedback, open an issue on GitHub or reach out to the CEDAR team directly.


Tags: CEDAR, developer tools, FAIR metadata, JSON-LD, metadata authoring, metadata standards, metadata templates, ontology-based metadata, open source tools, structured metadata, YAML
Share this entry
  • Share on Facebook
  • Share on Twitter
  • Share on Google+
  • Share on Pinterest
  • Share on Linkedin
  • Share on Tumblr
  • Share on Vk
  • Share on Reddit
  • Share by Mail
https://metadatacenter.org/wp-content/uploads/2019/03/CEDAR_logo_tree_no_line-3-80x80.png 0 0 CEDAR admin https://metadatacenter.org/wp-content/uploads/2019/03/CEDAR_logo_tree_no_line-3-80x80.png CEDAR admin2025-05-24 22:13:002025-07-25 21:09:34New: YAML Support for CEDAR Artifacts
You might also like
New Paper in Scientific Data: How CEDAR Enables Standardized Metadata Across HuBMAP—and Now SenNet
CEDAR User Guide Now Available
New Java Library: CEDAR Artifact Library Now Available
New Release: cedar-model-typescript-library v0.7.0 Now Available
CEDAR 2.7.7 Released: ORCID and ROR Field Support
ZonMw Recommends CEDAR for FAIR Metadata Creation
CEDAR Powers Machine-Actionable Metadata in M4M Workshops
New Paper in Scientific Data: Modeling Community Standards as Metadata Templates

Recent Posts

  • CEDAR 2.7.11 Now Live: PFAS Field Support and Embedded Editor Improvements
  • New: YAML Support for CEDAR Artifacts
  • CEDAR 2.7.7 Released: ORCID and ROR Field Support
  • CEDAR Supports Hungary’s National Research Data Repository
  • New Java Library: CEDAR Artifact Library Now Available

Categories

  • Events
  • Happenings
  • News
  • Releases

Archives

  • July 2025
  • May 2025
  • April 2025
  • February 2025
  • November 2024
  • September 2024
  • July 2024
  • April 2024
  • January 2024
  • November 2023
  • August 2023
  • July 2023
  • November 2022
  • February 2022
  • July 2020
  • December 2019
  • November 2019
  • September 2019
  • August 2019
  • June 2019

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright @ 2025  The Board of Trustees of Leland Stanford Junior University

 

CEDAR was originated by the National Institutes of Health through an NIH Big Data to Knowledge program grant. (Grant Number 1U54AI117925)
  • Twitter
  • Facebook
  • Youtube
  • Mail
CEDAR 2.7.7 Released: ORCID and ROR Field Support CEDAR 2.7.11 Now Live: PFAS Field Support and Embedded Editor Improvements
Scroll to top