xylabs/sdk-react

View on GitHub
packages/rich-result/src/jsonld/Person.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { Brand } from './Brand.ts'
import type { ContactPoint } from './ContactPoint.ts'
import type { Country } from './Country.ts'
import type { CreativeWork } from './CreativeWork.ts'
import type { Language } from './Language.ts'
import type { Offer } from './Offer.ts'
import type { Organization } from './Organization.ts'
import type { Place } from './Place.ts'
import type { PostalAddress } from './PostalAddress.ts'
import type { Product } from './Product.ts'
import type { Thing } from './Thing.ts'

interface Person extends Thing {
  additionalName?: string
  address?: string | PostalAddress
  affiliation?: Organization | Organization[]
  alumniOf?: Organization | Organization[]
  award?: string | string[]
  birthDate?: string | Date
  birthPlace?: string | Place
  brand?: Brand | Organization
  callSign?: string
  children?: Person | Person[]
  colleague?: Person | string | (Person | string)[]
  contactPoint?: ContactPoint
  deathDate?: string | Date
  deathPlace?: string | Place
  duns?: string
  email?: string
  familyName?: string
  faxNumber?: string
  follows?: Person | Person[]
  funder?: Organization | Person | (Organization | Person)[]
  gender?: string
  givenName?: string
  globalLocationNumber?: string
  hasCredential?: unknown
  hasOccupation?: unknown
  hasOfferCatalog?: unknown
  hasPOS?: Place
  height?: unknown
  homeLocation?: ContactPoint | Place
  honorificPrefix?: string
  honorificSuffix?: string
  interactionStatistic?: unknown
  isicV4?: string
  jobTitle?: string
  knows?: Person | Person[]
  knowsAbout?: string | Thing | (string | Thing)[]
  knowsLanguage?: Language | string | (Language | string)[]
  makesOffer?: Offer | Offer[]
  memberOf?: Organization | unknown | (Organization | unknown)[]
  naics?: string
  nationality?: Country
  netWorth?: unknown
  owns?: Product | unknown | (Product | unknown)[]
  parent?: Person | Person[]
  performerIn?: Event | CreativeWork | string | (Event | CreativeWork | string)[]
  publishingPrinciples?: CreativeWork | string
  relatedTo?: Person | Person[]
  seeks?: unknown
  sibling?: Person | Person[]
  sponsor?: Organization | Person | (Organization | Person)[]
  spouse?: Person
  taxID?: string
  telephone?: string
  vatID?: string
  weight?: unknown
  workLocation?: ContactPoint | Place | (ContactPoint | Place)[]
  worksFor?: Organization | Organization[]
}

export type { Person }