secvisogram / csaf-validator-lib

csaf-validator-lib is a library that can be used to check whether a given CSAF 2.0 document is valid.
MIT License
2 stars 8 forks source link

Unify order of output #88

Open tschmidtb51 opened 1 year ago

tschmidtb51 commented 1 year ago

Currently, there are many different ways the json output is ordered in different tools (csaf-validator-lib, csaf-validator-service, csaf_validator).

tschmidtb51 commented 1 year ago

The preferred output should use the order:

   {
      "errors": [],
      "warnings": [],
      "infos": [],
      "isValid": true,
      "name": "informativeTest_6_3_9"
    }
tschmidtb51 commented 1 year ago

Also, it must be checked that the documentation is up-to-date / whether changes in the documentation must be made.