public NewDocumentReferenceDataType getReferenceDataType() {
        if (refToThis == null) {
            refToThis = new NewDocumentReferenceDataType(this);
        }
        return refToThis;
    }
The field sets defined for this type and its {@link Schema}
config-model/src/main/java/com/yahoo/documentmodel/NewDocumentType.java