spdx-3-model icon indicating copy to clipboard operation
spdx-3-model copied to clipboard

Include short examples from AI BOM whitepaper to each class/property

Open bact opened this issue 8 months ago • 4 comments

Implementing AI Bill of Materials (AI BOM) with SPDX 3.0 whitepaper contains concise examples of how to use each class and property in AI and Dataset Profiles.

We can include those examples to the "Example" section in the model Markdown files in this repo, so it will be displayed on the generated website as well.

Examples from the whitepaper:

bact avatar Apr 02 '25 17:04 bact

Full examples would probably be placed best in the https://github.com/spdx/spdx-examples repo.

Snippets should probably be placed best in the https://github.com/spdx/using repo.

I don't think they should be in the specification (unless we define a separate section, and we explicitly say that these are not normative).

zvr avatar Apr 02 '25 20:04 zvr

As examples, they are not normative. This is merely follow examples in Security Profile.

Define a separate section and clearly said that these are not normative is a good idea.

bact avatar Apr 03 '25 15:04 bact

A separate section might be a nice idea, in a way that it will allow us to choose what to be generated in which circumstances. If the "Example" section is not desired for the official specification document or for any concise-formatted document, it can be omitted.

We currently (in 3.0.1) have *Example* (italic formatting, not an actual Markdown or HTML heading) in several Profiles. For example:

  • model/AI/Classes/EnergyConsumption*.md
  • model/Core/Datatypes/MediaType.md
  • model/Security/Classes/*Relationship.md
  • model/Security/Classes/Vulnerability.md

bact avatar Apr 03 '25 16:04 bact

We could change the generated example to include the examples from the AI BOM whitepaper.

goneall avatar Nov 14 '25 23:11 goneall