@@ -2752,43 +2752,44 @@ <h3>Node Object</h3>
2752
2752
2753
2753
< ul >
2754
2754
< li > it does not contain the < code > @value</ code > , < code > @list</ code > ,
2755
- or < code > @set</ code > keywords, or </ li >
2755
+ or < code > @set</ code > keywords, and </ li >
2756
2756
< li > it does not contain the < code > @graph</ code > keyword and is
2757
2757
the top-most < tref > JSON object</ tref > in the JSON-LD document.
2758
2758
</ ul >
2759
2759
2760
2760
< p > The < tref title ="property "> properties</ tref > of a < tref > node</ tref > in
2761
- the < tref > JSON-LD graph</ tref > may be spread among different
2761
+ a < tref > JSON-LD graph</ tref > may be spread among different
2762
2762
< tref title ="node object "> node objects</ tref > within a document. When
2763
2763
that happens, the keys of the different
2764
2764
< tref title ="node object "> node objects</ tref > are merged to create the
2765
2765
properties of the resulting < tref > node</ tref > .</ p >
2766
2766
2767
- < p > A < tref > node object</ tref > MUST be a < tref > JSON object</ tref > that contains
2768
- one or more key-value pairs. All keys which are not < tref title ="IRI "> IRIs</ tref > ,
2767
+ < p > A < tref > node object</ tref > MUST be a < tref > JSON object</ tref > . All keys
2768
+ which are not < tref title ="IRI "> IRIs</ tref > ,
2769
2769
< tref title ="compact IRI "> compact IRIs</ tref > , < tref title ="term "> terms</ tref >
2770
2770
valid in the < tref > active context</ tref > , or one of the following
2771
2771
< tref title ="keyword "> keywords</ tref > MUST be ignored when processed:</ p >
2772
2772
2773
2773
< ul >
2774
2774
< li > < code > @context</ code > ,</ li >
2775
2775
< li > < code > @graph</ code > ,</ li >
2776
- < li > < code > @id</ code > , or</ li >
2777
- < li > < code > @type</ code > </ li >
2776
+ < li > < code > @id</ code > ,</ li >
2777
+ < li > < code > @type</ code > , or</ li >
2778
+ < li > < code > @annotation</ code > </ li >
2778
2779
</ ul >
2779
2780
2780
2781
< p > If the < tref > node object</ tref > contains the < code > @context</ code >
2781
2782
key, its value MUST be one of the following:</ p >
2782
2783
< ul >
2784
+ < li > < tref > null</ tref > ,</ li >
2783
2785
< li > an < tref > IRI</ tref > ,</ li >
2784
2786
< li > a < tref > context definition</ tref > , or</ li >
2785
2787
< li > an < tref > array</ tref > composed of any number of the previous two expressions.</ li >
2786
2788
</ ul >
2787
2789
2788
2790
< p > If the < tref > node object</ tref > contains the < code > @id</ code > key,
2789
- its value MUST be
2790
- an < tref > IRI</ tref > ,
2791
- a < tref > compact IRI</ tref > (including < tref title ="blank node identifier "> blank node identifiers</ tref > ), or
2791
+ its value MUST be an < tref > IRI</ tref > , a < tref > compact IRI</ tref >
2792
+ (including < tref title ="blank node identifier "> blank node identifiers</ tref > ), or
2792
2793
a < tref > term</ tref > defined in the < tref > active context</ tref > expanding
2793
2794
into an < tref > IRI</ tref > or a < tref > blank node identifier</ tref > .
2794
2795
See < a href ="#node-identifiers "> </ a > , < a href ="#compact-iris "> </ a > ,
@@ -2811,17 +2812,21 @@ <h3>Node Object</h3>
2811
2812
If the < tref > node object</ tref > contains an < code > @id</ code > keyword,
2812
2813
its value is used as the label of a named graph.
2813
2814
See < a href ="#named-graphs "> </ a > for further discussion on
2814
- < code > @graph</ code > values.</ p >
2815
-
2816
- < p class ="note "> As a special case, if a < tref > JSON object</ tref > contains no
2817
- keys other than < code > @graph</ code > and < code > @context</ code > , and the
2815
+ < code > @graph</ code > values. As a special case, if a < tref > JSON object</ tref >
2816
+ contains no keys other than < code > @graph</ code > and < code > @context</ code > , and the
2818
2817
< tref > JSON object</ tref > is the root of the JSON-LD document, the
2819
2818
< tref > JSON object</ tref > is not treated as a < tref > node object</ tref > ; this
2820
2819
is used as a way of defining < tref title ="node object "> node
2821
2820
definitions</ tref > that may not form a connected graph. This allows a
2822
2821
< tref > context</ tref > to be defined which is shared by all of the constituent
2823
2822
< tref title ="node object "> node objects</ tref > .</ p >
2824
2823
2824
+ < p > If the < tref > node object</ tref > contains the < code > @annotation</ code > key,
2825
+ its value MUST be a < tref > string</ tref > . See section
2826
+ < a href ="#data-annotations "> </ a > for further discussion on < code > @annotation</ code >
2827
+ values.</ p >
2828
+
2829
+
2825
2830
< p > Keys in a < tref > node object</ tref > that are not
2826
2831
< tref title ="keyword "> keywords</ tref > MUST expand to an < tref > absolute IRI</ tref >
2827
2832
using the < tref > active context</ tref > . The values associated with these keys
0 commit comments