Consumer Products · Schema

ProductIdentifier

A typed identifier assigned to a consumer product by a registry, manufacturer, or marketplace.

Consumer ProductsCPGProduct DataRetailGTINBarcodeProduct CatalogPIMSyndicationSchema.org Product

Properties

Name Type Description
type string Identifier scheme.
value string The identifier value, formatted per its scheme.
issuingAuthority string Issuing organization or namespace.
primary boolean Whether this is the primary identifier for the product.
View JSON Schema on GitHub

JSON Schema

product-identifier-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/consumer-products/refs/heads/main/json-schema/product-identifier-schema.json",
  "title": "ProductIdentifier",
  "description": "A typed identifier assigned to a consumer product by a registry, manufacturer, or marketplace.",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "Identifier scheme.",
      "enum": [
        "GTIN",
        "UPC",
        "EAN",
        "ISBN",
        "GLN",
        "SSCC",
        "ASIN",
        "MPN",
        "SKU"
      ],
      "example": "GTIN"
    },
    "value": {
      "type": "string",
      "description": "The identifier value, formatted per its scheme.",
      "example": "00012345678905"
    },
    "issuingAuthority": {
      "type": "string",
      "description": "Issuing organization or namespace.",
      "example": "GS1 US"
    },
    "primary": {
      "type": "boolean",
      "description": "Whether this is the primary identifier for the product.",
      "example": true
    }
  },
  "required": ["type", "value"]
}