|
| 1 | +# Serialization Use Cases |
| 2 | +Mapping from spdx-3-model [use case list](https://github.com/spdx/spdx-3-model/blob/main/serialization/README.md) |
| 3 | +to Element Examples |
| 4 | + |
| 5 | +- **Person:** [Person1](ex/person1.md) with minimal CreationInfo |
| 6 | +- **Agent:** [Agent1](ex/agent.md) |
| 7 | +- **Annotation:** [Annotation1](ex/annotation1.md) |
| 8 | +- **File:** [File1](ex/file1.md) |
| 9 | +- **Package:** [Package1](ex/package1.md) with [File1](ex/file1.md) and [File2](ex/file2.md) |
| 10 | +- **Package:** [Package2](ex/package2.md) with ExternalIdentifier |
| 11 | +- **Package:** [Package3](ex/package3.md) with ExternalReference |
| 12 | +- **Relationship:** [Relationship1](ex/relationship1.md) with [Package1](ex/package1.md) contains two Files |
| 13 | +- **Relationship:** [Relationship2](ex/relationship2.md) with time properties |
| 14 | +- **SBOM:** [Sbom1](ex/sbom1.md) with two Files |
| 15 | +- **SpdxDocument:** [SpdxDocument1](ex/spdxdocument1.md) with two Files |
| 16 | +- **SpdxDocument:** [SpdxDocument3](ex/spdxdocument3.md) with NamespaceMap |
| 17 | +- **SpdxDocument:** [SpdxDocument4](ex/spdxdocument4.md) with ExternalMap |
| 18 | +- **Person:** [Person3](ex/person3.md) with no CreationInfo *NOTE: invalid after model update* |
| 19 | +- **Person:** [Person1](ex/person1.md) with minimal CreationInfo |
| 20 | +- **Person:** [Person2](ex/person2.md) with full CreationInfo |
| 21 | +- **Bundle:** [Bundle1](ex/bundle1.md) *Note: with no elements?* |
| 22 | +- **two Persons:** [Person1](ex/person1.md) and [Person2](ex/person2.md) |
| 23 | +- **Bundle:** [Bundle2](ex/bundle2.md) of [Person1](ex/person1.md) and [Person2](ex/person2.md) |
| 24 | + |
| 25 | +Licensing use cases: |
| 26 | +- single artifact under one listed license: [License1](ex/license1.md)? |
| 27 | +- single artifact under one custom license: [CustomLicense1](ex/customlicense1.md)? |
| 28 | +- single artifact under license expression of listed licenses: [LicenseExpression1](ex/licenseexpression1.md)? |
| 29 | +- single artifact under license expression of listed and custom licenses: [LicenseExpression2](ex/licenseexpression2.md)? |
| 30 | +- two artifacts under same license expression of listed and custom licenses: [LicenseExpression3](ex/licenseexpression3.md)? |
| 31 | + |
| 32 | +*NOTE: need list of element types required by each licensing use case, specify which artifact examples* |
| 33 | + |
| 34 | +- security use cases to be added here |
| 35 | +- build use cases to be added here |
0 commit comments