Skip to content

add context to include in the generated data#6

Open
pchampin wants to merge 1 commit intomainfrom
json-ld-contexts
Open

add context to include in the generated data#6
pchampin wants to merge 1 commit intomainfrom
json-ld-contexts

Conversation

@pchampin
Copy link

@pchampin pchampin commented Mar 3, 2026

Those context files can be used to turn the files in w3c/groups into JSON-LD.

More precisely:

  • w3c-groups.json: each object in the array should be extended with "@context": "./contexts/group.jsonld"
  • all-repositories.json: each object in the array should be extended with "@context": "./contexts/repository.jsonld"
  • {group}/repositories.json / {group}/others.json:
    each object in the array should be extended with "@context": "../../contexts/repository.jsonld"
  • {group}/group.json: the object should be extended with "@context": "../../contexts/repository.jsonld"

(all the above assuming that the contexts folder is copied at the root of the w3c/groups repo).

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