mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* asserts: move aspect schema to assertion body Move the aspect schema from a "storage" stanza to the assertion body. Also format parse and re-encode the JSON with two spaces for indentation and map ordered map keys. This should make the schema uniform and easy to read while still using a format that can be emulated by other tools. * many: nest schema in storage stanza Signed-off-by: Miguel Pires <miguel.pires@canonical.com> * asserts: support checking JSON body format Signed-off-by: Miguel Pires <miguel.pires@canonical.com> * asserts: improve err messages; move check Signed-off-by: Miguel Pires <miguel.pires@canonical.com> --------- Signed-off-by: Miguel Pires <miguel.pires@canonical.com>