jsonschema-builder
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "jsonschema-builder", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Command line tool to generate JSON-schemas by the Mongoose model definition", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -99,5 +99,4 @@ [![Build status](https://travis-ci.org/DScheglov/jsonschema-builder.svg?branch=master)](https://travis-ci.org/DScheglov/jsonschema-builder?branch=master) | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } }, | ||
@@ -112,3 +111,3 @@ required: [ 'title', 'author' ] }, | ||
dateOfBirth: { type: 'string', format: 'date-time' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } }, | ||
@@ -372,5 +371,4 @@ required: [ 'firstName', 'lastName' ] } ] | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } }, | ||
@@ -650,5 +648,4 @@ required: [ 'title', 'author' ] } | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } }, | ||
@@ -655,0 +652,0 @@ required: [ 'title', 'author' ] } |
@@ -21,3 +21,3 @@ 'use strict'; | ||
data: { type: 'mixed' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -32,3 +32,3 @@ } | ||
data: { type: 'mixed' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -43,3 +43,3 @@ } | ||
data: { type: 'mixed' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -46,0 +46,0 @@ } |
@@ -22,6 +22,5 @@ 'use strict'; | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -54,3 +53,3 @@ }, | ||
balance: { type: 'number' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -69,3 +68,2 @@ }, | ||
description: 'Refers to Account', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
@@ -77,3 +75,2 @@ }, | ||
description: 'Refers to Account', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
@@ -83,3 +80,3 @@ }, | ||
details: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -100,6 +97,5 @@ }, | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -117,3 +113,3 @@ }, | ||
dateOfBirth: { type: 'string', format: 'date-time' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -131,3 +127,3 @@ }, | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -148,3 +144,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -160,3 +156,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -166,3 +162,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -169,0 +165,0 @@ } |
@@ -25,6 +25,5 @@ 'use strict'; | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -41,3 +40,3 @@ }, | ||
dateOfBirth: { type: 'string', format: 'date-time' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -65,3 +64,3 @@ }, | ||
balance: { type: 'number' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -79,3 +78,2 @@ }, | ||
description: 'Refers to Account', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
@@ -87,3 +85,2 @@ }, | ||
description: 'Refers to Account', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
@@ -93,3 +90,3 @@ }, | ||
details: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -106,3 +103,3 @@ }, | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -122,3 +119,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -134,3 +131,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -140,3 +137,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -163,3 +160,3 @@ } | ||
balance: { type: 'number' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -177,4 +174,3 @@ }, | ||
description: 'Refers to Account', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
@@ -185,8 +181,7 @@ credit: { | ||
description: 'Refers to Account', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
amount: { type: 'number' }, | ||
details: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -206,6 +201,5 @@ }, | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -222,3 +216,3 @@ }, | ||
dateOfBirth: { type: 'string', format: 'date-time' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -235,3 +229,3 @@ }, | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -251,3 +245,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -263,3 +257,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -269,3 +263,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -293,6 +287,5 @@ } | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -309,3 +302,3 @@ }, | ||
dateOfBirth: { type: 'string', format: 'date-time' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -312,0 +305,0 @@ }, |
@@ -22,6 +22,5 @@ 'use strict'; | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -48,3 +47,3 @@ }, | ||
balance: { type: 'number' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -62,3 +61,3 @@ }, | ||
description: 'Refers to Account', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
@@ -70,3 +69,3 @@ }, | ||
description: 'Refers to Account', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
@@ -76,3 +75,3 @@ }, | ||
details: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -99,6 +98,6 @@ }, | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -122,3 +121,3 @@ }, | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -138,3 +137,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -150,3 +149,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -156,3 +155,3 @@ } | ||
title: { type: 'string' }, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -159,0 +158,0 @@ } |
@@ -24,6 +24,5 @@ 'use strict'; | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -30,0 +29,0 @@ }, |
@@ -21,6 +21,5 @@ 'use strict'; | ||
description: 'Refers to Person', | ||
format: 'uuid', | ||
pattern: '^[0-9a-fA-F]{24}$' | ||
}, | ||
_id: { type: 'string', format: 'uuid', pattern: '^[0-9a-fA-F]{24}$' }, | ||
_id: { type: 'string', pattern: '^[0-9a-fA-F]{24}$' }, | ||
__v: { type: 'number' } | ||
@@ -27,0 +26,0 @@ }, |
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
50807
1040
660