synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
42 lines • 1.33 kB
TypeScript
export type ROROrganizationType = 'education' | 'funder' | 'healthcare' | 'company' | 'archive' | 'nonprofit' | 'government' | 'facility' | 'other';
export type ROROrganizationName = {
value: string;
types: Array<'acronym' | 'alias' | 'label' | 'ror_display'>;
};
export type ROROrganizationRelationship = {
id: string;
type: Array<'related' | 'parent' | 'child' | 'successor' | 'predecessor'>;
label: string;
};
export type RORLocation = {
geonames_id: number;
geonames_details: {
name: string;
lat?: number | null;
lng?: number | null;
country_code?: string | null;
country_name?: string | null;
};
};
export type RORLink = {
type: 'website' | 'wikipedia';
value: string;
};
/**
* https://github.com/ror-community/ror-schema/blob/master/ror_schema_v2_0.json
*/
export type ROROrganization = {
id: string;
domains: Array<string> | null;
established: number | null;
links: Array<RORLink> | null;
locations: Array<RORLocation>;
names: Array<ROROrganizationName>;
relationships: Array<ROROrganizationRelationship> | null;
status: 'active' | 'inactive' | 'withdrawn';
types: Array<ROROrganizationType>;
};
export type RORSearchResult = {
items: ROROrganization[];
};
//# sourceMappingURL=ROROrganization.d.ts.map