js-json-schema
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -89,3 +89,3 @@ var fs = require('fs'), helper = require('./commons'); | ||
* | ||
* A setup such as above will create Address schema and along with it UserBase, StaffUser and Member | ||
* A setup such as above will create Address schema and along with it User, StaffUser and Member | ||
* using all of specification from the generated Sub type schemas. | ||
@@ -92,0 +92,0 @@ */ |
@@ -73,2 +73,6 @@ if (String.prototype.capitalize === undefined) { | ||
} | ||
if (type.toLowerCase() === "datetime") { | ||
schema.properties[name].type = "string"; | ||
schema.properties[name].format = "date-time"; | ||
} | ||
if (!isDefaultType(schema.properties[name].type.toLowerCase())) { | ||
@@ -75,0 +79,0 @@ var refType = refFinder(type, category); |
{ | ||
"name": "js-json-schema", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "create json schema from javascript configuration", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16537
362