Skip to content

Commit

Permalink
Added RC1, Removed SCVS specific files
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett committed Oct 31, 2023
1 parent f695479 commit 42836e8
Show file tree
Hide file tree
Showing 37 changed files with 2,378 additions and 9,137 deletions.
2,216 changes: 2,216 additions & 0 deletions BOM_Maturity_Model/1.0.0-rc.1/bom-maturity-model-1.0.0-rc.1.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"$schema": "http:https://json-schema.org/draft-07/schema#",
"$id": "https://scvs.owasp.org/bom-maturity-model-1.0.0-rc.1.schema.json",
"type": "object",
"title": "OWASP SCVS BOM Maturity Model",
"$comment" : "The OWASP SCVS BOM Maturity Model JSON schema is published under the terms of the Apache License 2.0.",
"required": [
"model"
],
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"enum": [
"https://scvs.owasp.org/bom-maturity-model-1.0.0-beta.1.schema.json"
]
},
"model": {"$ref": "#/definitions/modelType"}
},
"definitions": {
"identifierType": {
"type": "string",
"pattern": "^urn:owasp:scvs:bom:*"
},
"modelType": {
"type": "array",
"minItems": 0,
"items": {
"type": "object",
"required": [
"identifier",
"domain",
"kingdom",
"name",
"description",
"difficulty",
"references"
],
"additionalProperties": false,
"properties": {
"identifier": {
"type": "string",
"pattern": "^urn:owasp:scvs:bom:*"
},
"domain": {
"type": "string",
"minLength": 1,
"examples": ["Resource"]
},
"kingdom": {
"type": [ "string", "null" ]
},
"name": {
"type": "string",
"minLength": 1,
"examples": ["Resource"]
},
"description": {
"type": "string",
"minLength": 1
},
"difficulty": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"references": {
"type": "array",
"minItems": 0,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"title": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string"
}
}
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"$schema": "http:https://json-schema.org/draft-07/schema#",
"$id": "https://scvs.owasp.org/bom-maturity-profile-1.0.0.schema.json",
"type": "object",
"title": "OWASP SCVS BOM Maturity Model - Profile Schema",
"$comment": "OWASP SCVS BOM Maturity Model schemas are published under the terms of the Apache License 2.0.",
"required": [
"profiles"
],
"additionalProperties": false,
"properties": {
"$schema": {"type": "string"},
"profiles": {"$ref": "#/definitions/profilesType"}
},
"definitions": {
"elementsType": {
"type": "array",
"minItems": 0,
"items": {
"type": "object",
"required": [
"structure",
"identifiers",
"weight",
"required"
],
"additionalProperties": false,
"properties": {
"structure": {
"type": "array",
"minItems": 0,
"items": {
"type": "string",
"pattern": "^urn:owasp:scvs:bom:*"
}
},
"identifiers": {
"type": "array",
"minItems": 0,
"items": {
"type": "string",
"pattern": "^urn:owasp:scvs:bom:*"
}
},
"weight": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"required": {"type": "boolean"}
}
}
},
"profilesType": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"version",
"elements"
],
"additionalProperties": false,
"properties": {
"name": {"type": "string"},
"version": {"type": "string"},
"description": {"type": "string"},
"creator": {"type": "string"},
"elements": {"$ref": "#/definitions/elementsType"}
}
}
}
}
}
53 changes: 0 additions & 53 deletions BOM_Maturity_Model/bmm-profile-0.1.schema.json

This file was deleted.

Loading

0 comments on commit 42836e8

Please sign in to comment.