From 869264b617ff548f6ad613b116d7230723be445e Mon Sep 17 00:00:00 2001 From: benjamin-j-powell Date: Mon, 12 Feb 2024 09:48:55 -0600 Subject: [PATCH] fixup! Update links.md Signed-off-by: benjamin-j-powell --- links.md | 7 +------ schemas/links/embeddedlinkrelation.json | 4 ---- schemas/links/linkrelation.json | 4 ---- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/links.md b/links.md index b3bc67a9..2fc188f7 100644 --- a/links.md +++ b/links.md @@ -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" @@ -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 diff --git a/schemas/links/embeddedlinkrelation.json b/schemas/links/embeddedlinkrelation.json index db644cf4..ae811137 100644 --- a/schemas/links/embeddedlinkrelation.json +++ b/schemas/links/embeddedlinkrelation.json @@ -16,10 +16,6 @@ "context_id": { "type": "string", "minLength": 1 - }, - "subject_id": { - "type": "string", - "minLength": 1 } } }, diff --git a/schemas/links/linkrelation.json b/schemas/links/linkrelation.json index bca5be36..256eb69f 100644 --- a/schemas/links/linkrelation.json +++ b/schemas/links/linkrelation.json @@ -22,10 +22,6 @@ "description": "", "type": "object", "properties": { - "subject_id": { - "type": "string", - "minLength": 1 - }, "context_id": { "type": "string", "minLength": 1