Skip to content

Commit 716d576

Browse files
committed
order
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 7a6e637 commit 716d576

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cyclonedx/model/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ class HashAlgorithm(str, Enum):
277277
SHA3_256 = 'SHA3-256'
278278
SHA3_384 = 'SHA3-384' # Only supported in >= 1.2
279279
SHA3_512 = 'SHA3-512'
280-
STREEBOG_256 = 'Streebog-256'
281-
STREEBOG_512 = 'Streebog-512'
280+
STREEBOG_256 = 'Streebog-256' # Only supported in >= 1.7
281+
STREEBOG_512 = 'Streebog-512' # Only supported in >= 1.7
282282

283283

284284
class _HashTypeRepositorySerializationHelper(serializable.helpers.BaseHelper):
@@ -559,6 +559,7 @@ class ExternalReferenceType(str, Enum):
559559
BUILD_SYSTEM = 'build-system'
560560
CERTIFICATION_REPORT = 'certification-report' # Only supported in >= 1.5
561561
CHAT = 'chat'
562+
CITATION = 'citation' # Only supported in >= 1.7
562563
CODIFIED_INFRASTRUCTURE = 'codified-infrastructure' # Only supported in >= 1.5
563564
COMPONENT_ANALYSIS_REPORT = 'component-analysis-report' # Only supported in >= 1.5
564565
CONFIGURATION = 'configuration' # Only supported in >= 1.5
@@ -577,6 +578,9 @@ class ExternalReferenceType(str, Enum):
577578
MAILING_LIST = 'mailing-list'
578579
MATURITY_REPORT = 'maturity-report' # Only supported in >= 1.5
579580
MODEL_CARD = 'model-card' # Only supported in >= 1.5
581+
PATENT = 'patent' # Only supported in >= 1.7
582+
PATENT_ASSERTION = 'patent-assertion' # Only supported in >= 1.7
583+
PATENT_FAMILY = 'patent-family' # Only supported in >= 1.7
580584
PENTEST_REPORT = 'pentest-report' # Only supported in >= 1.5
581585
POAM = 'poam' # Only supported in >= 1.5
582586
QUALITY_METRICS = 'quality-metrics' # Only supported in >= 1.5
@@ -594,10 +598,6 @@ class ExternalReferenceType(str, Enum):
594598
VCS = 'vcs'
595599
VULNERABILITY_ASSERTION = 'vulnerability-assertion' # Only supported in >= 1.5
596600
WEBSITE = 'website'
597-
CITATION = 'citation'
598-
PATENT = 'patent'
599-
PATENT_ASSERTION = 'patent-assertion'
600-
PATENT_FAMILY = 'patent-family'
601601
# --
602602
OTHER = 'other'
603603

0 commit comments

Comments
 (0)