Skip to content

Commit

Permalink
change date from time to #6.1(int)
Browse files Browse the repository at this point in the history
reduced the quantity of evidence or payload to one
changed any-uri from text to uri
  • Loading branch information
henkbirkholz committed Feb 18, 2021
1 parent dc05c18 commit d5ef987
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions concise-swid-tag.cddl
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ concise-swid-tag = {
}

payload-or-evidence //= ( payload => payload-entry )
payload-or-evidence //= ( payload => [ 2* payload-entry ] )
payload-or-evidence //= ( evidence => evidence-entry )
payload-or-evidence //= ( evidence => [ 2* evidence-entry ] )

any-uri = text
any-uri = uri
label = text / int

$version-scheme /= multipartnumeric
Expand Down Expand Up @@ -171,7 +169,7 @@ payload-entry = {

evidence-entry = {
resource-collection,
? date => time,
? date => #6.1(int),
? device-id => text,
global-attributes,
* $$evidence-extension,
Expand Down

0 comments on commit d5ef987

Please sign in to comment.