Skip to content

Commit 03afe12

Browse files
jasnowpostmodern
authored andcommitted
Updated ruby.yml schema to match README file
1 parent 39a32ee commit 03afe12

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

spec/schemas/ruby.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ mapping:
55
type: str
66
required: true
77
enum: [jruby, rbx, ruby, mruby]
8+
"platform":
9+
type: str
810
"cve":
911
type: str
1012
pattern: /\d+-\d+/
@@ -41,8 +43,24 @@ mapping:
4143
"related":
4244
type: map
4345
mapping:
46+
"cve":
47+
type: seq
48+
sequence:
49+
- type: str
50+
pattern: /\d+-\d+/
51+
"ghsa":
52+
type: seq
53+
sequence:
54+
- type: str
55+
pattern: /[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}/
56+
"osvdb":
57+
type: seq
58+
sequence:
59+
- type: int
4460
"url":
4561
type: seq
4662
sequence:
4763
- type: str
4864
pattern: /https?:\/\//
65+
"notes":
66+
type: str

0 commit comments

Comments
 (0)