Skip to content

Commit

Permalink
fixup! Update links.md
Browse files Browse the repository at this point in the history
Signed-off-by: benjamin-j-powell <[email protected]>
  • Loading branch information
benjamin-j-powell committed Jan 15, 2024
1 parent 862d6e9 commit c081c53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
8 changes: 4 additions & 4 deletions links.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ While links can be sent separately, links can also be embedded in the CDEvent
context as an optional field. Embedded links look similar to separate links
except `START` links are not needed since we can infer when a chain has started
based on the context of the event. This leaves only three types of links that
may be embedded, `PATH`, `RELATION` and `END`. While `END` could be also inferred it
may is not as simple especially if there are gaps or islands. Having an event
specifically say it is the `END` of a chain will allow for UIs or systems to
act accordingly based off the ending notation.
may be embedded, `PATH`, `RELATION` and `END`. While `END` might be possible to
infer, it may not be as simple especially if there are gaps or islands. Having
an event specifically say it is the `END` of a chain will allow for UIs or
systems to act accordingly based off the ending notation.

```json
{
Expand Down
7 changes: 1 addition & 6 deletions schemas/links/embeddedlinkend.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
"END"
]
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"from": {
"description": "When consuming a CDEvent, you are consuming a parent event. So, when looking at the 'from' key, this is the parent's parent.",
"type": "object",
Expand All @@ -29,8 +25,7 @@
"additionalProperties": false,
"type": "object",
"required": [
"link_type",
"timestamp"
"link_type"
]
}

0 comments on commit c081c53

Please sign in to comment.