diff --git a/packages/apidom-ns-workflows-1/src/refractor/registration.ts b/packages/apidom-ns-workflows-1/src/refractor/registration.ts index 60eced42a6..c5dbf8eb6a 100644 --- a/packages/apidom-ns-workflows-1/src/refractor/registration.ts +++ b/packages/apidom-ns-workflows-1/src/refractor/registration.ts @@ -66,6 +66,8 @@ ReferenceElement.refract = createRefractor([ 'document', 'objects', 'Reference', + '$visitor', +]); JSONSchemaElement.refract = createRefractor([ 'visitors', 'document', diff --git a/packages/apidom-ns-workflows-1/src/refractor/specification.ts b/packages/apidom-ns-workflows-1/src/refractor/specification.ts index 710ff140bc..3c160adb06 100644 --- a/packages/apidom-ns-workflows-1/src/refractor/specification.ts +++ b/packages/apidom-ns-workflows-1/src/refractor/specification.ts @@ -111,6 +111,7 @@ const specification = { $ref: Reference$RefVisitor, value: { $ref: '#/visitors/value' }, }, + }, Schema: { /** * Internally the fixed field visitors are using references to `/document/objects/Schema`.