Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes date type, evidence & payload quantity, and any-uri-type #36

Merged
merged 1 commit into from Feb 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions concise-swid-tag.cddl
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