schema
definePerson(input?: Person)
SchemaOrgPerson
(see how components work)string
ImageInput
string
or sameAs string[]
definePerson({
name: 'Harlan Wilton',
image: '/me.png',
})
Person
${canonicalHost}#identity
canonicalHost
See Global Resolves for full context.
image
@id
attribute, will automatically set up the person to be the identity of the WebSite and author
of any content./**
* A person (alive, dead, undead, or fictional).
*/
export interface PersonSimple extends Thing {
/**
* The full name of the Person.
*/
name: string
/**
* The user bio, truncated to 250 characters.
*/
description?: string
/**
* An array of URLs representing declared social/authoritative profiles of the person
* (e.g., a Wikipedia page, or Facebook profile).
*/
sameAs?: Arrayable<string>
/**
* An array of images which represent the person, referenced by ID.
*/
image?: NodeRelations<ImageObject | string>
/**
* The URL of the users' profile page (if they're affiliated with the site in question),
* or to their personal homepage/website.
*/
url?: string
}