Skip to content

Commit

Permalink
Merge pull request #7 from veraison/json-friendly-tsm-report
Browse files Browse the repository at this point in the history
fix: make tsm-report JSON-friendly
  • Loading branch information
thomas-fossati authored Oct 6, 2024
2 parents b415b8b + 4712983 commit b43d2ca
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions docs/tsm-report.cddl
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
tsm-report = {
? "auxblob": bstr
"outblob": bstr
"provider": bstr
? auxblob: binary-string
outblob: binary-string
provider: tstr
? service-report
}
service-report //= ("manifestblob": bstr, "service_provider": bstr)
service-report //= ("service_provider": bstr)

service-report = ((
manifestblob: binary-string
service_provider: tstr
) // service_provider: tstr)

binary-string = base64url-string .feature "json" / bstr .feature "cbor"

base64url-string = tstr .b64u bstr

0 comments on commit b43d2ca

Please sign in to comment.