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: schema/2.0/README.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,34 @@
1
1
# CycloneDX 2.0 Schemas
2
2
3
-
This directory contains the official JSON Schema definitions for CycloneDX 2.0, as standardised in [ECMA-424](https://ecma-international.org/publications-and-standards/standards/ecma-424/). These schemas constitute the normative implementation of the CycloneDX specification and are intended for use in validation, tooling, and data exchange.
3
+
This directory contains the official JSON Schema definitions for CycloneDX 2.0, as standardised in
|[`cyclonedx-2.0.schema.json`](./cyclonedx-2.0.schema.json)| The normative schema for CycloneDX Bill of Materials (BOM) documents. This schema references modular models and defines the complete structure for expressing inventories and metadata. |
13
+
|[`cyclonedx-2.0-bundled.schema.json`](./cyclonedx-2.0-bundled.schema.json)| A fully resolved version of the BOM schema with all external model references inlined. Useful for systems that require a self-contained schema. |
10
14
|[`cyclonedx-api-2.0.schema.json`](./cyclonedx-api-2.0.schema.json)| The normative API-focused schema. It reuses CycloneDX models but is structured for compatibility with request/response patterns in service architectures. |
11
-
|[`cyclonedx-combined-2.0.schema.json`](./cyclonedx-combined-2.0.schema.json)| A fully resolved version of the BOM schema with all external model references inlined. Useful for systems that require a self-contained schema. |
12
-
|[`cyclonedx-api-combined-2.0.schema.json`](./cyclonedx-api-combined-2.0.schema.json)| The combined version of the API schema with all model definitions embedded. Suitable for use in tools or validators that do not support `$ref` resolution. |
15
+
|[`cyclonedx-api-2.0-bundled.schema.json`](./cyclonedx-api-2.0-bundled.schema.json)| The combined version of the API schema with all model definitions embedded. Suitable for use in tools or validators that do not support `$ref` resolution. |
13
16
14
17
## Modularity and Model Composition
15
18
16
-
CycloneDX 2.0 is defined as a modular specification. All core concepts—such as components, services, vulnerabilities, licensing, and AI/ML metadata—are encapsulated in reusable model definitions located in the [`model/`](./model) directory.
19
+
CycloneDX 2.0 is defined as a modular specification. All core concepts—such as components, services, vulnerabilities,
20
+
licensing, and AI/ML metadata, are encapsulated in reusable model definitions located in the [`model/`](./model) directory.
17
21
18
22
This modular architecture promotes:
19
23
20
24
-**Consistency** across multiple schema contexts
21
25
-**Reusability** of models within and beyond CycloneDX
22
26
-**Clarity and maintainability** for implementers
23
27
24
-
## Combined Schemas
28
+
## Bundled Schemas
25
29
26
-
The `*-combined` schema files are auto-generated from the normative schemas by resolving all references. These are provided for convenience and do not supersede the authoritative pre-defined schemas.
30
+
The `*-bundled` schema files are auto-generated from the normative schemas by resolving all references.
31
+
These are provided for convenience and do not supersede the authoritative pre-defined schemas.
0 commit comments