Skip to content

example 67 uses not best practice of node embedded context #250

Closed
@azaroth42

Description

@azaroth42

And instead I think we would now recommend to use a scoped context, no?

{
  "@context": {
    ...
    "@language": "ja"
  },
  "name": "花澄",
  "details": {
    "@context": {
      "@language": null
    },
    "occupation": "Ninja"
  }
}

Would become

{
  "@context": {
    ...
    "details": {
      "@context": {
        "@language": null
      }
    },
    "@language": "ja"
  },
  "name": "花澄",
  "details": {
    "occupation": "Ninja"
  }
}

This pattern should at least be demonstrated, even if 67 isn't changed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions