Skip to content

Commit

Permalink
Update message example to use CO instead of OLO
Browse files Browse the repository at this point in the history
This is the minimal set of changes needed to confirm conformace with the
current state of UCO Issue 393's implementation.

A follow-on patch will add list ordering.

No effects were observed on Make-managed files.

References:
* ucoProject/UCO#393

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Jun 30, 2022
1 parent 19a4a4d commit aa4a980
Showing 1 changed file with 22 additions and 15 deletions.
37 changes: 22 additions & 15 deletions examples/illustrations/message/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"@vocab": "http://example.org/local#",
"kb": "http://example.org/kb/",
"draft": "http://example.org/draft#",
"olo": "http://purl.org/ontology/olo/core#",
"co": "http://purl.org/co/",
"uco-core": "https://ontology.unifiedcyberontology.org/uco/core/",
"uco-identity": "https://ontology.unifiedcyberontology.org/uco/identity/",
"uco-location": "https://ontology.unifiedcyberontology.org/uco/location/",
"uco-observable": "https://ontology.unifiedcyberontology.org/uco/observable/",
"uco-types": "https://ontology.unifiedcyberontology.org/uco/types/",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@graph": [
Expand Down Expand Up @@ -166,24 +167,28 @@
}
],
"draft:visibility": "PRIVATE",
"messages": {
"olo:length": 3,
"olo:slot": [
"uco-observable:messageThread": {
"@type": "uco-types:Thread",
"co:size": 3,
"co:item": [
{
"olo:index": 1,
"olo:item": {
"@type": "uco-types:ThreadItem",
"co:index": 1,
"co:itemContent": {
"@id": "kb:message1"
}
},
{
"olo:index": 2,
"olo:item": {
"@type": "uco-types:ThreadItem",
"co:index": 2,
"co:itemContent": {
"@id": "kb:message2"
}
},
{
"olo:index": 3,
"olo:item": {
"@type": "uco-types:ThreadItem",
"co:index": 3,
"co:itemContent": {
"@id": "kb:message3"
}
}
Expand Down Expand Up @@ -214,12 +219,14 @@
}
],
"draft:visibility": "PUBLIC",
"messages": {
"olo:length": 1,
"olo:slot": [
"uco-observable:messageThread": {
"@type": "uco-types:Thread",
"co:size": 1,
"co:item": [
{
"olo:index": 1,
"olo:item": {
"@type": "uco-types:ThreadItem",
"co:index": 1,
"co:itemContent": {
"@id": "kb:post1"
}
}
Expand Down

0 comments on commit aa4a980

Please sign in to comment.