issue 5 schema and documentation fix to improve export type declarations