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/bom-1.5.proto
+325-2Lines changed: 325 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,8 @@ message Bom {
37
37
repeatedAnnotationannotations=11;
38
38
// Specifies optional, custom, properties
39
39
repeatedPropertyproperties=12;
40
+
// Describes how a component or service was manufactured or deployed. This is achieved through the use of formulas, workflows, tasks, and steps, which declare the precise steps to reproduce along with the observed formulas describing the steps which transpired in the manufacturing process.
41
+
repeatedFormulaformulation=13;
40
42
}
41
43
42
44
enumClassification {
@@ -253,6 +255,14 @@ enum ExternalReferenceType {
253
255
EXTERNAL_REFERENCE_TYPE_MODEL_CARD=32;
254
256
// Plans of Action and Milestones (POAM) compliment an "attestation" external reference. POAM is defined by NIST as a "document that identifies tasks needing to be accomplished. It details resources required to accomplish the elements of the plan, any milestones in meeting the tasks and scheduled completion dates for the milestones".
255
257
EXTERNAL_REFERENCE_TYPE_POAM=33;
258
+
// A record of events that occurred in a computer system or application, such as problems, errors, or information on current operations.
259
+
EXTERNAL_REFERENCE_TYPE_LOG=34;
260
+
// Parameters or settings that may be used by other components or services.
261
+
EXTERNAL_REFERENCE_TYPE_CONFIGURATION=35;
262
+
// Information used to substantiate a claim.
263
+
EXTERNAL_REFERENCE_TYPE_EVIDENCE=36;
264
+
// Describes how a component or service was manufactured or deployed.
265
+
EXTERNAL_REFERENCE_TYPE_FORMULATION=37;
256
266
}
257
267
258
268
enumHashAlg {
@@ -1144,8 +1154,10 @@ enum ComponentDataType {
1144
1154
COMPONENT_DATA_TYPE_CONFIGURATION=1;
1145
1155
// A collection of data.
1146
1156
COMPONENT_DATA_TYPE_DATASET=2;
1157
+
// Data that can be used to create new instances of what the definition defines.
1158
+
COMPONENT_DATA_TYPE_DEFINITION=3;
1147
1159
// Any other type of data that does not fit into existing definitions.
// Indicates the types of activities performed by the set of workflow tasks.
1244
+
repeatedTaskTypetaskTypes=7;
1245
+
// The trigger that initiated the task.
1246
+
optionalTriggertrigger=8;
1247
+
// "The sequence of steps for the task.
1248
+
repeatedStepsteps=9;
1249
+
// Represents resources and data brought into a task at runtime by executor or task commands
1250
+
repeatedInputTypeinputs=10;
1251
+
// Represents resources and data output from a task at runtime by executor or task commands
1252
+
repeatedOutputTypeoutputs=11;
1253
+
// The date and time (timestamp) when the task started.
1254
+
optionalgoogle.protobuf.TimestamptimeStart=14;
1255
+
// The date and time (timestamp) when the task ended.
1256
+
optionalgoogle.protobuf.TimestamptimeEnd=15;
1257
+
// A set of named filesystem or data resource shareable by workflow tasks.
1258
+
repeatedWorkspaceworkspaces=16;
1259
+
// A graph of the component runtime topology for task's instance.
1260
+
repeatedDependencyruntimeTopology=17;
1261
+
}
1262
+
1263
+
// Executes specific commands or tools in order to accomplish its owning task as part of a sequence.
1264
+
messageStep {
1265
+
// A name for the step.
1266
+
optionalstringname=1;
1267
+
// A description of the step.
1268
+
optionalstringdescription=2;
1269
+
// Ordered list of commands or directives for the step
1270
+
repeatedCommandcommands=3;
1271
+
// Domain-specific step properties.
1272
+
repeatedPropertyproperties=4;
1273
+
}
1274
+
1275
+
messageCommand {
1276
+
// A text representation of the executed command.
1277
+
optionalstringexecuted=1;
1278
+
// Domain-specific command properties.
1279
+
repeatedPropertyproperties=2;
1280
+
}
1281
+
1282
+
// A named filesystem or data resource shareable by workflow tasks.
1283
+
messageWorkspace {
1284
+
// BOM unique reference to the resource.
1285
+
stringbom_ref=1;
1286
+
// The unique identifier for the resource instance within its deployment context.
1287
+
stringuid=2;
1288
+
// The name of the resource instance.
1289
+
optionalstringname=3;
1290
+
// The names for the workspace as referenced by other workflow tasks. Effectively, a name mapping so other tasks can use their own local name in their steps.
1291
+
repeatedstringaliases=4;
1292
+
// A description of the resource instance.
1293
+
optionalstringdescription=5;
1294
+
// Domain-specific workspace instance properties.
1295
+
repeatedPropertyproperties=6;
1296
+
// References to component or service resources that are used to realize the resource instance.
// Describes the read-write access control for the workspace relative to the owning resource instance.
1299
+
optionalAccessModeaccessMode=8;
1300
+
// A path to a location on disk where the workspace will be available to the associated task's steps.
1301
+
optionalstringmountPath=9;
1302
+
// The name of a domain-specific data type the workspace represents.
1303
+
optionalstringmanagedDataType=10;
1304
+
// Identifies the reference to the request for a specific volume type and parameters.
1305
+
optionalstringvolumeRequest=11;
1306
+
// Information about the actual volume instance allocated to the workspace.
1307
+
optionalVolumevolume=12;
1308
+
1309
+
enumAccessMode {
1310
+
ACCESS_MODE_READ_ONLY=0;
1311
+
ACCESS_MODE_READ_WRITE=1;
1312
+
ACCESS_MODE_READ_WRITE_ONCE=2;
1313
+
ACCESS_MODE_WRITE_ONCE=3;
1314
+
ACCESS_MODE_WRITE_ONLY=4;
1315
+
}
1316
+
}
1317
+
1318
+
// An identifiable, logical unit of data storage tied to a physical device.
1319
+
messageVolume {
1320
+
// The unique identifier for the volume instance within its deployment context.
1321
+
optionalstringuid=1;
1322
+
// The name of the volume instance
1323
+
optionalstringname=2;
1324
+
// The volume mode for the volume instance.
1325
+
optionalVolumeModemode=3;
1326
+
// The underlying path created from the actual volume.
1327
+
optionalstringpath=4;
1328
+
// The allocated size of the volume accessible to the associated workspace. This should include the scalar size as well as IEC standard unit in either decimal or binary form.
1329
+
optionalstringsizeAllocated=5;
1330
+
// Indicates if the volume persists beyond the life of the resource it is associated with.
1331
+
optionalboolpersistent=6;
1332
+
// Indicates if the volume is remotely (i.e., network) attached.
1333
+
optionalboolremote=7;
1334
+
// Domain-specific volume instance properties.
1335
+
repeatedPropertyproperties=8;
1336
+
1337
+
enumVolumeMode {
1338
+
VOLUME_MODE_FILESYSTEM=0;
1339
+
VOLUME_MODE_BLOCK=1;
1340
+
}
1341
+
}
1342
+
1343
+
// Represents a resource that can conditionally activate (or fire) tasks based upon associated events and their data.
1344
+
messageTrigger {
1345
+
// BOM unique reference to the resource.
1346
+
stringbom_ref=1;
1347
+
// The unique identifier for the resource instance within its deployment context.
1348
+
stringuid=2;
1349
+
// The name of the resource instance.
1350
+
optionalstringname=3;
1351
+
// A description of the resource instance.
1352
+
optionalstringdescription=4;
1353
+
// Additional properties of the trigger.
1354
+
repeatedPropertyproperties=5;
1355
+
// References to component or service resources that are used to realize the resource instance.
0 commit comments