Skip to content

Commit

Permalink
Use uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
hawaiigal committed Jan 27, 2023
1 parent c45917b commit 8ee7406
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
32 changes: 17 additions & 15 deletions docs/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -756,20 +756,22 @@ at which the credited can be reached. Providing contacts is optional.

### credits[].type[] field

The `credits[].type[]` field corresponds with credit types in the
[MITRE CVE specification](https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/CVE_JSON_5.0_schema.json#L997-L1006)
and must be one of the defined credit types:

- "finder"
- "reporter"
- "analyst"
- "coordinator"
- "remediation developer"
- "remediation reviewer"
- "remediation verifier"
- "tool"
- "sponsor"
- "other"
The `credits[].type[]` field should specify type or role of the individual or entity
being credited. It must be one of the following defined credit types:

- `FINDER`
- `REPORTER`
- `ANALYST`
- `COORDINATOR`
- `REMEDIATION DEVELOPER`
- `REMEDIATION REVIEWER`
- `REMEDIATION VERIFIER`
- `TOOL`
- `SPONSOR`
- `OTHER`

These values and their definitions correspond directly to the credit types defined in the
[MITRE CVE specification](https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/CVE_JSON_5.0_schema.json#L997-L1006).

#### Examples

Expand All @@ -783,7 +785,7 @@ Including a URL and an email address in `credits[].contact[]` and a credit type:
"https://twitter.com/JaninaKowalska01",
"mailto:nina@kowalska-family.net"
],
"type": "remediation developer",
"type": "REMEDIATION DEVELOPER",
} ]
}
```
Expand Down
20 changes: 10 additions & 10 deletions validation/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,16 +290,16 @@
"type": {
"type": "string",
"enum": [
"finder",
"reporter",
"analyst",
"coordinator",
"remediation developer",
"remediation reviewer",
"remediation verifier",
"tool",
"sponsor",
"other"
"FINDER",
"REPORTER",
"ANALYST",
"COORDINATOR",
"REMEDIATION DEVELOPER",
"REMEDIATION REVIEWER",
"REMEDIATION VERIFIER",
"TOOL",
"SPONSOR",
"OTHER"
]
}
},
Expand Down

0 comments on commit 8ee7406

Please sign in to comment.