title: How to validate custom types in JSON schema?
body: <p>JSON Schema supports interger and number as numeric type. I have a schema which defines type as 'double' 'float'.
  I am using AJV in javascript to validate the schema but it is failing because of the above limitation. Is there any way I can validate the double and float types specifically?</p>
  
  <p>Please note - 
  I want to validate 2 things - 
  1. JSON schema
  2. JSON against the JSON schema</p>
  
  <p>I am stuck at 1</p>
  
  <p>I have tried adding custom keyword in AJV, but its not same as the default type</p>
  
  <p>My schema says</p>
  
  <pre><code>"lineSpacing": {
            "type": "double",
            "description": "Spacing between two lines"
          },
  </code></pre>
  
  <p>AJV compilation should allow double as a type. How to achieve that? Am I missing something very basic? Any other solution other languages will work too.</p>