-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added RC1, Removed SCVS specific files
- Loading branch information
1 parent
f695479
commit 42836e8
Showing
37 changed files
with
2,378 additions
and
9,137 deletions.
There are no files selected for viewing
2,216 changes: 2,216 additions & 0 deletions
2,216
BOM_Maturity_Model/1.0.0-rc.1/bom-maturity-model-1.0.0-rc.1.json
Large diffs are not rendered by default.
Oops, something went wrong.
88 changes: 88 additions & 0 deletions
88
BOM_Maturity_Model/1.0.0-rc.1/bom-maturity-model-1.0.0-rc.1.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
BOM_Maturity_Model/1.0.0-rc.1/bom-maturity-profile-1.0.0.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.