[
  {
    "title": "`unevaluatedProperties` alone",
    "schema": {
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "foo": 42, "bar": 24 },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Unevaluated"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedProperties` with `properties`",
    "schema": {
      "properties": {
        "foo": { "title": "Evaluated" }
      },
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "foo": 42, "bar": 24 },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedProperties` with `patternProperties`",
    "schema": {
      "patternProperties": {
        "^a": { "title": "Evaluated" }
      },
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "apple": 42, "bar": 24 },
        "assertions": [
          {
            "location": "#/apple",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedProperties` with `additionalProperties`",
    "schema": {
      "additionalProperties": { "title": "Evaluated" },
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "foo": 42, "bar": 24 },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Evaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedProperties` with `dependentSchemas`",
    "schema": {
      "dependentSchemas": {
        "foo": {
          "properties": {
            "bar": { "title": "Evaluated" }
          }
        }
      },
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "foo": 42, "bar": 24 },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Unevaluated"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Evaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedProperties` with `if`, `then`, and `else`",
    "schema": {
      "if": {
        "properties": {
          "foo": {
            "type": "string",
            "title": "If"
          }
        }
      },
      "then": {
        "properties": {
          "foo": { "title": "Then" }
        }
      },
      "else": {
        "properties": {
          "foo": { "title": "Else" }
        }
      },
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "foo": "", "bar": 42 },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Then", "If"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      },
      {
        "instance": { "foo": 42, "bar": "" },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Else"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedProperties` with `allOf`",
    "schema": {
      "allOf": [
        {
          "properties": {
            "foo": { "title": "Evaluated" }
          }
        }
      ],
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "foo": 42, "bar": 24 },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedProperties` with `anyOf`",
    "schema": {
      "anyOf": [
        {
          "properties": {
            "foo": { "title": "Evaluated" }
          }
        }
      ],
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "foo": 42, "bar": 24 },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedProperties` with `oneOf`",
    "schema": {
      "oneOf": [
        {
          "properties": {
            "foo": { "title": "Evaluated" }
          }
        }
      ],
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "foo": 42, "bar": 24 },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedProperties` with `not`",
    "schema": {
      "not": {
        "not": {
          "properties": {
            "foo": { "title": "Evaluated" }
          }
        }
      },
      "unevaluatedProperties": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": { "foo": 42, "bar": 24 },
        "assertions": [
          {
            "location": "#/foo",
            "keyword": "title",
            "expected": ["Unevaluated"]
          },
          {
            "location": "#/bar",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedItems` alone",
    "schema": {
      "unevaluatedItems": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": [42, 24],
        "assertions": [
          {
            "location": "#/0",
            "keyword": "title",
            "expected": ["Unevaluated"]
          },
          {
            "location": "#/1",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedItems` with `prefixItems`",
    "schema": {
      "prefixItems": [{ "title": "Evaluated" }],
      "unevaluatedItems": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": [42, 24],
        "assertions": [
          {
            "location": "#/0",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/1",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedItems` with `contains`",
    "schema": {
      "contains": {
        "type": "string",
        "title": "Evaluated"
      },
      "unevaluatedItems": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": ["foo", 42],
        "assertions": [
          {
            "location": "#/0",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/1",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedItems` with `if`, `then`, and `else`",
    "schema": {
      "if": {
        "prefixItems": [
          {
            "type": "string",
            "title": "If"
          }
        ]
      },
      "then": {
        "prefixItems": [
          { "title": "Then" }
        ]
      },
      "else": {
        "prefixItems": [
          { "title": "Else" }
        ]
      },
      "unevaluatedItems": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": ["", 42],
        "assertions": [
          {
            "location": "#/0",
            "keyword": "title",
            "expected": ["Then", "If"]
          },
          {
            "location": "#/1",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      },
      {
        "instance": [42, ""],
        "assertions": [
          {
            "location": "#/0",
            "keyword": "title",
            "expected": ["Else"]
          },
          {
            "location": "#/1",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedItems` with `allOf`",
    "schema": {
      "allOf": [
        {
          "prefixItems": [
            { "title": "Evaluated" }
          ]
        }
      ],
      "unevaluatedItems": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": [42, 24],
        "assertions": [
          {
            "location": "#/0",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/1",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedItems` with `anyOf`",
    "schema": {
      "anyOf": [
        {
          "prefixItems": [
            { "title": "Evaluated" }
          ]
        }
      ],
      "unevaluatedItems": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": [42, 24],
        "assertions": [
          {
            "location": "#/0",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/1",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedItems` with `oneOf`",
    "schema": {
      "oneOf": [
        {
          "prefixItems": [
            { "title": "Evaluated" }
          ]
        }
      ],
      "unevaluatedItems": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": [42, 24],
        "assertions": [
          {
            "location": "#/0",
            "keyword": "title",
            "expected": ["Evaluated"]
          },
          {
            "location": "#/1",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  },
  {
    "title": "`unevaluatedItems` with `not`",
    "schema": {
      "not": {
        "not": {
          "prefixItems": [
            { "title": "Evaluated" }
          ]
        }
      },
      "unevaluatedItems": { "title": "Unevaluated" }
    },
    "subjects": [
      {
        "instance": [42, 24],
        "assertions": [
          {
            "location": "#/0",
            "keyword": "title",
            "expected": ["Unevaluated"]
          },
          {
            "location": "#/1",
            "keyword": "title",
            "expected": ["Unevaluated"]
          }
        ]
      }
    ]
  }
]
