diff --git a/lib/schema.js b/lib/schema.js index d00fda4b9f4a628a234bd5ed82ed12eb4fc3f33c..d030b8fb1d7d4881e25b8597289c3278f0d433b9 100644 --- a/lib/schema.js +++ b/lib/schema.js @@ -227,6 +227,9 @@ const processISchema = Promise.method((schema, base$id) => { }); } } + + if (schema.properties) return processFurther(schema, undefined, base$id); + // schema.$definitions = $definitions return schema; });