Skip to content

Version 3.1.0

Choose a tag to compare

@NukP NukP released this 07 Feb 22:00
· 34 commits to main since this release

Release Notes — v3.1.0

This version introduces a dedicated override for schema:manufacturer to ensure manufacturer data is displayed correctly, rather than falling back to generic comment handling. The goal is to preserve semantic structure for manufacturers while keeping the optional ID behavior tied to @Classes.

What’s New

  • schema:manufacturer now always renders as a schema:Organization with schema:name populated directly from the @Schema value.
  • @id is included only when the value is listed in @Classes with a non-empty ID. If not found, @id is omitted.
  • This override takes precedence over generic handling for all rows whose ontology link ends with schema:manufacturer.

Rendered Structure

"schema:manufacturer": {
  "@type": "schema:Organization",
  "@id": "UNIQUE_ID_IF_FOUND",
  "schema:name": "MANUFACTURER_NAME"
}

If no matching ID exists in @Classes, the output becomes:

"schema:manufacturer": {
  "@type": "schema:Organization",
  "schema:name": "MANUFACTURER_NAME"
}