Otter · Schema

SkuBarcode

A barcode for the product which may be common types like UPC, GTIN, ASIN or an internal type.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
barcodeType string The type of the barcode.
value string The value of the barcode.
View JSON Schema on GitHub

JSON Schema

public-api-sku-barcode-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SkuBarcode",
  "description": "A barcode for the product which may be common types like UPC, GTIN, ASIN or an internal type.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-sku-barcode-schema.json",
  "type": "object",
  "properties": {
    "barcodeType": {
      "type": "string",
      "description": "The type of the barcode.",
      "enum": [
        "UPC",
        "GTIN",
        "ASIN",
        "INTERNAL"
      ],
      "example": "UPC"
    },
    "value": {
      "type": "string",
      "description": "The value of the barcode.",
      "example": "049000028904 (UPC)"
    }
  }
}