You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trying to process a schema with refs, based on your documentation I process the schema first to dereference the (internal) refs.
<script>
import jsonSchema from '@/components/Schema/europass-json-schema-v3.3.0.json'
import example from '@/components/Schema/europass-cv-example-v3.3.0.json'
import parser from 'json-schema-ref-parser';
export default {
schema: [
async function loadSchemaOnCreate() {
// functions must return a promise or a schema synchronously
return await parser.dereference(jsonSchema)
}],
name: 'app',
data () {
return {
schema: example
}
}
}
</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/
The text was updated successfully, but these errors were encountered: