xylabs/sdk-react

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

Summary

Maintainability
A
0 mins
Test Coverage
import type { AdministrativeArea } from './AdministrativeArea.ts'
import type { AggregateRating } from './AggregateRating.ts'
import type { Article } from './Article.ts'
import type { Brand } from './Brand.ts'
import type { ContactPoint } from './ContactPoint.ts'
import type { CreativeWork } from './CreativeWork.ts'
import type { DateTime } from './DateTime.ts'
import type { GeoShape } from './GeoShape.ts'
import type { Language } from './Language.ts'
import type { Offer } from './Offer.ts'
import type { Person } from './Person.ts'
import type { Place } from './Place.ts'
import type { PostalAddress } from './PostalAddress.ts'
import type { Product } from './Product.ts'
import type { QuantitativeValue } from './QuantitativeValue.ts'
import type { Review } from './Review.ts'
import type { Text } from './Text.ts'
import type { Thing } from './Thing.ts'
import type { VirtualLocation } from './VirtualLocation.ts'

// TODO: Resolve Anys
interface Organization extends Thing {
  actionableFeedbackPolicy?: CreativeWork | URL
  address?: PostalAddress | Text
  aggregateRating?: AggregateRating
  alumni?: Person
  areaServed?: AdministrativeArea | GeoShape | Place | Text
  award?: Text
  brand?: Brand
  contactPoint?: ContactPoint
  correctionsPolicy?: CreativeWork | URL
  department?: Organization
  dissolutionDate?: DateTime
  diversityPolicy?: CreativeWork | URL
  diversityStaffingReport?: Article | URL
  duns?: Text
  email?: Text
  employee?: Person | Person[]
  ethicsPolicy?: CreativeWork | URL
  event?: Event
  faxNumber?: Text
  founder?: Person | Text
  founders?: (Person | Text)[]
  foundingDate?: DateTime
  foundingLocation?: Place
  funder?: Organization | Person
  globalLocationNumber?: Text
  hasCredential?: unknown
  hasMerchantReturnPolicy?: unknown
  hasOfferCatalog?: unknown
  hasPOS?: Place
  interactionStatistic?: unknown
  isicV4?: Text
  knowsAbout?: Text | Thing | URL
  knowsLanguage?: Language | Text
  legalName?: Text
  location?: Place | PostalAddress | Text | VirtualLocation
  logo?: unknown
  makesOffer?: Offer
  member?: Organization | Person
  memberOf?: Organization | unknown
  naics?: Text
  nonprofitStatus?: unknown
  numberOfEmployees?: QuantitativeValue
  ownershipFundingInfo?: unknown | CreativeWork | Text | URL
  owns?: unknown | Product
  parentOrganization?: Organization
  publishingPrinciples?: CreativeWork | URL
  review?: Review
  seeks?: unknown
  slogan?: Text
  sponsor?: Organization | Person
  subOrganization?: Organization
  taxID?: Text
  telephone?: Text
  unnamedSourcesPolicy?: CreativeWork | URL
  vatID?: Text
}

export type { Organization }