@@ -8,7 +8,7 @@ Feature: JSON-LD contexts generation
8
8
Then the response status code should be 200
9
9
And the response should be in JSON
10
10
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
11
- And the JSON node "@context.@vocab" should be equal to "http://example.com/doc .jsonld#"
11
+ And the JSON node "@context.@vocab" should be equal to "http://example.com/docs .jsonld#"
12
12
And the JSON node "@context.hydra" should be equal to "http://www.w3.org/ns/hydra/core#"
13
13
And the JSON node "@context.dummy.@id" should be equal to "Entrypoint/dummy"
14
14
And the JSON node "@context.dummy.@type" should be equal to "@id"
@@ -22,7 +22,7 @@ Feature: JSON-LD contexts generation
22
22
"""
23
23
{
24
24
"@context": {
25
- "@vocab": "http://example.com/doc .jsonld#",
25
+ "@vocab": "http://example.com/docs .jsonld#",
26
26
"hydra": "http://www.w3.org/ns/hydra/core#",
27
27
"description": "https://schema.org/description",
28
28
"dummy": "#Dummy/dummy",
@@ -55,14 +55,14 @@ Feature: JSON-LD contexts generation
55
55
And the JSON should be equal to:
56
56
"""
57
57
{
58
- "@context": {
59
- "@vocab": "http://example.com/doc .jsonld#",
60
- "hydra": "http://www.w3.org/ns/hydra/core#",
61
- "paris": "#RelationEmbedder/paris",
62
- "krondstadt": "#RelationEmbedder/krondstadt",
63
- "anotherRelated": "#RelationEmbedder/anotherRelated",
64
- "related": "#RelationEmbedder/related"
65
- }
58
+ "@context": {
59
+ "@vocab": "http://example.com/docs .jsonld#",
60
+ "hydra": "http://www.w3.org/ns/hydra/core#",
61
+ "paris": "#RelationEmbedder/paris",
62
+ "krondstadt": "#RelationEmbedder/krondstadt",
63
+ "anotherRelated": "#RelationEmbedder/anotherRelated",
64
+ "related": "#RelationEmbedder/related"
65
+ }
66
66
}
67
67
"""
68
68
@@ -75,10 +75,10 @@ Feature: JSON-LD contexts generation
75
75
"""
76
76
{
77
77
"@context": {
78
- "@vocab": "http:\/\ /example.com\/doc .jsonld#",
79
- "hydra": "http:\/\ /www.w3.org\ /ns\ /hydra\ /core#",
78
+ "@vocab": "http:/ /example.com/docs .jsonld#",
79
+ "hydra": "http:/ /www.w3.org/ns/hydra/core#",
80
80
"person": {
81
- "@id": "http:\/\ /example.com\ /id",
81
+ "@id": "http:/ /example.com/id",
82
82
"@type": "@id",
83
83
"foo": "bar"
84
84
}
0 commit comments