Open jhoogeboom opened 6 years ago
if anyone runs into something similar, this seemed to work better for dereferencing: https://www.npmjs.com/package/json-schema-deref-local
and it seems the objects are not initiated by default, this works well to generate it: https://www.npmjs.com/package/json-schema-defaults
export default {
schema: deref(jsonSchema),
name: 'app',
data () {
return {
schema: defaults(this.$options.schema)
}
}
}
</script>
trying to process a schema with refs, based on your documentation I process the schema first to dereference the (internal) refs.
Something's not going well though
You can find the schema and example if you want to have a look: https://interop.europass.cedefop.europa.eu/data-model/json-resources/