We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d178a89 commit 6cb0ebeCopy full SHA for 6cb0ebe
1 file changed
tests/helpers/schemas/learning-tracks-schema.js
@@ -0,0 +1,29 @@
1
+module.exports = {
2
+ properties: {
3
+ type: 'object',
4
+ additionalProperties: false,
5
+ patternProperties: {
6
+ '^[a-zA-Z-_]+$': {
7
8
9
+ title: {
10
+ type: 'string',
11
+ required: true
12
+ },
13
+ description: {
14
15
16
17
+ guides: {
18
+ type: 'array',
19
+ items: { type: 'string' },
20
21
22
+ featured_track: {
23
+ type: 'boolean'
24
+ }
25
26
27
28
29
+}
0 commit comments