You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should have the version be a uint/int , just like in the section 5.9.4 where it is defined as a uint by CDDL, not as text. (Also , ideally the Section 5.7 should have a CDDL definition.)
Same problem with version number (uint). Also a successful status should not have the reason and reason-context fields - these are only for error reporting . See the text above it:
"with a Reason string indicating why the most recent enrollment failed."
"reason-context attribute ... which provides additional information specific to the failure "
So a success example should not have these fields, and a failure example may be added that does have the fields.
The text was updated successfully, but these errors were encountered:
Text in -44 looks almost correct now. There is one minor issue in Section 5.9.4: It has the below two sentences
In the case of a SUCCESS the Reason string MAY be omitted.
In the case of a SUCCESS the Reason string is omitted.
Suggestion is to only keep the first one:
In the case of a SUCCESS the Reason string MAY be omitted.
The example in 5.7
{
"version":"1",
"status":false,
"reason":"Informative human readable message",
"reason-context": { "additional" : "JSON" }
}
should have the version be a uint/int , just like in the section 5.9.4 where it is defined as a uint by CDDL, not as text. (Also , ideally the Section 5.7 should have a CDDL definition.)
The example in 5.9.4:
{
"version":"1",
"status":true,
"reason":"Informative human readable message",
"reason-context": { "additional" : "JSON" }
}
Same problem with version number (uint). Also a successful status should not have the reason and reason-context fields - these are only for error reporting . See the text above it:
"with a Reason string indicating why the most recent enrollment failed."
"reason-context attribute ... which provides additional information specific to the failure "
So a success example should not have these fields, and a failure example may be added that does have the fields.
The text was updated successfully, but these errors were encountered: