Skip to content

Commit

Permalink
Supplement observable:message with co:element
Browse files Browse the repository at this point in the history
`observable:message` will be deleted in UCO 0.10.0.  This patch prepares
its unordered replacement property, `co:element`.

A follow-on patch will regenerate Make-managed files.

References:
ucoProject/UCO#393

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Jul 22, 2022
1 parent 039fa8f commit d073078
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions examples/illustrations/message/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@
"@type": "uco-observable:MessageThreadFacet",
"identifier": "[email protected]",
"uco-observable:displayName": "Best Friend Chat!!",
"draft:visibility": "PRIVATE",
"rdfs:comment": "TODO: On release of UCO 0.10.0, remove uco-observable:message.",
"uco-observable:message": [
{
"@id": "kb:message1"
Expand All @@ -166,10 +168,20 @@
"@id": "kb:message3"
}
],
"draft:visibility": "PRIVATE",
"uco-observable:messageThread": {
"@type": "uco-types:Thread",
"co:size": 3,
"co:element": [
{
"@id": "kb:message1"
},
{
"@id": "kb:message2"
},
{
"@id": "kb:message3"
}
],
"co:item": [
{
"@id": "kb:thread-item-32450b5a-bb4d-4c12-9435-ab00b25aa7b8",
Expand Down Expand Up @@ -222,15 +234,17 @@
"@type": "uco-observable:MessageThreadFacet",
"identifier": "twitter_public",
"uco-observable:displayName": "Argle-bargle",
"uco-observable:message": [
{
"@id": "kb:post1"
}
],
"draft:visibility": "PUBLIC",
"rdfs:comment": "TODO: On release of UCO 0.10.0, remove uco-observable:message.",
"uco-observable:message": {
"@id": "kb:post1"
},
"uco-observable:messageThread": {
"@type": "uco-types:Thread",
"co:size": 1,
"co:element": {
"@id": "kb:post1"
},
"co:item": [
{
"@type": "uco-types:ThreadItem",
Expand Down

0 comments on commit d073078

Please sign in to comment.