diff --git a/spec/latest/json-ld-api/index.html b/spec/latest/json-ld-api/index.html index ff8c79275..23cf9f867 100644 --- a/spec/latest/json-ld-api/index.html +++ b/spec/latest/json-ld-api/index.html @@ -789,41 +789,41 @@

Context

  • Merge the of local context into the active context.
  • - - -
  • If value is a JSON object, perform the following steps: -
      -
    1. If value has a @language key, it MUST have a value of a - simple string or null. Add the language to the local context.
    2. -
    3. Otherwise, for each key in value having the lexical form of NCName (see [[XML-NAMES]]), - or is an empty string, +
    4. If value is a JSON object, perform the following steps:
        -
      1. If the key's value is a simple string, the value MUST have the form of - term, prefix:suffix, absolute IRI. Determine the IRI mapping value by - performing IRI Expansion on the associated value. If the result of the IRI - mapping is an absolute IRI, merge the key-value pair into the local context - term mapping.
      2. -
      3. Otherwise, the key's value MUST be a JSON object. +
      4. If value has a @language key, it MUST have a value of a + simple string or null. Add the language to the local context.
      5. +
      6. Otherwise, for each key in value having the lexical form of NCName (see [[XML-NAMES]]), + or is an empty string,
          -
        1. The value MUST have a @id key with a string value, the value MUST have the - form of term, prefix:suffix, absolute IRI. Determine the IRI mapping value - by performing IRI Expansion on the associated value. If the result of - the IRI mapping is an absolute IRI, merge the key-value pair into the local context +
        2. If the key's value is a simple string, the value MUST have the form of + term, prefix:suffix, absolute IRI. Determine the IRI mapping value by + performing IRI Expansion on the associated value. If the result of the IRI + mapping is an absolute IRI, merge the key-value pair into the local context term mapping.
        3. -
        4. If the value has a @type key, the value MUST have the form of term, - prefix:suffix, absolute IRI or the keyword @id. Determine the IRI by - performing IRI Expansion on the associated value. If the result of the - IRI mapping is an absolute IRI or @id, merge into the local context - coercion mapping.
        5. -
        6. If the value has a @list key, the value MUST be - true or false. Merge into the local context list - mapping.
        7. +
        8. Otherwise, the key's value MUST be a JSON object. +
            +
          1. The value MUST have a @id key with a string value, the value MUST have the + form of term, prefix:suffix, absolute IRI. Determine the IRI mapping value + by performing IRI Expansion on the associated value. If the result of + the IRI mapping is an absolute IRI, merge the key-value pair into the local context + term mapping.
          2. +
          3. If the value has a @type key, the value MUST have the form of term, + prefix:suffix, absolute IRI or the keyword @id. Determine the IRI by + performing IRI Expansion on the associated value. If the result of the + IRI mapping is an absolute IRI or @id, merge into the local context + coercion mapping.
          4. +
          5. If the value has a @list key, the value MUST be + true or false. Merge into the local context list + mapping.
          6. +
          +
        9. +
        10. Merge the local context into the active context.
        11. +
        12. Repeat Step 3.2 until no entries are added to the local + context.
      7. -
      8. Merge the local context into the active context.
      9. -
      10. Repeat Step 3.2 until no entries are added to the local - context.