Skip to content

Commit

Permalink
[Fix] JSON-LD representation of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Sep 30, 2021
1 parent 4651459 commit ca00212
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions test/rendering/form1.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"@type" : "@id",
"@id" : "http://onto.fel.cvut.cz/ontologies/documentation/has_answer"
},
"has-comment" : {
"@id" : "http://onto.fel.cvut.cz/ontologies/form/has-comment"
},
"has-timestamp" : {
"@id" : "http://onto.fel.cvut.cz/ontologies/form/has-timestamp"
},
"has-origin-type" : {
"@id" : "http://onto.fel.cvut.cz/ontologies/form/has-origin-type",
"@type" : "@id"
Expand Down Expand Up @@ -66,7 +72,11 @@
"@id" : "http://www.w3.org/2001/XMLSchema#minInclusive"
},
"has-author" : {
"@id" : "http://onto.fel.cvut.cz/ontologies/documentation/has-author",
"@id" : "http://onto.fel.cvut.cz/ontologies/form/has-author",
"@type" : "@id"
},
"has-comment-value" : {
"@id" : "http://onto.fel.cvut.cz/ontologies/form/has-comment-value",
"@type" : "@id"
},
"has-unit" : {
Expand Down Expand Up @@ -494,7 +504,21 @@
"@id" : "aircraft-name-9553",
"has-layout-class" : "text",
"@type" : "doc:question",
"has_related_question" : []
"has_related_question" : [],
"has-comment" : [
{
"@type" : "form:comment",
"has-comment-value" : "Some comment",
"has-author" : "http://fel.cvut.cz/people/maxchopart",
"has-timestamp" : "151652672357"
},
{
"@type" : "form:comment",
"has-comment-value" : "Another comment",
"has-author" : "Miroslav Blasko",
"has-timestamp" : "763763782"
}
]
},
{
"@id" : "aircraft-number-2375",
Expand Down

0 comments on commit ca00212

Please sign in to comment.