Skip to content

Finalize OO-LD meta-schema hosting + align $id and example/spec references #67

Description

@simontaurus

Follow-up from #66 (examples now declare the OO-LD meta-schema as their $schema instead of plain JSON Schema 2020-12).

Open items:

  • Meta-schema is not served at a resolvable URL. meta/oold-meta-schema.json is not part of the zensical/Pages build (meta/ is not under docs/), so its $id (https://oo-ld.github.io/schema/meta/oold-meta-schema.json) - now referenced by every example's $schema - returns 404. Decide the canonical hosting (deploy meta/ to Pages, or serve via raw) and make the $id resolvable.
  • $id uses the old repo name. It says .../schema/meta/... while the repo/Pages is oold-schema (https://oo-ld.github.io/oold-schema/). Align the $id (and the $vocabulary URI) to the canonical name, and update the examples' $schema to match.
  • Spec recommendation text (spec/sections/09-extensions.md, JSON Schema section) still recommends "$schema": "https://json-schema.org/draft/2020-12/schema"; update it to recommend the OO-LD dialect meta-schema (which itself extends 2020-12).
  • oold-tutorial example schemas still declare 2020-12; point them at the OO-LD meta-schema too.

Note: scripts/validate.mjs validates examples against the local meta-schema file, so validation is unaffected by the unresolved URL - this is about correctness of the published references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions