Skip to content

Latest commit

 

History

History
67 lines (51 loc) · 1.61 KB

issue_template.md

File metadata and controls

67 lines (51 loc) · 1.61 KB

Library version:

JSON schema version: draft-04, draft-06, draft-07, 2019-09, 2020-12

I am willing to contribute to fix the issue 💚 I won't contribute to fix the issue ❌

The current behavior

The expected behavior

Why does it happen? What/How to fix the issue?

Content of minimal json schema file which causes the problem

Click to expand/collapse
{
  "title": "Person",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 20
    },
    "age": {
      "type": "number",
      "minimum": 18,
      "maximum": 90
    },
    "hobbies": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string"
      }
    },
    "favoriteAnimal": {
      "enum": ["dog", "cat", "sloth"]
    }
  },
  "required": ["name", "age"]
}