Skip to content

Commit 550769f

Browse files
committed
Encode the AI/ML schema draft for v2.0
Signed-off-by: Matt Rutkowski <mrutkows@us.ibm.com>
1 parent 32f7c56 commit 550769f

1 file changed

Lines changed: 90 additions & 8 deletions

File tree

schema/2.0/model/cyclonedx-ai-ml-2.0.schema.json

Lines changed: 90 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,97 @@
2121
"modelArchitecture": {
2222
"type": "object",
2323
"properties": {
24-
"family": {
25-
"type": "string",
26-
"title": "Architecture Family",
27-
"description": "The family of the model architecture."
24+
"structural": {
25+
"type": "object",
26+
"description": "Describes the primary architectural structure, layout constraints, and network topology.",
27+
"required": [
28+
"primary"
29+
],
30+
"properties": {
31+
"primary": {
32+
"type": "string",
33+
"description": "The core mathematical structural framework of the model backbone.",
34+
"examples": [
35+
"Transformer",
36+
"Convolutional Neural Network (CNN)",
37+
"Recurrent Neural Network (RNN)",
38+
"Mamba"
39+
]
40+
},
41+
"topologyType": {
42+
"type": "string",
43+
"description": "Specifies the runtime parameter activation and connection structure of the network layers.",
44+
"$todos": [
45+
"Need to make enum, that is extensible..."
46+
],
47+
"examples": [
48+
"Dense",
49+
"Sparse",
50+
"Dynamic",
51+
"Liquid"
52+
]
53+
},
54+
"secondary": {
55+
"type": "array",
56+
"description": "A list of secondary macro-layouts or component sub-networks built into the primary structure.",
57+
"uniqueItems": true,
58+
"items": {
59+
"type": "string"
60+
},
61+
"examples": [
62+
[
63+
"Decoder-Only",
64+
"Mixture-of-Experts"
65+
],
66+
[
67+
"VAE-Bottleneck",
68+
"Dual-Text-Encoders"
69+
]
70+
]
71+
}
72+
}
2873
},
29-
"name": {
30-
"type": "string",
31-
"title": "Architecture Name",
32-
"description": "The family of the model architecture."
74+
"behavioralParadigm": {
75+
"type": "array",
76+
"description": "The behavioral paradigm or modeling objective specifying how the system interacts with and learns data distributions.",
77+
"minItems": 1,
78+
"uniqueItems": true,
79+
"items": {
80+
"type": "string"
81+
},
82+
"examples": [
83+
[
84+
"Autoregressive",
85+
"Instruction-Tuned"
86+
],
87+
[
88+
"Diffusion",
89+
"Rectified-Flow"
90+
],
91+
[
92+
"Contrastive"
93+
]
94+
]
95+
},
96+
"specializedProcessing": {
97+
"type": "array",
98+
"description": "The custom processing mechanisms, attention kernels, and hardware-software optimization pipelines.",
99+
"minItems": 1,
100+
"uniqueItems": true,
101+
"items": {
102+
"type": "string"
103+
},
104+
"examples": [
105+
[
106+
"RoPE",
107+
"Grouped-Query-Attention",
108+
"FlashAttention-2"
109+
],
110+
[
111+
"Cross-Attention",
112+
"MMDiT-Block"
113+
]
114+
]
33115
},
34116
"externalReferences": {
35117
"type": "array",

0 commit comments

Comments
 (0)