Skip to content

Commit 158ad08

Browse files
authored
Make HASH field optional (#995)
1 parent f492f5c commit 158ad08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • codepropertygraph/src/main/resources/schemas

codepropertygraph/src/main/resources/schemas/base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{ "id" : 13, "name": "VERSION", "comment" : "A version, given as a string", "valueType" : "string", "cardinality" : "one"},
1111
{ "id" : 118, "name" : "OVERLAYS", "comment" : "Names of overlays applied to this graph, in order of application", "valueType" : "string", "cardinality" : "list"},
1212
{ "id" : 119, "name" : "POLICY_DIRECTORIES", "comment": "Sub directories of the policy directory that should be loaded when processing the CPG", "valueType" : "string", "cardinality" : "list"},
13-
{ "id" : 120, "name" : "HASH", "comment" : "Hash value of the artifact that this CPG is built from.", "valueType": "string", "cardinality" : "one"},
13+
{ "id" : 120, "name" : "HASH", "comment" : "Hash value of the artifact that this CPG is built from.", "valueType": "string", "cardinality" : "zeroOrOne"},
1414

1515
// Properties that indicate where the code can be found
1616

0 commit comments

Comments
 (0)