{ "$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"] }