Skip to content

Commit 82896c5

Browse files
committed
Review fixes proposed by @zakkak
1 parent f9c11bb commit 82896c5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

substratevm/schemas/reachability-metadata-schema-v1.2.0.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"default": {},
88
"properties": {
99
"comment": {
10-
"title": "A comment applying to the whole file (e.g., generation date, author, etc.)",
10+
"title": "Comment(s) applying to the whole file (e.g., generation date, author, etc.)",
1111
"oneOf": [
1212
{
1313
"type": "string"
@@ -59,7 +59,8 @@
5959
"properties": {
6060
"name": {
6161
"title": "Name of the field that should be registered for reflection",
62-
"type": "string"
62+
"type": "string",
63+
"pattern": "^[^.;\\[/]+$"
6364
}
6465
},
6566
"required": [
@@ -341,7 +342,7 @@
341342
"pattern": "^[^.;\\[/]+(\\.[^.;\\[/]+)*(\\[])*$"
342343
},
343344
"reason": {
344-
"title": "A reason(s) for including this element (e.g., needed for establishing connections, or needed by method X#Y for task Z)",
345+
"title": "Reason(s) for including this element (e.g., needed for establishing connections, or needed by method X#Y for task Z)",
345346
"oneOf": [
346347
{
347348
"type": "string"
@@ -437,7 +438,8 @@
437438
"properties": {
438439
"name": {
439440
"title": "Method name that should be registered for this class",
440-
"type": "string"
441+
"type": "string",
442+
"pattern": "^[^.;\\[/]+$"
441443
},
442444
"parameterTypes": {
443445
"items": {

0 commit comments

Comments
 (0)