diff --git a/src/claim.rs b/src/claim.rs index 074cdb4..aa9ca17 100644 --- a/src/claim.rs +++ b/src/claim.rs @@ -26,6 +26,10 @@ pub struct Claim { pub result: Response, /// A ulid to track the revision pub revision: String, + /// A canonical reference to the bundle used in the last action. + /// This bundle SHOULD use a SHA to identify the specific version of the referenced bundle. + pub bundle_reference: Option, + } /// Response represents the result of a CNAB operation, as described in a Claim. @@ -60,6 +64,7 @@ mod test { } } }, + "bundleReference": "hub.example.com/my/bundle@sha256:eeeeeeeee...", "created": "2018-08-30T20:39:55.549002887-06:00", "modified": "2018-08-30T20:39:55.549002887-06:00", "result": {