Nokome Bentley2 min read

Product

Any offered product or service. For example, a pair of shoes; a haircut; or an episode of a TV show streamed online.

The Product type allows you to provide details about a product such as the product brand, logo and ID. This type can be used as any kind of product that is not CreativeWork item.

Product is analogous, and structurally similar to, the JATS XML <product> element which contains the metadata concerning one product (for example, a book, software package, website, or hardware component) discussed in an article.

To meet Google's guidelines for Product instances are required to have image and name properties.

Properties

The Product type has these properties:

Name Description Type Inherited from JSON-LD @id Aliases
id The identifier for this item. String Entity schema:id -
alternateNames Alternate names (aliases) for the item. String* Thing schema:alternateName alternate-names, alternate_names, alternateName, alternate-name, alternate_name
description A description of the item. String Thing schema:description -
identifiers Any kind of identifier for any kind of Thing. (PropertyValue | String)* Thing schema:identifier identifier
images Images of the item. ImageObject* Thing schema:image image
name The name of the item. String Thing schema:name -
url The URL of the item. String Thing schema:url -
brands Brands that the product is labelled with. Brand* - schema:brand brand
logo The logo of the product. ImageObject - schema:logo -
productID Product identification code. String - schema:productID product-id, product_id

Related

The Product type is related to these types:

  • Parents: Thing
  • Children: none

Formats

The Product type can be encoded (serialized) to, and/or decoded (deserialized) from, these formats:

Format Encoding Decoding Support Notes
DOM HTML 🟢 No loss
HTML 🔷 Low loss
JATS 🔷 Low loss Encoded as <product>
Markdown ⚠️ High loss
Stencila Markdown ⚠️ High loss
Quarto Markdown ⚠️ High loss
MyST Markdown ⚠️ High loss
LLM Markdown ⚠️ High loss
LaTeX 🔷 Low loss 🔷 Low loss
PDF 🔷 Low loss
Plain text ⚠️ High loss
IPYNB 🔷 Low loss 🔷 Low loss
Microsoft Word DOCX 🔷 Low loss 🔷 Low loss
OpenDocument ODT 🔷 Low loss 🔷 Low loss
TeX 🔷 Low loss 🔷 Low loss
JSON 🟢 No loss 🟢 No loss
JSON+Zip 🟢 No loss 🟢 No loss
JSON5 🟢 No loss 🟢 No loss
JSON-LD 🟢 No loss 🟢 No loss
CBOR 🟢 No loss 🟢 No loss
CBOR+Zstandard 🟢 No loss 🟢 No loss
YAML 🟢 No loss 🟢 No loss
Lexical JSON 🔷 Low loss 🔷 Low loss
Koenig JSON 🔷 Low loss 🔷 Low loss
Pandoc AST 🔷 Low loss 🔷 Low loss
Directory
Stencila Web Bundle
Debug 🔷 Low loss

Bindings

The Product type is represented in:

Source

This documentation was generated from Product.yaml by docs_types.rs.