Delivery to OpenAPI, MCP and LLM tooling (x-jsonld-* derivation) - #50
Merged
Conversation
…bundles; @context grounds MCP tool-use)
Closed
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes #42 (gap analysis #18, finding C3; prefixing already landed in #44): the
@context-> REST-API-LDx-jsonld-*derivation and the tiered delivery model.New "Delivery to OpenAPI, MCP and LLM tooling" subsection under Usecases.
@contextin output. WithadditionalProperties: false,@contextstays schema-level metadata.@contextis carried through and used as grounding - no relocation needed. Confirmed by a real MCP JSON-RPC roundtrip: a server advertised a tool whoseinputSchemahad two opaque propertiesa/bmapped via@contexttoschema:familyName/schema:givenName; the client received the@contextintact overtools/list, and the model filled{a: "Mustermann", b: "Max"}(by IRI, not surface order). MCP'sinputSchema/outputSchema(2025-06-18) impose no keyword restrictions.@contextas-is; 3.0 forbids unprefixed keywords and, when bundling several classes undercomponents/schemas, has no document root for one@context. Both solved by REST-API-LD's per-Schema-Objectx-jsonld-context/x-jsonld-type. OO-LD maps@context->x-jsonld-contextandx-oold-instance-rdf-type->x-jsonld-typeper class.title/description.Summary table + TOC entry added. No example changes; 5/5 pass CI.