1212 license :
1313 name : Apache 2.0
1414 url : https://github.com/CycloneDX/transparency-exchange-api/blob/main/LICENSE
15- version : 0.3 .0-beta.2
15+ version : 0.4 .0-beta.3
1616servers :
1717 - url : http://localhost/tea/v1
1818 description : Local development
@@ -738,7 +738,7 @@ components:
738738 - idType : PURL
739739 idValue : pkg:maven/org.apache.tomcat/tomcat@11.0.7
740740 distributions :
741- - distributionType : zip
741+ - distributionId : 6a0d58e1-4896-4f1e-83f7-5feb6c032537
742742 description : Core binary distribution, zip archive
743743 identifiers :
744744 - idType : PURL
@@ -748,7 +748,7 @@ components:
748748 algValue : 9da736a1cdd27231e70187cbc67398d29ca0b714f885e7032da9f1fb247693c1
749749 url : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip
750750 signatureUrl : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip.asc
751- - distributionType : tar.gz
751+ - distributionId : dba01c13-dd96-4928-be72-9c87ffa8cab8
752752 description : Core binary distribution, tar.gz archive
753753 identifiers :
754754 - idType : PURL
@@ -758,7 +758,7 @@ components:
758758 algValue : 2fcece641c62ba1f28e1d7b257493151fc44f161fb391015ee6a95fa71632fb9
759759 url : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.tar.gz
760760 signatureUrl : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.tar.gz.asc
761- - distributionType : windows-x64.zip
761+ - distributionId : cfe068c2-fae7-43d0-97ec-5ea092454040
762762 description : Core binary distribution, Windows x64 zip archive
763763 identifiers :
764764 - idType : PURL
@@ -768,7 +768,7 @@ components:
768768 algValue : 62a5c358d87a8ef21d7ec1b3b63c9bbb577453dda9c00cbb522b16cee6c23fc4
769769 url : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6-windows-x64.zip
770770 signatureUrl : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip.asc
771- - distributionType : windows-x64.exe
771+ - distributionId : de45ffaf-e4b5-47b5-be28-444a76df098e
772772 description : Core binary distribution, Windows Service Installer (MSI)
773773 checksums :
774774 - algType : SHA_512
@@ -786,9 +786,9 @@ components:
786786 release-distribution :
787787 type : object
788788 properties :
789- distributionType :
790- type : string
791- description : Unique identifier for the distribution type.
789+ distributionId :
790+ description : A unique identifier for the TEA Distribution object
791+ " $ref " : " #/components/schemas/uuid "
792792 description :
793793 type : string
794794 description : Free-text description of the distribution.
@@ -811,9 +811,9 @@ components:
811811 items :
812812 " $ref " : " #/components/schemas/checksum"
813813 required :
814- - id
814+ - distributionId
815815 examples :
816- - distributionType : zip
816+ - distributionId : 6a0d58e1-4896-4f1e-83f7-5feb6c032537
817817 description : Core binary distribution, zip archive
818818 identifiers :
819819 - idType : PURL
@@ -823,7 +823,7 @@ components:
823823 algValue : 9da736a1cdd27231e70187cbc67398d29ca0b714f885e7032da9f1fb247693c1
824824 url : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip
825825 signatureUrl : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip.asc
826- - distributionType : tar.gz
826+ - distributionId : dba01c13-dd96-4928-be72-9c87ffa8cab8
827827 description : Core binary distribution, tar.gz archive
828828 identifiers :
829829 - idType : PURL
@@ -833,7 +833,7 @@ components:
833833 algValue : 2fcece641c62ba1f28e1d7b257493151fc44f161fb391015ee6a95fa71632fb9
834834 url : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.tar.gz
835835 signatureUrl : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.tar.gz.asc
836- - distributionType : windows-x64.zip
836+ - distributionId : cfe068c2-fae7-43d0-97ec-5ea092454040
837837 description : Core binary distribution, Windows x64 zip archive
838838 identifiers :
839839 - idType : PURL
@@ -843,7 +843,7 @@ components:
843843 algValue : 62a5c358d87a8ef21d7ec1b3b63c9bbb577453dda9c00cbb522b16cee6c23fc4
844844 url : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6-windows-x64.zip
845845 signatureUrl : https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip.asc
846- - distributionType : windows-x64.exe
846+ - distributionId : de45ffaf-e4b5-47b5-be28-444a76df098e
847847 description : Core binary distribution, Windows Service Installer (MSI)
848848 checksums :
849849 - algType : SHA_512
@@ -1011,22 +1011,26 @@ components:
10111011 type :
10121012 description : Type of TEA Artifact
10131013 " $ref " : " #/components/schemas/artifact-type"
1014- distributionTypes :
1014+ distributionIds :
10151015 type : array
10161016 description : |
1017- List of component distributions types that this TEA Artifact applies to.
1018- If absent, the TEA Artifact applies to all distributions.
1017+ List of TEA Component Release distributions that this TEA Artifact applies to.
1018+ If absent or empty , the TEA Artifact applies to all distributions.
10191019 items :
1020- type : string
1020+ " $ref " : " #/components/schemas/uuid "
10211021 description : |
1022- The `id` of the component format that this TEA Artifact applies to.
1022+ The distribution IDs of the TEA component release distributions that this TEA Artifact applies to.
10231023 formats :
10241024 type : array
10251025 description : |
10261026 List of objects with the same content, but in different formats.
10271027 The order of the list has no significance.
10281028 items :
10291029 " $ref " : " #/components/schemas/artifact-format"
1030+ required :
1031+ - uuid
1032+ - type
1033+ - formats
10301034 artifact-type :
10311035 type : string
10321036 description : Specifies the type of external reference.
@@ -1048,7 +1052,7 @@ components:
10481052 properties :
10491053 mediaType :
10501054 type : string
1051- description : The MIME type of the document
1055+ description : The Media Type of the document
10521056 description :
10531057 type : string
10541058 description : A free text describing the TEA Artifact
@@ -1074,6 +1078,9 @@ components:
10741078 algValue :
10751079 type : string
10761080 description : Checksum value
1081+ required :
1082+ - algType
1083+ - algValue
10771084 checksum-type :
10781085 type : string
10791086 description : Checksum algorithm
0 commit comments