import * as valibot from 'valibot'; import { InferOutput, GenericSchema, InferInput } from 'valibot'; declare const actionStatusSchema: valibot.PicklistSchema<["ActiveActionStatus", "CompletedActionStatus", "FailedActionStatus", "PotentialActionStatus"], undefined>; type ActionStatusInput = InferInput; type ActionStatusOutput = InferOutput; type JSONLinkedDataInput = { readonly '@context'?: 'https://schema.org' | undefined; readonly '@id'?: string | readonly string[] | undefined; readonly '@type'?: string | readonly string[] | undefined; }; type JSONLinkedDataOutput = { readonly '@context'?: 'https://schema.org' | undefined; readonly '@id'?: string | undefined; readonly '@type': readonly string[]; }; declare const jsonLinkedDataSchema: GenericSchema; /** * The most generic type of item. * * This is partial implementation of https://schema.org/Thing. * * @see https://schema.org/Thing */ type ThingInput = JSONLinkedDataInput & { /** * An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org [style guide](https://schema.org/docs/styleguide.html). * * @see https://schema.org/additionalType */ readonly additionalType?: string | readonly string[] | undefined; /** * An alias for the item. * * @see https://schema.org/alternateName */ readonly alternateName?: string | readonly string[] | undefined; /** * A description of the item. * * @see https://schema.org/description */ readonly description?: string | readonly string[] | undefined; /** * The name of the item. * * @see https://schema.org/name */ readonly name?: string | readonly string[] | undefined; /** * Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. * * @see https://schema.org/potentialAction */ readonly potentialAction?: ActionInput | readonly ActionInput[] | undefined; /** * URL of the item. * * @see https://schema.org/url */ readonly url?: string | readonly string[] | undefined; }; /** * The most generic type of item. * * This is partial implementation of https://schema.org/Thing. * * @see https://schema.org/Thing */ type ThingOutput = JSONLinkedDataOutput & { /** * An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org [style guide](https://schema.org/docs/styleguide.html). * * @see https://schema.org/additionalType */ readonly additionalType: readonly string[]; /** * An alias for the item. * * @see https://schema.org/alternateName */ readonly alternateName: readonly string[]; /** * A description of the item. * * @see https://schema.org/description */ readonly description: readonly string[]; /** * The name of the item. * * @see https://schema.org/name */ readonly name: readonly string[]; /** * Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. * * @see https://schema.org/potentialAction */ readonly potentialAction: readonly ActionOutput[]; /** * URL of the item. * * @see https://schema.org/url */ readonly url: readonly string[]; }; declare const thingSchema: GenericSchema; /** @deprecated Use Valibot.parse(thingSchema) instead. Will be removed on or after 2028-04-23. */ declare const parseThing: (thing: ThingInput) => ThingOutput; /** * An enterprise (potentially individual but typically collaborative), planned to achieve a particular aim. Use properties from [Organization](https://schema.org/Organization), [subOrganization](https://schema.org/subOrganization)/[parentOrganization](https://schema.org/parentOrganization) to indicate project sub-structures. * * This is partial implementation of https://schema.org/Project. * * @see https://schema.org/Project */ type ProjectInput = ThingInput & { /** * A slogan or motto associated with the item. * * @see https://schema.org/slogan */ readonly slogan?: string | readonly string[] | undefined; }; /** * An enterprise (potentially individual but typically collaborative), planned to achieve a particular aim. Use properties from [Organization](https://schema.org/Organization), [subOrganization](https://schema.org/subOrganization)/[parentOrganization](https://schema.org/parentOrganization) to indicate project sub-structures. * * This is partial implementation of https://schema.org/Project. * * @see https://schema.org/Project */ type ProjectOutput = ThingOutput & { /** * A slogan or motto associated with the item. * * @see https://schema.org/slogan */ readonly slogan: readonly string[]; }; declare const projectSchema: GenericSchema; /** @deprecated Use Valibot.parse(projectSchema) instead. Will be removed on or after 2028-04-23. */ declare const parseProject: (project: ProjectInput) => ProjectOutput; /** * A review created by an end-user (e.g. consumer, purchaser, attendee etc.), in contrast with [`CriticReview`](https://schema.org/CriticReview). * * This is partial implementation of https://schema.org/UserReview. * * @see https://schema.org/UserReview */ type UserReviewInput = ThingInput & { /** * This Review or Rating is relevant to this part or facet of the itemReviewed. */ readonly reviewAspect?: string | readonly string[] | undefined; }; /** * A review created by an end-user (e.g. consumer, purchaser, attendee etc.), in contrast with [`CriticReview`](https://schema.org/CriticReview). * * This is partial implementation of https://schema.org/UserReview. * * @see https://schema.org/UserReview */ type UserReviewOutput = ThingOutput & { /** * This Review or Rating is relevant to this part or facet of the itemReviewed. */ readonly reviewAspect: readonly string[]; }; declare const userReviewSchema: GenericSchema; /** * An action performed by a direct agent and indirect participants upon a direct object. Optionally happens at a location with the help of an inanimate instrument. The execution of the action may produce a result. Specific action sub-type documentation specifies the exact expectation of each argument/role. * * See also [blog post](http://blog.schema.org/2014/04/announcing-schemaorg-actions.html) and [Actions overview document](https://schema.org/docs/actions.html). * * This is partial implementation of https://schema.org/Action. * * @see https://schema.org/Action */ type ActionInput = ThingInput & { /** * A sub property of object. The options subject to this action. Supersedes [`option`](https://schema.org/option). */ readonly actionOption?: string | ThingInput | readonly (string | ThingInput)[] | undefined; /** * Indicates the current disposition of the Action. * * @see https://schema.org/actionStatus */ readonly actionStatus?: ActionStatusInput | readonly ActionStatusInput[] | undefined; /** * The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller. Supersedes [carrier](https://schema.org/carrier). * * @see https://schema.org/provider */ readonly provider?: ProjectInput | readonly ProjectInput[] | undefined; /** * The result produced in the action. E.g. John wrote *a book*. */ readonly result?: ThingInput | UserReviewInput | readonly (ThingInput | UserReviewInput)[] | undefined; }; /** * An action performed by a direct agent and indirect participants upon a direct object. Optionally happens at a location with the help of an inanimate instrument. The execution of the action may produce a result. Specific action sub-type documentation specifies the exact expectation of each argument/role. * * See also [blog post](http://blog.schema.org/2014/04/announcing-schemaorg-actions.html) and [Actions overview document](https://schema.org/docs/actions.html). * * This is partial implementation of https://schema.org/Action. * * @see https://schema.org/Action */ type ActionOutput = ThingOutput & { /** * A sub property of object. The options subject to this action. Supersedes [`option`](https://schema.org/option). */ readonly actionOption: readonly (string | ThingOutput)[]; /** * Indicates the current disposition of the Action. * * @see https://schema.org/actionStatus */ readonly actionStatus: readonly ActionStatusOutput[]; /** * The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller. Supersedes [carrier](https://schema.org/carrier). * * @see https://schema.org/provider */ readonly provider: readonly ProjectOutput[]; /** * The result produced in the action. E.g. John wrote *a book*. */ readonly result: readonly (ThingOutput | UserReviewOutput)[]; }; declare const actionSchema: GenericSchema; /** @deprecated Use Valibot.parse(actionSchema) instead. Will be removed on or after 2028-04-23. */ declare const parseAction: (action: ActionInput) => ActionOutput; declare const creativeWorkStatusSchema: valibot.PicklistSchema<["Incomplete", "Published"], undefined>; type CreativeWorkStatusInput = InferInput; type CreativeWorkStatusOutput = InferOutput; /** * A word, name, acronym, phrase, etc. with a formal definition. Often used in the context of category or subject classification, glossaries or dictionaries, product or creative work types, etc. Use the name property for the term being defined, use termCode if the term has an alpha-numeric code allocated, use description to provide the definition of the term. * * This is partial implementation of https://schema.org/DefinedTerm. * * @see https://schema.org/DefinedTerm */ type DefinedTermInput = ThingInput & { /** * A [DefinedTermSet](https://schema.org/DefinedTermSet) that contains this term. * * @see https://schema.org/inDefinedTermSet */ readonly inDefinedTermSet?: string | readonly string[] | undefined; /** * A code that identifies this [DefinedTerm](https://schema.org/DefinedTerm) within a [DefinedTermSet](https://schema.org/DefinedTermSet). * * @see https://schema.org/termCode */ readonly termCode?: string | readonly string[] | undefined; }; /** * A word, name, acronym, phrase, etc. with a formal definition. Often used in the context of category or subject classification, glossaries or dictionaries, product or creative work types, etc. Use the name property for the term being defined, use termCode if the term has an alpha-numeric code allocated, use description to provide the definition of the term. * * This is partial implementation of https://schema.org/DefinedTerm. * * @see https://schema.org/DefinedTerm */ type DefinedTermOutput = ThingOutput & { /** * A [DefinedTermSet](https://schema.org/DefinedTermSet) that contains this term. * * @see https://schema.org/inDefinedTermSet */ readonly inDefinedTermSet: readonly string[]; /** * A code that identifies this [DefinedTerm](https://schema.org/DefinedTerm) within a [DefinedTermSet](https://schema.org/DefinedTermSet). * * @see https://schema.org/termCode */ readonly termCode: readonly string[]; }; declare const definedTermSchema: GenericSchema; /** @deprecated Use Valibot.parse(definedTermSchema) instead. Will be removed on or after 2028-04-23. */ declare const parseDefinedTerm: (definedTerm: DefinedTermInput) => DefinedTermOutput; /** * A person (alive, dead, undead, or fictional). * * This is partial implementation of https://schema.org/Person. * * @see https://schema.org/Person */ type PersonInput = ThingInput & { /** * An image of the item. This can be a [URL](https://schema.org/URL) or a fully described [ImageObject](https://schema.org/ImageObject). * * Note: `ImageObject` is not supported. * * @see https://schema.org/image */ readonly image?: string | readonly string[] | undefined; }; /** * A person (alive, dead, undead, or fictional). * * This is partial implementation of https://schema.org/Person. * * @see https://schema.org/Person */ type PersonOutput = ThingOutput & { /** * An image of the item. This can be a [URL](https://schema.org/URL) or a fully described [ImageObject](https://schema.org/ImageObject). * * Note: `ImageObject` is not supported. * * @see https://schema.org/image */ readonly image: readonly string[]; }; declare const personSchema: GenericSchema; /** * Computer programming source code. Example: Full (compile ready) solutions, code snippet samples, scripts, templates. * * This is partial implementation of https://schema.org/SoftwareSourceCode. * * @see https://schema.org/SoftwareSourceCode */ type SoftwareSourceCodeInput = CreativeWorkInput & { /** * The computer programming language. * * @see https://schema.org/programmingLanguage */ readonly programmingLanguage?: string | readonly string[] | undefined; }; /** * Computer programming source code. Example: Full (compile ready) solutions, code snippet samples, scripts, templates. * * This is partial implementation of https://schema.org/SoftwareSourceCode. * * @see https://schema.org/SoftwareSourceCode */ type SoftwareSourceCodeOutput = CreativeWorkOutput & { /** * The computer programming language. * * @see https://schema.org/programmingLanguage */ readonly programmingLanguage: readonly string[]; }; declare const softwareSourceCodeSchema: GenericSchema; /** * The most generic kind of creative work, including books, movies, photographs, software programs, etc. * * This is partial implementation of https://schema.org/CreativeWork. * * @see https://schema.org/CreativeWork */ type CreativeWorkInput = ThingInput & { /** * An abstract is a short description that summarizes a [CreativeWork](https://schema.org/CreativeWork). * * @see https://schema.org/abstract */ readonly abstract?: string | readonly string[] | undefined; /** * The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably. * * @see https://schema.org/author */ readonly author?: PersonInput | string | readonly (PersonInput | string)[] | undefined; /** * A citation or reference to another creative work, such as another publication, web page, scholarly article, etc. * * @see https://schema.org/citation */ readonly citation?: CreativeWorkInput | readonly CreativeWorkInput[] | undefined; /** * The status of the creative work, such as whether it is incomplete or published. * * @see https://schema.org/creativeWorkStatus */ readonly creativeWorkStatus?: CreativeWorkStatusInput | readonly CreativeWorkStatusInput[] | undefined; /** * The schema.org [isBasedOn](https://schema.org/isBasedOn) property provides a resource from which this work is derived or from which it is a modification or adaptation. */ readonly isBasedOn?: SoftwareSourceCodeInput | readonly SoftwareSourceCodeInput[] | undefined; /** * Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of. * * @see https://schema.org/isPartOf */ readonly isPartOf?: CreativeWorkInput | readonly CreativeWorkInput[] | undefined; /** * Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property. * * @see https://schema.org/keywords */ readonly keywords?: DefinedTermInput | string | readonly (DefinedTermInput | string)[] | undefined; /** * A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported. * * @see https://schema.org/pattern */ readonly pattern?: DefinedTermInput | readonly DefinedTermInput[] | undefined; /** * The position of an item in a series or sequence of items. * * @see https://schema.org/position */ readonly position?: number | string | readonly (number | string)[] | undefined; /** * The textual content of this CreativeWork. * * @see https://schema.org/text */ readonly text?: string | readonly string[] | undefined; /** * The schema.org [usageInfo](https://schema.org/usageInfo) property indicates further information about a [CreativeWork](https://schema.org/CreativeWork). This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options. * * This property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses. */ readonly usageInfo?: CreativeWorkInput | readonly CreativeWorkInput[] | undefined; }; /** * The most generic kind of creative work, including books, movies, photographs, software programs, etc. * * This is partial implementation of https://schema.org/CreativeWork. * * @see https://schema.org/CreativeWork */ type CreativeWorkOutput = ThingOutput & { /** * An abstract is a short description that summarizes a [CreativeWork](https://schema.org/CreativeWork). * * @see https://schema.org/abstract */ readonly abstract: readonly string[]; /** * The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably. * * @see https://schema.org/author */ readonly author: readonly (PersonOutput | string)[]; /** * A citation or reference to another creative work, such as another publication, web page, scholarly article, etc. * * @see https://schema.org/citation */ readonly citation: readonly CreativeWorkOutput[]; /** * The status of the creative work, such as whether it is incomplete or published. * * @see https://schema.org/creativeWorkStatus */ readonly creativeWorkStatus: readonly CreativeWorkStatusOutput[]; /** * The schema.org [isBasedOn](https://schema.org/isBasedOn) property provides a resource from which this work is derived or from which it is a modification or adaptation. */ readonly isBasedOn: readonly SoftwareSourceCodeOutput[]; /** * Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of. * * @see https://schema.org/isPartOf */ readonly isPartOf: readonly CreativeWorkOutput[]; /** * Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property. * * @see https://schema.org/keywords */ readonly keywords: readonly (DefinedTermOutput | string)[]; /** * A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported. * * @see https://schema.org/pattern */ readonly pattern: readonly DefinedTermOutput[]; /** * The position of an item in a series or sequence of items. * * @see https://schema.org/position */ readonly position: readonly (number | string)[]; /** * The textual content of this CreativeWork. * * @see https://schema.org/text */ readonly text: readonly string[]; /** * The schema.org [usageInfo](https://schema.org/usageInfo) property indicates further information about a [CreativeWork](https://schema.org/CreativeWork). This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options. * * This property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses. */ readonly usageInfo: readonly CreativeWorkOutput[]; }; declare const creativeWorkSchema: GenericSchema; /** @deprecated Use Valibot.parse(creativeWorkSchema) instead. Will be removed on or after 2028-04-23. */ declare const parseCreativeWork: (creativeWork: CreativeWorkInput) => CreativeWorkOutput; /** * A [Claim](https://schema.org/Claim) in Schema.org represents a specific, factually-oriented claim that could be the [itemReviewed](https://schema.org/itemReviewed) in a [ClaimReview](https://schema.org/ClaimReview). The content of a claim can be summarized with the [text](https://schema.org/text) property. Variations on well known claims can have their common identity indicated via [sameAs](https://schema.org/sameAs) links, and summarized with a name. Ideally, a [Claim](https://schema.org/Claim) description includes enough contextual information to minimize the risk of ambiguity or inclarity. In practice, many claims are better understood in the context in which they appear or the interpretations provided by claim reviews. * * Beyond [ClaimReview](https://schema.org/ClaimReview), the Claim type can be associated with related creative works - for example a [ScholarlyArticle](https://schema.org/ScholarlyArticle) or [Question](https://schema.org/Question) might be about some [Claim](https://schema.org/Claim). * * This is partial implementation of https://schema.org/Claim. * * @see https://schema.org/Claim. */ type ClaimInput = CreativeWorkInput & { /** * Indicates an occurrence of a [Claim](https://schema.org/Claim) in some [CreativeWork](https://schema.org/CreativeWork). * * @see https://schema.org/appearance. */ readonly appearance?: CreativeWorkInput | readonly CreativeWorkInput[] | undefined; /** * For a [Claim](https://schema.org/Claim) interpreted from [MediaObject](https://schema.org/MediaObject) content sed to indicate a claim contained, implied or refined from the content of a [MediaObject](https://schema.org/MediaObject). * * @see https://schema.org/claimInterpreter. */ readonly claimInterpreter?: ProjectInput | readonly ProjectInput[] | undefined; }; /** * A [Claim](https://schema.org/Claim) in Schema.org represents a specific, factually-oriented claim that could be the [itemReviewed](https://schema.org/itemReviewed) in a [ClaimReview](https://schema.org/ClaimReview). The content of a claim can be summarized with the [text](https://schema.org/text) property. Variations on well known claims can have their common identity indicated via [sameAs](https://schema.org/sameAs) links, and summarized with a name. Ideally, a [Claim](https://schema.org/Claim) description includes enough contextual information to minimize the risk of ambiguity or inclarity. In practice, many claims are better understood in the context in which they appear or the interpretations provided by claim reviews. * * Beyond [ClaimReview](https://schema.org/ClaimReview), the Claim type can be associated with related creative works - for example a [ScholarlyArticle](https://schema.org/ScholarlyArticle) or [Question](https://schema.org/Question) might be about some [Claim](https://schema.org/Claim). * * This is partial implementation of https://schema.org/Claim. * * @see https://schema.org/Claim. */ type ClaimOutput = CreativeWorkOutput & { /** * Indicates an occurrence of a [Claim](https://schema.org/Claim) in some [CreativeWork](https://schema.org/CreativeWork). * * @see https://schema.org/appearance. */ readonly appearance: readonly CreativeWorkOutput[]; /** * For a [Claim](https://schema.org/Claim) interpreted from [MediaObject](https://schema.org/MediaObject) content sed to indicate a claim contained, implied or refined from the content of a [MediaObject](https://schema.org/MediaObject). * * @see https://schema.org/claimInterpreter. */ readonly claimInterpreter: readonly ProjectOutput[]; }; declare const claimSchema: GenericSchema; /** @deprecated Use Valibot.parse(claimSchema) instead. Will be removed on or after 2028-04-23. */ declare const parseClaim: (claim: ClaimInput) => ClaimOutput; /** * An action performed by a direct agent and indirect participants upon a direct object. Optionally happens at a location with the help of an inanimate instrument. The execution of the action may produce a result. Specific action sub-type documentation specifies the exact expectation of each argument/role. * * See also [blog post](http://blog.schema.org/2014/04/announcing-schemaorg-actions.html) and [Actions overview document](https://schema.org/docs/actions.html). * * This is partial implementation of https://schema.org/Action. * * @see https://schema.org/Action */ type VoteActionInput = ActionInput & { /** * A sub property of object. The options subject to this action. Supersedes [option](https://schema.org/option). * * @see https://schema.org/VoteAction */ readonly actionOption?: string | readonly string[] | undefined; }; /** * An action performed by a direct agent and indirect participants upon a direct object. Optionally happens at a location with the help of an inanimate instrument. The execution of the action may produce a result. Specific action sub-type documentation specifies the exact expectation of each argument/role. * * See also [blog post](http://blog.schema.org/2014/04/announcing-schemaorg-actions.html) and [Actions overview document](https://schema.org/docs/actions.html). * * This is partial implementation of https://schema.org/Action. * * @see https://schema.org/Action */ type VoteActionOutput = ActionOutput & { /** * A sub property of object. The options subject to this action. Supersedes [option](https://schema.org/option). * * @see https://schema.org/VoteAction */ readonly actionOption: readonly string[]; }; declare const voteActionSchema: GenericSchema; /** @deprecated Use Valibot.parse(voteActionSchema) instead. Will be removed on or after 2028-04-23. */ declare const parseVoteAction: (voteAction: VoteActionInput) => VoteActionOutput; declare function isOfType(type: string, thing: JSONLinkedDataOutput): boolean; export { actionSchema as d, claimSchema as e, creativeWorkSchema as f, definedTermSchema as g, projectSchema as h, isOfType as i, jsonLinkedDataSchema as j, parseAction as k, parseClaim as l, parseCreativeWork as m, parseDefinedTerm as n, parseProject as o, personSchema as p, parseThing as q, parseVoteAction as r, softwareSourceCodeSchema as s, thingSchema as t, userReviewSchema as u, voteActionSchema as v }; export type { ActionOutput as A, CreativeWorkOutput as C, DefinedTermOutput as D, JSONLinkedDataInput as J, PersonOutput as P, SoftwareSourceCodeOutput as S, ThingOutput as T, UserReviewOutput as U, VoteActionOutput as V, JSONLinkedDataOutput as a, ClaimOutput as b, ProjectOutput as c };