Skip to content

Commit f1e54bd

Browse files
Changed gov schema to include usage of JSON 2020-12. Included new SBOM field
Signed-off-by: Natalia Luzuriaga <natalia.luzuriaga@cms.hhs.gov>
1 parent 76d7e95 commit f1e54bd

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

schemas/schema-2.0.0.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
33
"title": "code.json metadata",
44
"description": "A metadata standard for software repositories",
55
"type": "object",
@@ -131,7 +131,8 @@
131131
"hg",
132132
"svn",
133133
"rcs",
134-
"bzr"
134+
"bzr",
135+
"none"
135136
]
136137
},
137138
"laborHours": {
@@ -175,6 +176,10 @@
175176
"type": "string"
176177
}
177178
},
179+
"SBOM": {
180+
"type": "string",
181+
"description": "Link of the upstream repositories and dependencies used, in the form of a Software Bill of Materials/SBOM. If the software does not have a SBOM, enter 'None'. (i.e. Github provides an SBOM: https://github.com/$ORG_NAME/$REPO_NAME/network/dependencies)"
182+
},
178183
"date": {
179184
"type": "object",
180185
"description": "A date object describing the release",
@@ -242,6 +247,7 @@
242247
"languages",
243248
"maintenance",
244249
"contractNumber",
250+
"SBOM",
245251
"date",
246252
"tags",
247253
"contact",

0 commit comments

Comments
 (0)