=== POSITIVE ===
{
  "type": "string"
}
// Test maxLength
=== POSITIVE ===
{
  "maxLength": 0,
  "type": "string"
}
=== POSITIVE ===
{
  "maxLength": 1,
  "type": "string"
}
=== POSITIVE ===
{
  "maxLength": 32,
  "type": "string"
}
=== NEGATIVE ===
{
  "type": "string",
  "maxLength": null
}
=== NEGATIVE ===
{
  "type": "string",
  "maxLength": -1
}
=== NEGATIVE ===
{
  "type": "string",
  "maxLength": 1.2
}
=== NEGATIVE ===
{
  "type": "string",
  "maxLength": "foo"
}
=== NEGATIVE ===
{
  "type": "string",
  "maxLength": []
}
=== NEGATIVE ===
{
  "type": "string",
  "maxLength": {}
}
// Test minLength
=== POSITIVE ===
{
  "minLength": 0,
  "type": "string"
}
--------
// minLength defaults to 0, so we remove it
{
  "type": "string"
}
=== POSITIVE ===
{
  "minLength": 1,
  "type": "string"
}
=== POSITIVE ===
{
  "minLength": 32,
  "type": "string"
}
=== NEGATIVE ===
{
  "type": "string",
  "minLength": null
}
=== NEGATIVE ===
{
  "type": "string",
  "minLength": -1
}
=== NEGATIVE ===
{
  "type": "string",
  "minLength": 1.2
}
=== NEGATIVE ===
{
  "type": "string",
  "minLength": "foo"
}
=== NEGATIVE ===
{
  "type": "string",
  "minLength": []
}
=== NEGATIVE ===
{
  "type": "string",
  "minLength": {}
}
