Smart Data Models’ Candidates repository now includes a new candidate standard translated from the GS1 Web Vocabulary: gs1-web-vocabulary, with 6 candidate models for products, food and beverage products, wearable products, organizations, places and offers. The vocabulary is published by GS1 under Apache-2.0. Like every candidate, each model comes with a JSON Schema, an NGSI-LD @context and all four example serializations (NGSI-v2 and NGSI-LD, key-values and normalized), each validated against its schema.
About the GS1 Web Vocabulary
The GS1 Web Vocabulary is GS1’s RDF vocabulary for publishing product, organization, location and offer data on the web, tied to GS1 identifiers (GTIN for products, GLN for parties and locations) and to GS1 Digital Link. It extends schema.org with the attributes of GS1 master data: net content and dimensions, packaging, allergens, ingredients, nutrition, certifications, apparel and footwear attributes, organization roles, prices and discounts. Version 1.18, the one translated here, has 120 classes, 557 properties and 63 code lists.
The models
| Model | GS1 class | GS1 attributes | Example |
|---|---|---|---|
Product |
Product | 95 | A cordless drill (synthetic) |
FoodBeverageTobaccoProduct |
FoodBeverageTobaccoProduct, with Beverage, FruitsVegetables, MeatPoultry, dairy and Seafood | 201 | A real hazelnut spread, from Open Food Facts |
WearableProduct |
WearableProduct, with Clothing and Footwear | 116 | A trail running shoe (synthetic) |
Organization |
Organization | 31 | A retailer (synthetic) |
Place |
Place | 24 | The retailer’s store (synthetic) |
Offer |
Offer | 13 | The store’s offer of the real product (synthetic) |
The models are linked by GS1’s own relations: a product has a brandOwner and a manufacturer, an offer has an itemOffered, a seller and a place where it is availableAtOrFrom, and a place is occupiedBy an organization. In NGSI-LD these become Relationships.
Grounded in real data
The food example is a real product record from Open Food Facts (Open Database License): a 400 g jar of hazelnut and cocoa spread, with its GTIN, names in three languages, its allergens (milk, nuts and soy, as GS1 allergen codes) and its nutrition values per 100 g in GS1’s nutrient attributes. Only label facts are used. The retailer, store and offer around it are fictitious, and the other products use GS1’s demonstration prefix 950 for their GTINs and GLNs.
Translation notes
- GS1 names, verbatim. Every attribute keeps its GS1 name. The only exception is an organization’s
location, renamedgs1Locationbecauselocationis reserved in NGSI-LD. - Code lists as GS1 IRIs. Coded values (allergens, organization and location roles, payment methods…) are GS1 code-list members such as
gs1:AllergenTypeCode-AM, validated against the 55 code lists the models use, and expand to the official GS1 IRIs. - Multilingual text. Product names, descriptions and other texts are language maps, one entry per language, as in GS1.
- Subclasses folded in. The specific product classes (beverages, seafood, clothing, footwear…) are folded into their parent model, with a
gs1Classattribute saying which one applies. - Details nested. Allergen, nutrition, packaging, certification, price and other detail objects keep their full GS1 structure inside the entity.
Try it, and tell us what’s missing
These are Candidates: first, carefully sourced translations that are not yet official Smart Data Models subjects. Smart Data Models has no retail product subject yet, so this fills a gap. The main open questions are the generic type names Organization (already in dataModel.Organization) and Product (also in the UNTP candidate), and how GS1 products should link to digital product passports.
Browse the models, open an issue, or send a PR:
👉 https://github.com/smart-data-models/Candidates/tree/master/standards/gs1-web-vocabulary

