title: Generate sample Json output from Json Schema
body: <p>I want to know whether there is a method in which I can generate sample json output based on a json schema input.</p>
  
  <p>for example :-</p>
  
  <pre><code>input =&gt;
  
  {
  "title": "Example Schema",
  "type": "object",
  "properties": {
      "firstName": {
          "type": "string"
      },
      "lastName": {
          "type": "string"
      },
      "age": {
          "description": "Age in years",
          "type": "integer",
          "minimum": 0
      }
  },
  "required": ["firstName", "lastName"]
  }
  
  output =&gt; 
  
  {     
    "firstName" : "RandomFirstName",
     "lastName" : "RandomLastName"
  }
  </code></pre>
  
  <p>I have a large Json Schema with plenty of validations so to generate a sample valid json I could either create one manually using either Java or just a type it into a file. Is there a better way available ?</p>