Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The validate cannot find unknow fields #357

Open
msyesyan opened this issue Oct 21, 2022 · 0 comments
Open

The validate cannot find unknow fields #357

msyesyan opened this issue Oct 21, 2022 · 0 comments

Comments

@msyesyan
Copy link

Hey, I found the validate function cannot find unknow fields.

eg

schema

{
  "type": "object",
  "properties": {
      "person": {
         "name": "string"
      }
  }
}

data

{
  "person": {
     "name": "abc",
     "other": "abc"
  }
}

In this case, the Validate function cannot give any error or warnning message. you can try this one line

https://json-schema-validator.herokuapp.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant