Skip to content

Do depict something in "anyOf" pointing to other schemas #64

Description

@yarikoptic

E.g. in the example https://fairsharing.github.io/JSONschema-documenter/index.html?schema_url=https://w3id.org/dats/schema/study_schema.json&context_mapping_url=schemas/dats_mapping.json# which has

Image

we see only blue boxes with the same URL with the same empty fragment (iirc correctly terminology -- the #)

https://fairsharing.github.io/JSONschema-documenter/index.html?schema_url=https://w3id.org/dats/schema/study_schema.json&context_mapping_url=schemas/dats_mapping.json#

Image

I guess, ideally links should lead to rendering of corresponding schemas while composing URL correctly to be e.g.

https://fairsharing.github.io/JSONschema-documenter/index.html?schema_url=https://w3id.org/dats/schema/person_schema.json&context_mapping_url=schemas/dats_mapping.json#

and either use the title from them ( DATS person schema) or at least the schema file name (person_schema, extension could be dropped).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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