@@ -3311,7 +3311,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3311
3311
< a > processing mode</ a > set to < code > json-ld-1.1</ code > .</ p >
3312
3312
</ section >
3313
3313
3314
- < section class ="informative changed "> < h2 > Sealed Term Definitions</ h2 >
3314
+ < section class ="informative changed "> < h2 > Protected Term Definitions</ h2 >
3315
3315
< p > JSON-LD is used in many specifications as the specified data format.
3316
3316
However, there is also a desire to allow some JSON-LD contents to be processed as plain JSON,
3317
3317
without using any of the JSON-LD algorithms.
@@ -3322,15 +3322,15 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3322
3322
On the other hand, "plain JSON" implementations may not be able to interpret these embedded contexts,
3323
3323
and hence will still interpret those terms with their original meaning.
3324
3324
To prevent this divergence of interpretation,
3325
- JSON-LD 1.1 allows term definitions to be < em > sealed </ em > .
3325
+ JSON-LD 1.1 allows term definitions to be < em > protected </ em > .
3326
3326
</ p >
3327
- < p > A < dfn > sealed term definition</ dfn > is a term definition with a member < code > @sealed </ code > set to < code > true</ code > .
3327
+ < p > A < dfn > protected term definition</ dfn > is a term definition with a member < code > @protected </ code > set to < code > true</ code > .
3328
3328
It prevents further contexts to override this term definition.
3329
3329
</ p >
3330
3330
3331
3331
3332
3332
< aside class ="example ds-selector-tabs changed "
3333
- title ="A sealed term definition can not be overridden ">
3333
+ title ="A protected term definition can not be overridden ">
3334
3334
< div class ="selectors ">
3335
3335
< button class ="selected " data-selects ="original "> Original</ button >
3336
3336
< button data-selects ="expanded "> Expanded</ button >
@@ -3348,7 +3348,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3348
3348
"knows": "http://schema.org/knows",
3349
3349
"name": {
3350
3350
"@id": "http://schema.org/name",
3351
- ****"@sealed ": true****
3351
+ ****"@protected ": true****
3352
3352
}
3353
3353
},
3354
3354
{
@@ -3368,7 +3368,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3368
3368
</ pre >
3369
3369
< pre class ="expanded nohighlight "
3370
3370
data-transform ="updateExample "
3371
- data-result-for ="A sealed term definition can not be overridden-original ">
3371
+ data-result-for ="A protected term definition can not be overridden-original ">
3372
3372
<!--
3373
3373
[{
3374
3374
"@type": ["http://schema.org/Person"],
@@ -3380,7 +3380,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3380
3380
-->
3381
3381
</ pre >
3382
3382
< table class ="statements "
3383
- data-result-for ="A sealed term definition can not be overridden-expanded "
3383
+ data-result-for ="A protected term definition can not be overridden-expanded "
3384
3384
data-to-rdf >
3385
3385
< thead > < tr > < th > Subject</ th > < th > Property</ th > < th > Value</ th > </ tr > </ thead >
3386
3386
< tbody >
@@ -3392,7 +3392,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3392
3392
</ table >
3393
3393
< pre class ="turtle "
3394
3394
data-content-type ="text/turtle "
3395
- data-result-for ="A sealed term definition can not be overridden-expanded "
3395
+ data-result-for ="A protected term definition can not be overridden-expanded "
3396
3396
data-transform ="updateExample "
3397
3397
data-to-rdf >
3398
3398
<!--
@@ -3409,16 +3409,16 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3409
3409
</ pre >
3410
3410
</ aside >
3411
3411
3412
- < p > When all or most term definitions of a context need to be sealed ,
3413
- it is possible to add a member < code > @sealed </ code > set to < code > true</ code >
3412
+ < p > When all or most term definitions of a context need to be protected ,
3413
+ it is possible to add a member < code > @protected </ code > set to < code > true</ code >
3414
3414
to the context itself.
3415
- It has the same effect as sealing each of its term definitions individually.
3416
- Exceptions can be made by adding a member < code > @sealed </ code > set to < code > false</ code >
3415
+ It has the same effect as protecting each of its term definitions individually.
3416
+ Exceptions can be made by adding a member < code > @protected </ code > set to < code > false</ code >
3417
3417
in some term definitions.
3418
3418
</ p >
3419
3419
3420
3420
< aside class ="example ds-selector-tabs changed "
3421
- title ="A sealed @context with an exception ">
3421
+ title ="A protected @context with an exception ">
3422
3422
< div class ="selectors ">
3423
3423
< button class ="selected " data-selects ="original "> Original</ button >
3424
3424
< button data-selects ="expanded "> Expanded</ button >
@@ -3432,12 +3432,12 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3432
3432
"@context": [
3433
3433
{
3434
3434
****"@version": 1.1****,
3435
- ****"@sealed ": true****,
3435
+ ****"@protected ": true****,
3436
3436
"name": "http://schema.org/name",
3437
3437
"member": "http://schema.org/member",
3438
3438
"Person": {
3439
3439
"@id": "http://schema.org/Person",
3440
- ****"@sealed ": false****
3440
+ ****"@protected ": false****
3441
3441
}
3442
3442
}
3443
3443
],
@@ -3455,7 +3455,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3455
3455
</ pre >
3456
3456
< pre class ="expanded nohighlight "
3457
3457
data-transform ="updateExample "
3458
- data-result-for ="A sealed @context with an exception-original ">
3458
+ data-result-for ="A protected @context with an exception-original ">
3459
3459
<!--
3460
3460
[{
3461
3461
"http://schema.org/name": [{"@value": "Digital Bazaar"}],
@@ -3469,7 +3469,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3469
3469
-->
3470
3470
</ pre >
3471
3471
< table class ="statements "
3472
- data-result-for ="A sealed @context with an exception-expanded "
3472
+ data-result-for ="A protected @context with an exception-expanded "
3473
3473
data-to-rdf >
3474
3474
< thead > < tr > < th > Subject</ th > < th > Property</ th > < th > Value</ th > </ tr > </ thead >
3475
3475
< tbody >
@@ -3481,7 +3481,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3481
3481
</ table >
3482
3482
< pre class ="turtle "
3483
3483
data-content-type ="text/turtle "
3484
- data-result-for ="A sealed @context with an exception-expanded "
3484
+ data-result-for ="A protected @context with an exception-expanded "
3485
3485
data-transform ="updateExample "
3486
3486
data-to-rdf >
3487
3487
<!--
@@ -3499,14 +3499,14 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3499
3499
</ pre >
3500
3500
</ aside >
3501
3501
3502
- < p > While sealed term definitions can not be directly overridden,
3502
+ < p > While protected term definitions can not be directly overridden,
3503
3503
it is worth noting that setting < code > @context</ code > to < code > null</ code >
3504
3504
will erase everything from the active context,
3505
- < em > including</ em > sealed term definitions.
3505
+ < em > including</ em > protected term definitions.
3506
3506
</ p >
3507
3507
3508
3508
< aside class ="example ds-selector-tabs changed "
3509
- title ="@context null erases sealed term definitions ">
3509
+ title ="@context null erases protected term definitions ">
3510
3510
< div class ="selectors ">
3511
3511
< button class ="selected " data-selects ="original "> Original</ button >
3512
3512
< button data-selects ="expanded "> Expanded</ button >
@@ -3520,7 +3520,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3520
3520
"@context": [
3521
3521
{
3522
3522
****"@version": 1.1****,
3523
- ****"@sealed ": true****,
3523
+ ****"@protected ": true****,
3524
3524
"Organization": "http://schema.org/Organization",
3525
3525
"name": "http://schema.org/name",
3526
3526
"employee": {
@@ -3545,7 +3545,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3545
3545
</ pre >
3546
3546
< pre class ="expanded nohighlight "
3547
3547
data-transform ="updateExample "
3548
- data-result-for ="@context null erases sealed term definitions-original ">
3548
+ data-result-for ="@context null erases protected term definitions-original ">
3549
3549
<!--
3550
3550
[{
3551
3551
"@type": ["http://schema.org/Organization"],
@@ -3559,7 +3559,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3559
3559
-->
3560
3560
</ pre >
3561
3561
< table class ="statements "
3562
- data-result-for ="@context null erases sealed term definitions-expanded "
3562
+ data-result-for ="@context null erases protected term definitions-expanded "
3563
3563
data-to-rdf >
3564
3564
< thead > < tr > < th > Subject</ th > < th > Property</ th > < th > Value</ th > </ tr > </ thead >
3565
3565
< tbody >
@@ -3571,7 +3571,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3571
3571
</ table >
3572
3572
< pre class ="turtle "
3573
3573
data-content-type ="text/turtle "
3574
- data-result-for ="@context null erases sealed term definitions-expanded "
3574
+ data-result-for ="@context null erases protected term definitions-expanded "
3575
3575
data-transform ="updateExample "
3576
3576
data-to-rdf >
3577
3577
<!--
@@ -3589,14 +3589,14 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
3589
3589
</ pre >
3590
3590
</ aside >
3591
3591
< p class ="note "> By preventing terms from being overridden,
3592
- sealing also prevents any adaptation of a term
3592
+ protection also prevents any adaptation of a term
3593
3593
(e.g., defining a more precise datatype, restricting the term's use to lists, etc.).
3594
3594
This kind of adaptation is frequent with some general purpose contexts,
3595
- for which sealing would therefore hinder their usability.
3595
+ for which protection would therefore hinder their usability.
3596
3596
As a consequence, context publishers should use this feature with care.
3597
3597
</ p >
3598
3598
3599
- < p class ="note "> Sealed term definitions are a new feature in JSON-LD 1.1, requiring
3599
+ < p class ="note "> Protected term definitions are a new feature in JSON-LD 1.1, requiring
3600
3600
< a > processing mode</ a > set to < code > json-ld-1.1</ code > .</ p >
3601
3601
</ section >
3602
3602
</ section >
0 commit comments