You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prdoc/schema_user.json
+18-1Lines changed: 18 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,12 @@
98
98
"$defs": {
99
99
"audience": {
100
100
"description": "You may pick one or more audiences and address those users with appropriate documentation, information and warning related to the PR.",
101
+
"oneOf": [
102
+
{ "$ref": "#/$defs/audience_id" },
103
+
{ "$ref": "#/$defs/audience_ids" }
104
+
]
105
+
},
106
+
"audience_id": {
101
107
"oneOf": [
102
108
{"const": "Node Dev",
103
109
"title": "Node Dev",
@@ -116,6 +122,13 @@
116
122
"description": "Anyone using the runtime. This can be a token holder or a dev writing a front end for a chain."}
117
123
]
118
124
},
125
+
"audience_ids": {
126
+
"type": "array",
127
+
"items": {
128
+
"$ref": "#/$defs/audience_id"
129
+
},
130
+
"minItems": 2
131
+
},
119
132
"crate": {
120
133
"type": "object",
121
134
"description": "You have the option here to provide a hint about a crate that has changed to help with the publishing of crates.",
@@ -209,7 +222,11 @@
209
222
"description": "Description of the change",
210
223
"type": "string"
211
224
}
212
-
}
225
+
},
226
+
"required": [
227
+
"audience",
228
+
"description"
229
+
]
213
230
},
214
231
"array_of_strings": {
215
232
"description": "An array of strings that can be empty",
0 commit comments