import { registerExamples } from './register';
import {data as personData, personCoreSchema } from './person';

export const schema = personCoreSchema;
export const uischema = undefined;
export const data = personData;

registerExamples([
  {
    name: 'generate-ui',
    label: 'Generate UI Schema',
    data,
    schema,
    uiSchema: uischema
  }
]);

import { registerExamples } from './register';
import { data as personData,  } from './person';

export const schema = undefined;
export const uischema = undefined;
export const data = personData;

registerExamples([
  {
    name: 'generate-ui',
    label: 'Generate UI Schema',
    data,
    schema,
    uiSchema: uischema
  }
]);

--- 
+++ 
@@ -1,7 +1,7 @@
 import { registerExamples } from './register';
-import { data as personData,  } from './person';
+import {data as personData, personCoreSchema } from './person';
 
-export const schema = undefined;
+export const schema = personCoreSchema;
 export const uischema = undefined;
 export const data = personData;
 
Set person core schema to be used as schema in generate UI example
