ML 1.0 DataTypes contained inside RAML 1.0, RAML 1.0 Library and RAML 1.0 DataType documents to JSON Schemas.</p>
<p>You can take a look at the <a href="#complete-examples">complete examples</a> for more advanced use cases.</p>
<h2 id="quick-start">Quick start</h2>
<p>To translate a RAML DataType to a JSON Schema, you can parse a RAML document, then select the data type using <a href="https://raml-org.github.io/webapi-parser/js/classes/webapibaseunit.html" target="_blank">WebApi Model</a> and call its <code