schema.object

A Schema type that randomly generates an object based upon the provided properties keyword.

Keywords

propertiesrequired

An object thats maps object property names to a Schema definition

Examples

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "age": {
      "type": "number"
    }
  }
}