Skip to content

Commit

Permalink
update: Add links format to new events
Browse files Browse the repository at this point in the history
This commit adds the chain_id and links field to the context of the
artifactdeleted and artifactdownloaded event

Signed-off-by: benjamin-j-powell <bjp@apple.com>
  • Loading branch information
benjamin-j-powell committed Feb 12, 2024
1 parent 20c7824 commit c2b9f37
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion schemas/artifactdeleted.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
},
"links": {
"$ref": "links/embeddedlinksarray.json"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -98,4 +105,4 @@
"context",
"subject"
]
}
}
9 changes: 8 additions & 1 deletion schemas/artifactdownloaded.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
"timestamp": {
"type": "string",
"format": "date-time"
},
"chain_id": {
"type": "string",
"minLength": 1
},
"links": {
"$ref": "links/embeddedlinksarray.json"
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -98,4 +105,4 @@
"context",
"subject"
]
}
}

0 comments on commit c2b9f37

Please sign in to comment.