-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
35 lines (35 loc) · 1.32 KB
/
schema.json
File metadata and controls
35 lines (35 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": ["Repository", "Leaks"],
"properties": {
"Repository": { "type": "string" },
"Leaks": {
"type": "array",
"items": {
"type": "object",
"required": ["RuleID", "Description", "StartLine", "EndLine", "StartColumn", "EndColumn", "Match", "Secret", "File", "Commit", "Entropy", "Author", "Email", "Date", "Message", "Tags", "Fingerprint"],
"properties": {
"RuleID": { "type": "string" },
"Description": { "type": "string" },
"StartLine": { "type": "integer" },
"EndLine": { "type": "integer" },
"StartColumn": { "type": "integer" },
"EndColumn": { "type": "integer" },
"Match": { "type": "string" },
"Secret": { "type": "string" },
"File": { "type": "string" },
"SymlinkFile": { "type": "string" },
"Commit": { "type": "string" },
"Entropy": { "type": "number" },
"Author": { "type": "string" },
"Email": { "type": "string" },
"Date": { "type": "string", "format": "date-time" },
"Message": { "type": "string" },
"Tags": { "type": "array", "items": { "type": "string" } },
"Fingerprint": { "type": "string" }
}
}
}
}
}