title: JSON Enum Schema issue - Correct me with valid schema
body: <p>I have following JSON Payload where i am trying to add ENUM type Value for one of the element. </p>
  
  <pre><code>{
    "firstName" : "firstName",
    "lastName" : "lastName",
    "systemIds" : [ {
      "systemName" : "SAP",
      "systemId" : "99c27c63-e0b6-4585-8675-7aa3811eb4c3"
    }, {
      "systemName" : "SFDC",
      "systemId" : "b65abf1d-825d-4ee3-9791-02d2cdd5e6f4"
    }, {
      "systemName" : "MONGODB",
      "systemId" : "18e50430-8589-42d6-8477-58839a8bf202"
    } ]
  }
  </code></pre>
  
  <p>And here is my Schema which i tried to modify after it was auto generated using this website. <a href="http://jsonschema.net/#/" rel="nofollow">http://jsonschema.net/#/</a></p>
  
  <p>I added manually ENUM types as per my expectation here. Please correct what's wrong with this SCHEMA. </p>
  
  <pre><code>{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://abcd.com/schemas/customerInfo",
    "type": "object",
    "properties": {
      "firstName": {
        "id": "http://abcd.com/schemas/customerInfo/firstName",
        "type": "string"
      },
      "lastName": {
        "id": "http://abcd.com/schemas/customerInfo/lastName",
        "type": "string"
      },
      "systemIds": {
        "id": "http://abcd.com/schemas/customerInfo/systemIds",
        "type": "array",
        "minItems": 1,
        "uniqueItems": false,
        "additionalItems": true,
        "items": {
          "anyOf": [
            {
              "id": "http://abcd.com/schemas/customerInfo/systemIds/0",
              "type": "object",
              "properties": {
                "systemName": {
                  "id": "http://abcd.com/schemas/customerInfo/systemIds/0/systemName",
                  "type": { "enum": [ "SAP", "MONGODB", "ERP", "SFDC" ] }
                },"required": ["type"],
                "systemId": {
                  "id": "http://abcd.com/schemas/customerInfo/systemIds/0/systemId",
                  "type": "string"
                }
              }
            }
          ]
        }
      }
    }
  }
  </code></pre>