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 <bjp@apple.com>
  • Loading branch information
benjamin-j-powell committed Feb 12, 2024
1 parent 5cd3241 commit 869264b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
7 changes: 1 addition & 6 deletions links.md
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ Relation links are used to add some context to certain events
"link_kind": "ARTIFACT",
"timestamp": "2023-03-20T14:27:05.315384Z",
"source": {
"subject_id": "5668c352-dd9d-4dee-b334-384e4661d21b"
"context_id": "5668c352-dd9d-4dee-b334-384e4661d21b"
},
"target": {
"context_id": "3579a5aa-ef46-4ee8-95db-0540298835de"
Expand All @@ -598,11 +598,6 @@ Relation links are used to add some context to certain events
}
}
```

The `source` field allows for either providing the either the `subject_id` or
the `context_id`. This allows for relation of different ID types provided by
CDEvents while also being explicit in what the `id` is.

### Scalability

Scalability is one of the bigger goals in this proposal and we wanted to ensure
Expand Down
4 changes: 0 additions & 4 deletions schemas/links/embeddedlinkrelation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
"context_id": {
"type": "string",
"minLength": 1
},
"subject_id": {
"type": "string",
"minLength": 1
}
}
},
Expand Down
4 changes: 0 additions & 4 deletions schemas/links/linkrelation.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
"description": "",
"type": "object",
"properties": {
"subject_id": {
"type": "string",
"minLength": 1
},
"context_id": {
"type": "string",
"minLength": 1
Expand Down

0 comments on commit 869264b

Please sign in to comment.