title: Typescript Type of JSON schema object
body: <p>Is there a special type associated with JSON-schema objects in typescript? My class has a method that checks whether its members satisfy the dynamic json schema <code>schema</code>, for now I do it like so,</p>
  
  <pre><code>&lt;!-- language: typescript --&gt;
  
  verifySchema(schema: object): void {
      // do verification
  }
  </code></pre>
  
  <p>where for example</p>
  
  <pre><code>&lt;!-- language: typescript --&gt;
  
  const schema = {
    title: 'blabla',
    description: 'Basic schema',
    type: 'object',
    properties: {
      "firstName": {
      "type": "string",
      "description": "The person's first name."
      },
      "lastName": {
      "type": "string",
      "description": "The person's last name."
      },
  ...
  }
  </code></pre>
  
  <p>But to remain generic I would like to allow for checking arbitrary json schemas, not just this specific one. Is it okay to set <code>schema: object</code> or are there best practices for JSON-schema objects?</p>