title: Dictionary-like JSON schema
body: <p>I have a json object that can contain any number of nested objects with certain specification, for example:</p>
  
  <pre><code>{
    "Bob": {
      "age": "42",
      "gender": "male"
    },
    "Alice": {
      "age": "37",
      "gender": "female"
    }
  }
  </code></pre>
  
  <p>And would like to have a schema looking something like: </p>
  
  <pre><code>{
    "type": "object",
    "propertySchema": {
      "type": "object",
      "required": [
        "age",
        "gender"
      ],
      "properties": {
        "age": {
          "type": "string"
        },
        "gender": {
          "type": "string"
        }
      }
    }
  }
  </code></pre>
  
  <p>I know that I can turn that into array and push 'name' inside the objects. In that case my schema would look like: </p>
  
  <pre><code>{
    "type": "array",
    "items": {
      "type": "object",
      "required": [
        "name",
        "age",
        "gender"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "age": {
          "type": "string"
        },
        "gender": {
          "type": "string"
        }
      }
    }
  }
  </code></pre>
  
  <p>but I would like to have a dictionary-like structure. Is it possible to make such schema?</p>