jsontypedef / json-typedef-validate

A CLI tool that validates JSON using JSON Type Definition
https://jsontypedef.com/docs/jtd-validate/
7 stars 0 forks source link

Can hang validator #4

Open delaneyj opened 3 years ago

delaneyj commented 3 years ago
{
  "elements": {
    "discriminator": "result",
    "mapping": {
      "err": {
        "properties": {
          "code": { "type": "uint16" },
          "reason": { "type": "string" }
        }
      },
      "ok": {
        "properties": {
          "success": {
            "type": "boolean"
          }
        }
      }
    }
  }
}

Hangs jtd-validate forever

ucarion commented 3 years ago

Can you provide a full invocation of jtd-validate that has the behavior you're describing? I assume what you've provided is the schema -- what was the instance you validated against?