ssilverman / snowy-json

Snow, a full-featured JSON Schema validator
GNU Affero General Public License v3.0
53 stars 5 forks source link

Invalid properties not flagged error #12

Open SrikrishnanS opened 3 years ago

SrikrishnanS commented 3 years ago

I used the following schema document, Values for 'a' and 'b' are not valid schemas.

{ "properties": { "a":1, "b":2 } }

But validator wouldn't flag an error. Isn't this a bug?

com.qindesign.json.schema.Main: Mon Jun 07 12:43:52 PDT 2021 [INFO] Actual spec=null com.qindesign.json.schema.Main: Mon Jun 07 12:43:52 PDT 2021 [INFO] Guessed spec=DRAFT_2019_09 com.qindesign.json.schema.Main: Mon Jun 07 12:43:52 PDT 2021 [INFO] Validation result: true (0.201s) Basic output: { "valid": true, "errors": [] }

Annotations: { "annotations": [] }