@@ -18,6 +18,75 @@ A TEA Component Release object has the following parts:
1818 - __ idType__ : Type of identifier, e.g. ` tei ` , ` purl ` , ` cpe `
1919 - __ idValue__ : Identifier value
2020
21+ ### Examples
22+
23+ A TEA Component Release object of the binary distribution of Apache Tomcat 11.0.6 will look like:
24+
25+ ``` json
26+ {
27+ "uuid" : " 605d0ecb-1057-40e4-9abf-c400b10f0345" ,
28+ "version" : " 11.0.6" ,
29+ "release_date" : " 2025-04-01T15:43:00Z" ,
30+ "identifiers" : [
31+ {
32+ "idType" : " purl" ,
33+ "idValue" : " pkg:maven/org.apache.maven/maven@11.0.6?type=zip"
34+ }
35+ ]
36+ }
37+ ```
38+
39+ The binary distribution for Windows should have a separate TEA Component Release object,
40+ because the associated TEA Collections might differ:
41+
42+ ``` json
43+ {
44+ "uuid" : " a9570065-9fc6-4d35-97b4-4bc67d68dbcd" ,
45+ "version" : " 11.0.6" ,
46+ "release_date" : " 2025-04-01T15:43:00Z" ,
47+ "identifiers" : [
48+ {
49+ "idType" : " purl" ,
50+ "idValue" : " pkg:maven/org.apache.maven/maven@11.0.6?classifier=windows-x64&type=zip"
51+ }
52+ ]
53+ }
54+ ```
55+
56+ Different versions of Apache Tomcat should have separate TEA Component Release objects:
57+
58+ ``` json
59+ {
60+ "uuid" : " da89e38e-95e7-44ca-aa7d-f3b6b34c7fab" ,
61+ "version" : " 10.1.4" ,
62+ "release_date" : " 2025-04-01T18:20:00Z" ,
63+ "identifiers" : [
64+ {
65+ "idType" : " purl" ,
66+ "idValue" : " pkg:maven/org.apache.maven/maven@10.1.4?type=zip"
67+ }
68+ ]
69+ }
70+ ```
71+
72+ The pre-release flag is used to mark versions not production ready
73+ and does not require users to know the version naming scheme adopted by the project.
74+
75+ ``` json
76+ {
77+ "uuid" : " 95f481df-f760-47f4-b2f2-f8b76d858450" ,
78+ "version" : " 11.0.0-M26" ,
79+ "release_date" : " 2024-09-13T17:49:00Z" ,
80+ "pre_release" : true ,
81+ "identifiers" : [
82+ {
83+ "idType" : " purl" ,
84+ "idValue" : " pkg:maven/org.apache.maven/maven@11.0.0-M26?type=zip"
85+ }
86+ ]
87+ }
88+ ```
89+
2190## The TEA Collection object (TCO)
2291
2392For each product and version there is a Tea Collection object, which is a list
0 commit comments