11# Transparency Exchange API - Discovery
22
3- ** NOTE** : _ This is a proposal for the WG_
4-
53- [ From product identifier to API endpoint] ( #from-product-identifier-to-api-endpoint )
64- [ Advertising the TEI] ( #advertising-the-tei )
75- [ TEA Discovery - defining an extensible identifier] ( #tea-discovery---defining-an-extensible-identifier )
1715## From product identifier to API endpoint
1816
1917TEA Discovery is the connection between a product identifier and the API endpoint.
20- A "product" is something that the customer aquires or downloads. It can be a bundle
21- of many digital devices or software applications. A "product" normally also has an
22- entry in a large corporation's asset inventory system.
18+ A "product" is something that the customer aquires or downloads - hardware and/or software.
19+
20+ It can be a bundle of many digital devices or software applications.
21+ A "product" normally also has an entry in a large corporation's asset inventory system.
2322
2423A product identifier is embedded in a URN where the identifier is one of many existing
2524identifiers or a random string - like an EAN or UPC bar code, UUID, product
@@ -37,6 +36,9 @@ The TEI for a product can be communicated to the user in many ways.
3736- On the invoice or delivery note
3837- For software with a GUI, in an "about" box
3938
39+ The user needs to get the TEI from the manufacturer, through a reseller or directly. The TEI
40+ is defined by the manufacturer and can normally not be derived from known information.
41+
4042## TEA Discovery - defining an extensible identifier
4143
4244TEA discovery is the process where a user with a product identifier can discover and download
@@ -48,20 +50,25 @@ and gives the vendor a name space to define product identifiers based on existin
4850like EAN/UPC bar code, PURLs or other existing schemes. A given product may have multiple identifiers
4951as long as they all resolve into the same destination.
5052
53+ The vendor needs to make sure that the TEI is unique within the vendor's name space. There is no
54+ intention to create any TEI registries.
55+
5156## The TEI URN: An extensible identifier
5257
5358The TEI, Transparency Exchange Identifier, is a URN schema that is extensible based on existing
5459identifiers like EAN codes, PURL and other identifiers. It is based on a DNS name, which leads
5560to global uniqueness without new registries.
5661
5762The TEI can be shown in the software itself, in shipping documentation, in web pages and app stores.
58- TEI is unique for a product, not a version of a software. The TEI consist of three core parts
63+ TEI is unique for a product, not a version of a product.
5964
6065A TEI belongs to a single product. A product can have multiple TEIs - like one with a EAN/UPC
6166barcode and one with the vendor's product number.
6267
6368### TEI syntax
6469
70+ The TEI consists of three core parts
71+
6572``` text
6673urn:tei:<type>:<domain-name>:<unique-identifier>
6774````
@@ -149,6 +156,11 @@ urn:tei:uuid:cyclonedx.org:d4d9f54a-abcf-11ee-ac79-1a52914d44b1
149156- GS1
150157- STD
151158
159+ Note that if an identifier, like EAN, is used for multiple different products then this
160+ EAN code will not be unique for a given product and should not be used as an identifier.
161+ In this case, the vendor is recommended to create a separate identifier for each unique
162+ product sold by other means, like UUID or hash.
163+
152164### TEI resolution using DNS
153165
154166The ` domain-name ` part of the TEI is used in a DNS query to find one or multiple locations for
@@ -200,11 +212,6 @@ Always prefix with the https:// scheme. http (unencrypted) is not valid.
200212
201213** NOTE:** The ` /.well-known/tea ` names space needs to be registred.
202214
203- ## The TEA Version Index
204-
205- The resulting URL leads to the TEA version index, which is documented in another document.
206- One redirect (302) is allowed in order to provide for aliasing, where a single product
207- has many identifiers. The redirect should not lead to a separate web server.
208215
209216## References
210217
0 commit comments