Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

Commit

Permalink
Mark 1.1 tests with "specVersion": "1.1", which is independent of "pr…
Browse files Browse the repository at this point in the history
…ocessingMode".

Fixes #489.
  • Loading branch information
gkellogg committed Jul 10, 2017
1 parent d56f51a commit 14ac25f
Show file tree
Hide file tree
Showing 6 changed files with 163 additions and 87 deletions.
10 changes: 5 additions & 5 deletions compact-0038-out.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@
"title": {
"en": {
"@type": "site-cd:field-types/title_field",
"site-cd:node/article/title/value": "This is the English title"
"title:/value": "This is the English title"
},
"es": {
"@type": "site-cd:field-types/title_field",
"site-cd:node/article/title/value": "Este es el t’tulo espa–ol"
"title:/value": "Este es el t’tulo espa–ol"
}
},
"body": {
"en": {
"@type": "site-cd:field-types/text_with_summary",
"site-cd:node/article/body/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",
"site-cd:node/article/body/summary": "This is the teaser for the body.",
"site-cd:node/article/body/format": "full_html"
"body:/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",
"body:/summary": "This is the teaser for the body.",
"body:/format": "full_html"
}
},
"field_tags": {
Expand Down
57 changes: 57 additions & 0 deletions compact-0038a-out.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"@context": {
"site": "http://example.com/",
"site-cd": "site:site-schema/content-deployment/",
"title": {
"@id": "site-cd:node/article/title",
"@container": "@index"
},
"body": {
"@id": "site-cd:node/article/body",
"@container": "@index"
},
"field_tags": {
"@id": "site-cd:node/article/field_tags",
"@container": "@index"
}
},
"@id": "site:node/1",
"@type": "site-cd:node/article",
"title": {
"en": {
"@type": "site-cd:field-types/title_field",
"site-cd:node/article/title/value": "This is the English title"
},
"es": {
"@type": "site-cd:field-types/title_field",
"site-cd:node/article/title/value": "Este es el t’tulo espa–ol"
}
},
"body": {
"en": {
"@type": "site-cd:field-types/text_with_summary",
"site-cd:node/article/body/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",
"site-cd:node/article/body/summary": "This is the teaser for the body.",
"site-cd:node/article/body/format": "full_html"
}
},
"field_tags": {
"en": {
"@type": "site-cd:taxonomy/term",
"@id": "site:taxonomy/term/1",
"site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010"
},
"es": [
{
"@type": "site-cd:taxonomy/term",
"@id": "site:taxonomy/term/1",
"site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010"
},
{
"@type": "site-cd:taxonomy/term",
"@id": "site:taxonomy/term/2",
"site-cd:taxonomy/term/uuid": "a55b982c-58ac-4862-9b00-aa221a388010"
}
]
}
}
Loading

0 comments on commit 14ac25f

Please sign in to comment.