[
  {
    "name": "draft6 $schema",
    "schema": {
      "$schema": "http://json-schema.org/draft-06/schema#"
    },
    "expected": {
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
  },
  {
    "name": "true no metaschema",
    "schema": {},
    "expected": true
  },
  {
    "name": "true no metaschema",
    "schema": { "not": {} },
    "expected": false
  },
  {
    "name": "enum with one value",
    "schema": {
      "$schema": "http://json-schema.org/draft-06/schema#",
      "enum": [ "single-value" ]
    },
    "expected": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "const": "single-value"
    }
  },
  {
    "name": "properties with a not: {} schema",
    "schema": {
      "$schema": "http://json-schema.org/draft-06/schema#",
      "properties": {
        "foo": {
          "not": {}
        }
      }
    },
    "expected": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "properties": {
        "foo": false
      }
    }
  }
]
