You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: discovery/readme.md
+22-19
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,17 @@
2
2
3
3
**NOTE**: _This is a proposal for the WG_
4
4
5
+
-[From product identifier to API endpoint](#from-product-identifier-to-api-endpoint)
6
+
-[TEA Discovery - defining an extensible identifier](#tea-discovery---defining-an-extensible-identifier)
7
+
-[The TEI URN: An extensible identifier](#the-tei-urn-an-extensible-identifier)
8
+
-[TEI syntax](#tei-syntax)
9
+
-[TEI types](#tei-types)
10
+
-[TEI resolution using DNS](#tei-resolution-using-dns)
11
+
-[Finding the Index using DNS result](#finding-the-index-using-dns-result)
12
+
-[The TEA Version Index](#the-tea-version-index)
13
+
-[References](#references)
14
+
15
+
5
16
## From product identifier to API endpoint
6
17
7
18
TEA Discovery is the connection between a product identifier and the API endpoint.
@@ -19,11 +30,8 @@ TEA discovery is the process where a user with a product identifier can discover
19
30
artifacts automatically, with or without authentication. A globally unique identifier is
20
31
required for a given product. This identifier is called the Transparency Exchange Identifier (TEI).
21
32
22
-
The TEI identifier is based on DNS, which assures a
23
-
uniqueness per vendor (or open source project) and gives the vendor a name space to
24
-
define product identifiers based on existing or new identifiers like EAN bar code,
25
-
PURLs or other existing schemes. A given product may have multiple identifiers as long as
26
-
they all resolve into the same destination.
33
+
The TEI identifier is based on DNS, which assures a uniqueness per vendor (or open source project)
34
+
and gives the vendor a name space to define product identifiers based on existing or new identifiers like EAN bar code, PURLs or other existing schemes. A given product may have multiple identifiers as long as they all resolve into the same destination.
27
35
28
36
## The TEI URN: An extensible identifier
29
37
@@ -35,26 +43,20 @@ The TEI can be shown in the software itself, in shipping documentation, in web p
35
43
TEI is unique for a product, not a version of a software. The TEI consist of three core parts
36
44
37
45
- The **`type`** which defines the syntax of the unique identifier part
38
-
- The **`domain-name`** part does not have to exist as a web server (HTTPS)
39
-
- The uniqueness of the name is the domain name part that has to be registred at creation of the TEI
40
-
- The **`unique-identifier`** has to be unique within the `domain-name` - see [TEI Types](#tei-types)
46
+
- The **`domain-name`** part does not have to exist as a web server (HTTPS), but may do
47
+
- The uniqueness of the name is the domain name part that has to be registred at creation of the TEI.
48
+
- The **`unique-identifier`** has to be unique within the `domain-name`. Recommendation is to use a UUID but it can be an existing article code too
41
49
42
50
A TEI belongs to a single product. A product can have multiple TEIs - like one with a EAN
43
-
bar code and one with the vendor's product number.
51
+
barcode and one with the vendor's product number.
44
52
45
53
### TEI syntax
46
54
47
55
```
48
56
urn:tei:<type>:<domain-name>:<unique-identifier>
49
57
````
50
58
51
-
**Note**: this requires a registration of the TEI URN schema with IANA.
52
-
53
-
### TEI examples
54
-
55
-
- `urn:tei:uuid:` for a company specific name and product identifier as UUID
0 commit comments