Skip to content

Align example schemas with the OO-LD meta-schema; fix spec links#11

Open
simontaurus wants to merge 1 commit into
mainfrom
docs/align-meta-schema-refs
Open

Align example schemas with the OO-LD meta-schema; fix spec links#11
simontaurus wants to merge 1 commit into
mainfrom
docs/align-meta-schema-refs

Conversation

@simontaurus

Copy link
Copy Markdown
Contributor

Part of OO-LD/oold-schema#67 (align $id and spec/tutorial references).

  • The example schemas now declare the OO-LD dialect meta-schema as $schema (.../latest/meta/oold-meta-schema.json), matching the spec's $schema recommendation. Instance documents keep the schema-URL convention ($schema/@context -> the schema file) unchanged.
  • The two prose deep-links to the OO-LD spec pointed at the old README anchors (github.com/OO-LD/schema#...); that README is now a stub, so they now point at the published spec (oo-ld.github.io/oold-schema/latest/spec/#schema-instances, #composition).

Verified the full tutorial still works with these changes: check-json-schema-meta passes for both john-doe.json and jane-smith.json, and rdfpipe produces the exact Turtle documented in the README.

The tutorial keeps its own minimal, self-contained examples on purpose (progressive teaching + offline check-json-schema-meta/rdfpipe from examples/); it does not reuse the spec repo's full-surface showcase schemas.

…blished site

Declare the OO-LD dialect meta-schema as $schema in the example schemas
(Person, Address, PersonWithAddress), matching the spec's recommendation.
Update the two spec deep-links from the old README anchors (now a stub) to
the published spec at oo-ld.github.io/oold-schema/latest/spec/.
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