Providing an identity may allow Google to display a prominent Google knowledge panel with details of the identity.
Providing an identity may allow Google to display a prominent Google knowledge panel with details of the identity.
While Schema.org provides detailed types, it's recommended to choose a single provider below. If you're not sure which to use, you should select Organization
.
Using defineOrganization
or SchemaOrgOrganization
by default will set your identity to an Organization.
useSchemaOrg([ defineOrganization({ name: 'My company', logo: '/logo.png', sameAs: [ 'https://twitter.com/company' ] }), defineWebSite({/* ... */}), defineWebPage(),])
Using definePerson
or SchemaOrgPerson
by default will set your identity to a Person.
useSchemaOrg([ definePerson({ name: 'Harlan Wilton', image: '/me.png', sameAs: [ 'https://github.com/harlan-zw', ] }), defineWebSite({/* ... */}), defineWebPage(),])
Using defineLocalBusiness
or SchemaOrgLocalBusiness
by default will set your identity to a LocalBusiness.
useSchemaOrg([ defineLocalBusiness({ name: 'Harlan\'s Hamburgers', address: { streetAddress: '123 Main St', addressLocality: 'Harlan', addressRegion: 'MA', postalCode: '01234', addressCountry: 'US', }, image: 'https://emojiguide.org/images/emoji/n/3ep4zx1jztp0n.png', }), defineWebSite({/* ... */}), defineWebPage(),])
Setting an identity will also cause default inferences to be made about the Schema your register:
about