// Items
=== NEGATIVE ===
{
  "type": "array",
  "items": null
}
=== NEGATIVE ===
{
  "type": "array",
  "items": true
}
=== NEGATIVE ===
{
  "type": "array",
  "items": false
}
=== NEGATIVE ===
{
  "type": "array",
  "items": "foo"
}
=== NEGATIVE ===
{
  "type": "array",
  "items": 1
}
=== NEGATIVE ===
{
  "type": "array",
  "items": -1
}
=== NEGATIVE ===
{
  "type": "array",
  "items": [null]
}
=== NEGATIVE ===
{
  "type": "array",
  "items": [false]
}
=== NEGATIVE ===
{
  "type": "array",
  "items": ["foo"]
}
=== NEGATIVE ===
{
  "type": "array",
  "items": [1]
}
=== NEGATIVE ===
{
  "type": "array",
  "items": [-1]
}
=== NEGATIVE ===
{
  "type": "array",
  "items": [[]]
}
=== POSITIVE ===
// Tests with 'items' missing and 'additionalItems' taking various values
{
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": true,
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": false,
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": {},
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": {
    "type": "number"
  },
  "type": "array"
}
// Tests with 'items' present as an object
=== POSITIVE ===
{
  "items": {},
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": true,
  "items": {},
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": false,
  "items": {},
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": {
    "type": "string"
  },
  "items": {
    "type": "number"
  },
  "type": "array"
}
// Tests with 'items' as an array
=== POSITIVE ===
{
  "items": [],
  "type": "array"
}
=== POSITIVE ===
{
  "items": [{}, {}, {}],
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": false,
  "items": [],
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": false,
  "items": [{}, {}],
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": true,
  "items": [],
  "type": "array"
}
=== POSITIVE ===
{
  "additionalItems": {},
  "items": [{}, {}, {}],
  "type": "array"
}
=== POSITIVE ===
{
  "items": {
    "$ref": "#"
  },
  "type": "array"
}
=== POSITIVE ===
// Nested Arrays
{
  "items": {
    "items": [
      {
        "type": "boolean"
      }
    ],
    "type": "array"
  },
  "maxItems": 1,
  "minItems": 5,
  "type": "array"
}
// min / max Items
=== POSITIVE ===
{
  "description": "List of names",
  "items": {},
  "maxItems": 1,
  "minItems": 5,
  "title": "names",
  "type": "array"
}
=== POSITIVE ===
{
  "items": {},
  "minItems": 0,
  "type": "array"
}
--------
{
  "items": {},
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "maxItems": null,
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "maxItems": 1.2,
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "maxItems": -2,
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "maxItems": "foo",
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "maxItems": [],
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "maxItems": {},
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "minItems": null,
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "minItems": 1.2,
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "minItems": -1,
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "minItems": "foo",
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "minItems": [],
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "minItems": {},
  "type": "array"
}
// uniqueItems
=== POSITIVE ===
{
  "items": {},
  "type": "array",
  "uniqueItems": true
}
=== POSITIVE ===
{
  "items": {},
  "type": "array",
  "uniqueItems": false
}
--------
{
  "items": {},
  "type": "array"
}
=== NEGATIVE ===
{
  "items": {},
  "type": "array",
  "uniqueItems": 2
}
=== NEGATIVE ===
{
  "items": {},
  "type": "array",
  "uniqueItems": -1
}
=== NEGATIVE ===
{
  "items": {},
  "type": "array",
  "uniqueItems": 1.2
}
=== NEGATIVE ===
{
  "items": {},
  "type": "array",
  "uniqueItems": null
}
=== NEGATIVE ===
{
  "items": {},
  "type": "array",
  "uniqueItems": "foo"
}
=== NEGATIVE ===
{
  "items": {},
  "type": "array",
  "uniqueItems": []
}
=== NEGATIVE ===
{
  "items": {},
  "type": "array",
  "uniqueItems": {}
}
