Skip to content

Commit

Permalink
feat: remove upc from product as redundant with gtin
Browse files Browse the repository at this point in the history
  • Loading branch information
rhofvendahl committed Sep 5, 2023
1 parent 3d0e7b2 commit 0e79364
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ example: |-
"unitCode": "kg",
"value": "4890"
},
"upc": "033383401508",
"sku": "712120934258",
"imageUrl": "https://img.example.org/102934920857/937/903/",
"imageHash": "8kb47j986hklhde4rfh78okjhgjo08765fgu7tfg4t864fy876rfser45thj87f3"
Expand Down
12 changes: 0 additions & 12 deletions docs/openapi/components/schemas/common/Product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,6 @@ properties:
$linkedData:
term: gtin
'@id': https://schema.org/gtin
upc:
title: UPC Number
description: >-
UPC (aka UPC-A) consists of 12 numeric digits that are uniquely assigned
to each trade item. Along with the related EAN barcode, the UPC is the
barcode mainly used for scanning of trade items at the point of sale, per
GS1 specifications.
type: string
$linkedData:
term: upc
'@id': https://www.gs1.org/standards/barcodes/ean-upc
manufacturer:
title: Manufacturer
description: The entity manufacturing the product.
Expand Down Expand Up @@ -213,7 +202,6 @@ example: |-
"unitCode": "kg",
"value": "4890"
},
"upc": "033383401508",
"sku": "712120934258",
"imageUrl": "https://img.example.org/102934920857/937/903/",
"imageHash": "8kb47j986hklhde4rfh78okjhgjo08765fgu7tfg4t864fy876rfser45thj87f3"
Expand Down

0 comments on commit 0e79364

Please sign in to comment.