@dicebear/micah 5.0.0-alpha.31 → 5.0.0-alpha.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/README.md +3 -3
  2. package/lib/components/base.d.ts +6 -0
  3. package/lib/components/base.js +7 -4
  4. package/lib/components/earrings.d.ts +6 -0
  5. package/lib/components/earrings.js +8 -2
  6. package/lib/components/ears.d.ts +6 -0
  7. package/lib/components/ears.js +8 -8
  8. package/lib/components/eyebrows.d.ts +6 -0
  9. package/lib/components/eyebrows.js +10 -4
  10. package/lib/components/eyes.d.ts +6 -0
  11. package/lib/components/eyes.js +10 -16
  12. package/lib/components/facialHair.d.ts +6 -0
  13. package/lib/components/facialHair.js +8 -3
  14. package/lib/components/glasses.d.ts +6 -0
  15. package/lib/components/glasses.js +8 -2
  16. package/lib/components/hair.d.ts +6 -0
  17. package/lib/components/hair.js +14 -8
  18. package/lib/components/index.d.ts +6 -0
  19. package/lib/components/index.js +6 -0
  20. package/lib/components/mouth.d.ts +6 -0
  21. package/lib/components/mouth.js +14 -8
  22. package/lib/components/nose.d.ts +6 -0
  23. package/lib/components/nose.js +9 -3
  24. package/lib/components/shirt.d.ts +6 -0
  25. package/lib/components/shirt.js +9 -3
  26. package/lib/core.d.ts +6 -0
  27. package/lib/core.js +7 -1
  28. package/lib/hooks/onPostCreate.d.ts +8 -2
  29. package/lib/hooks/onPostCreate.js +8 -2
  30. package/lib/hooks/onPreCreate.d.ts +8 -2
  31. package/lib/hooks/onPreCreate.js +10 -17
  32. package/lib/index.d.ts +5 -10
  33. package/lib/index.js +7 -1
  34. package/lib/schema.d.ts +6 -0
  35. package/lib/schema.js +337 -395
  36. package/lib/types.d.ts +7 -8
  37. package/lib/types.js +6 -0
  38. package/lib/utils/getColors.d.ts +6 -0
  39. package/lib/utils/getColors.js +18 -51
  40. package/lib/utils/getComponents.d.ts +7 -1
  41. package/lib/utils/getComponents.js +30 -29
  42. package/lib/utils/pickComponent.d.ts +7 -1
  43. package/lib/utils/pickComponent.js +8 -2
  44. package/package.json +4 -4
  45. package/lib/colors/base.d.ts +0 -2
  46. package/lib/colors/base.js +0 -15
  47. package/lib/colors/earring.d.ts +0 -2
  48. package/lib/colors/earring.js +0 -15
  49. package/lib/colors/eyeShadow.d.ts +0 -2
  50. package/lib/colors/eyeShadow.js +0 -15
  51. package/lib/colors/eyebrows.d.ts +0 -2
  52. package/lib/colors/eyebrows.js +0 -15
  53. package/lib/colors/eyes.d.ts +0 -2
  54. package/lib/colors/eyes.js +0 -15
  55. package/lib/colors/facialHair.d.ts +0 -2
  56. package/lib/colors/facialHair.js +0 -15
  57. package/lib/colors/glasses.d.ts +0 -2
  58. package/lib/colors/glasses.js +0 -15
  59. package/lib/colors/hair.d.ts +0 -2
  60. package/lib/colors/hair.js +0 -15
  61. package/lib/colors/index.d.ts +0 -10
  62. package/lib/colors/index.js +0 -10
  63. package/lib/colors/mouth.d.ts +0 -2
  64. package/lib/colors/mouth.js +0 -3
  65. package/lib/colors/shirt.d.ts +0 -2
  66. package/lib/colors/shirt.js +0 -15
  67. package/lib/utils/pickColor.d.ts +0 -9
  68. package/lib/utils/pickColor.js +0 -13
package/lib/schema.js CHANGED
@@ -1,435 +1,377 @@
1
+ /**
2
+ * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
+ *
4
+ * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
+ * File: https://www.figma.com/file/YHb4ShTgmO8Lqhkz1plLfL/%40dicebear%2Fmicah?node-id=259%3A555
6
+ */
1
7
  export const schema = {
2
- title: 'Options',
3
- $schema: 'http://json-schema.org/draft-07/schema#',
4
- properties: {
5
- base: {
6
- type: 'array',
7
- items: { type: 'string', enum: ['standard'] },
8
- default: ['standard'],
9
- examples: [['standard']],
8
+ "$schema": "http://json-schema.org/draft-07/schema#",
9
+ "properties": {
10
+ "base": {
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "enum": [
15
+ "standard"
16
+ ]
17
+ },
18
+ "default": [
19
+ "standard"
20
+ ]
10
21
  },
11
- baseColor: {
12
- type: 'array',
13
- items: {
14
- type: 'string',
15
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
22
+ "baseColor": {
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string",
26
+ "pattern": "^[a-fA-F0-9]{6}$"
16
27
  },
17
- default: ['apricot', 'coast', 'topaz'],
18
- examples: [
19
- ['apricot'],
20
- ['coast'],
21
- ['topaz'],
22
- ['lavender'],
23
- ['sky'],
24
- ['salmon'],
25
- ['canary'],
26
- ['calm'],
27
- ['azure'],
28
- ['seashell'],
29
- ['mellow'],
30
- ['black'],
31
- ['white'],
32
- ],
28
+ "default": [
29
+ "f9c9b6",
30
+ "ac6651",
31
+ "77311d"
32
+ ]
33
33
  },
34
- earringColor: {
35
- type: 'array',
36
- items: {
37
- type: 'string',
38
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
34
+ "earringColor": {
35
+ "type": "array",
36
+ "items": {
37
+ "type": "string",
38
+ "pattern": "^[a-fA-F0-9]{6}$"
39
39
  },
40
- default: [
41
- 'apricot',
42
- 'azure',
43
- 'black',
44
- 'calm',
45
- 'canary',
46
- 'coast',
47
- 'lavender',
48
- 'mellow',
49
- 'salmon',
50
- 'seashell',
51
- 'sky',
52
- 'topaz',
53
- 'white',
54
- ],
55
- examples: [
56
- ['apricot'],
57
- ['azure'],
58
- ['black'],
59
- ['calm'],
60
- ['canary'],
61
- ['coast'],
62
- ['lavender'],
63
- ['mellow'],
64
- ['salmon'],
65
- ['seashell'],
66
- ['sky'],
67
- ['topaz'],
68
- ['white'],
69
- ],
40
+ "default": [
41
+ "f9c9b6",
42
+ "d2eff3",
43
+ "000000",
44
+ "e0ddff",
45
+ "f4d150",
46
+ "ac6651",
47
+ "9287ff",
48
+ "ffeba4",
49
+ "fc909f",
50
+ "ffedef",
51
+ "6bd9e9",
52
+ "77311d",
53
+ "ffffff"
54
+ ]
70
55
  },
71
- earrings: {
72
- type: 'array',
73
- items: { type: 'string', enum: ['hoop', 'stud'] },
74
- default: ['hoop', 'stud'],
75
- examples: [['hoop'], ['stud']],
56
+ "earrings": {
57
+ "type": "array",
58
+ "items": {
59
+ "type": "string",
60
+ "enum": [
61
+ "hoop",
62
+ "stud"
63
+ ]
64
+ },
65
+ "default": [
66
+ "hoop",
67
+ "stud"
68
+ ]
76
69
  },
77
- earringsProbability: {
78
- type: 'integer',
79
- minimum: 0,
80
- maximum: 100,
81
- default: 30,
70
+ "earringsProbability": {
71
+ "type": "integer",
72
+ "minimum": 0,
73
+ "maximum": 100,
74
+ "default": 30
82
75
  },
83
- ears: {
84
- type: 'array',
85
- items: { type: 'string', enum: ['attached', 'detached'] },
86
- default: ['attached', 'detached'],
87
- examples: [['attached'], ['detached']],
76
+ "ears": {
77
+ "type": "array",
78
+ "items": {
79
+ "type": "string",
80
+ "enum": [
81
+ "attached",
82
+ "detached"
83
+ ]
84
+ },
85
+ "default": [
86
+ "attached",
87
+ "detached"
88
+ ]
88
89
  },
89
- eyeShadowColor: {
90
- type: 'array',
91
- items: {
92
- type: 'string',
93
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
90
+ "eyeShadowColor": {
91
+ "type": "array",
92
+ "items": {
93
+ "type": "string",
94
+ "pattern": "^[a-fA-F0-9]{6}$"
94
95
  },
95
- default: ['azure', 'calm', 'mellow', 'seashell', 'white'],
96
- examples: [
97
- ['apricot'],
98
- ['azure'],
99
- ['black'],
100
- ['calm'],
101
- ['canary'],
102
- ['coast'],
103
- ['lavender'],
104
- ['mellow'],
105
- ['salmon'],
106
- ['seashell'],
107
- ['sky'],
108
- ['topaz'],
109
- ['white'],
110
- ],
96
+ "default": [
97
+ "d2eff3",
98
+ "e0ddff",
99
+ "ffeba4",
100
+ "ffedef",
101
+ "ffffff"
102
+ ]
111
103
  },
112
- eyebrows: {
113
- type: 'array',
114
- items: {
115
- type: 'string',
116
- enum: ['up', 'down', 'eyelashesUp', 'eyelashesDown'],
104
+ "eyebrows": {
105
+ "type": "array",
106
+ "items": {
107
+ "type": "string",
108
+ "enum": [
109
+ "up",
110
+ "down",
111
+ "eyelashesUp",
112
+ "eyelashesDown"
113
+ ]
117
114
  },
118
- default: ['up', 'down', 'eyelashesUp', 'eyelashesDown'],
119
- examples: [['up'], ['down'], ['eyelashesUp'], ['eyelashesDown']],
115
+ "default": [
116
+ "up",
117
+ "down",
118
+ "eyelashesUp",
119
+ "eyelashesDown"
120
+ ]
120
121
  },
121
- eyebrowsColor: {
122
- type: 'array',
123
- items: {
124
- type: 'string',
125
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
122
+ "eyebrowsColor": {
123
+ "type": "array",
124
+ "items": {
125
+ "type": "string",
126
+ "pattern": "^[a-fA-F0-9]{6}$"
126
127
  },
127
- default: ['black'],
128
- examples: [
129
- ['apricot'],
130
- ['azure'],
131
- ['black'],
132
- ['calm'],
133
- ['canary'],
134
- ['coast'],
135
- ['lavender'],
136
- ['mellow'],
137
- ['salmon'],
138
- ['seashell'],
139
- ['sky'],
140
- ['topaz'],
141
- ['white'],
142
- ],
128
+ "default": [
129
+ "000000"
130
+ ]
143
131
  },
144
- eyes: {
145
- type: 'array',
146
- items: {
147
- type: 'string',
148
- enum: ['eyes', 'round', 'eyesShadow', 'smiling'],
132
+ "eyes": {
133
+ "type": "array",
134
+ "items": {
135
+ "type": "string",
136
+ "enum": [
137
+ "eyes",
138
+ "round",
139
+ "eyesShadow",
140
+ "smiling"
141
+ ]
149
142
  },
150
- default: ['eyes', 'round', 'eyesShadow', 'smiling'],
151
- examples: [['eyes'], ['round'], ['eyesShadow'], ['smiling']],
143
+ "default": [
144
+ "eyes",
145
+ "round",
146
+ "eyesShadow",
147
+ "smiling"
148
+ ]
152
149
  },
153
- eyesColor: {
154
- type: 'array',
155
- items: {
156
- type: 'string',
157
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
150
+ "eyesColor": {
151
+ "type": "array",
152
+ "items": {
153
+ "type": "string",
154
+ "pattern": "^[a-fA-F0-9]{6}$"
158
155
  },
159
- default: ['black'],
160
- examples: [
161
- ['apricot'],
162
- ['azure'],
163
- ['black'],
164
- ['calm'],
165
- ['canary'],
166
- ['coast'],
167
- ['lavender'],
168
- ['mellow'],
169
- ['salmon'],
170
- ['seashell'],
171
- ['sky'],
172
- ['topaz'],
173
- ['white'],
174
- ],
156
+ "default": [
157
+ "000000"
158
+ ]
175
159
  },
176
- facialHair: {
177
- type: 'array',
178
- items: { type: 'string', enum: ['beard', 'scruff'] },
179
- default: ['beard', 'scruff'],
180
- examples: [['beard'], ['scruff']],
160
+ "facialHair": {
161
+ "type": "array",
162
+ "items": {
163
+ "type": "string",
164
+ "enum": [
165
+ "beard",
166
+ "scruff"
167
+ ]
168
+ },
169
+ "default": [
170
+ "beard",
171
+ "scruff"
172
+ ]
181
173
  },
182
- facialHairColor: {
183
- type: 'array',
184
- items: {
185
- type: 'string',
186
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
174
+ "facialHairColor": {
175
+ "type": "array",
176
+ "items": {
177
+ "type": "string",
178
+ "pattern": "^[a-fA-F0-9]{6}$"
187
179
  },
188
- default: ['topaz'],
189
- examples: [
190
- ['apricot'],
191
- ['azure'],
192
- ['black'],
193
- ['calm'],
194
- ['canary'],
195
- ['coast'],
196
- ['lavender'],
197
- ['mellow'],
198
- ['salmon'],
199
- ['seashell'],
200
- ['sky'],
201
- ['topaz'],
202
- ['white'],
203
- ],
180
+ "default": [
181
+ "77311d"
182
+ ]
204
183
  },
205
- facialHairProbability: {
206
- type: 'integer',
207
- minimum: 0,
208
- maximum: 100,
209
- default: 10,
184
+ "facialHairProbability": {
185
+ "type": "integer",
186
+ "minimum": 0,
187
+ "maximum": 100,
188
+ "default": 10
210
189
  },
211
- glasses: {
212
- type: 'array',
213
- items: { type: 'string', enum: ['round', 'square'] },
214
- default: ['round', 'square'],
215
- examples: [['round'], ['square']],
190
+ "glasses": {
191
+ "type": "array",
192
+ "items": {
193
+ "type": "string",
194
+ "enum": [
195
+ "round",
196
+ "square"
197
+ ]
198
+ },
199
+ "default": [
200
+ "round",
201
+ "square"
202
+ ]
216
203
  },
217
- glassesColor: {
218
- type: 'array',
219
- items: {
220
- type: 'string',
221
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
204
+ "glassesColor": {
205
+ "type": "array",
206
+ "items": {
207
+ "type": "string",
208
+ "pattern": "^[a-fA-F0-9]{6}$"
222
209
  },
223
- default: [
224
- 'apricot',
225
- 'azure',
226
- 'black',
227
- 'calm',
228
- 'canary',
229
- 'coast',
230
- 'lavender',
231
- 'mellow',
232
- 'salmon',
233
- 'seashell',
234
- 'sky',
235
- 'topaz',
236
- 'white',
237
- ],
238
- examples: [
239
- ['apricot'],
240
- ['azure'],
241
- ['black'],
242
- ['calm'],
243
- ['canary'],
244
- ['coast'],
245
- ['lavender'],
246
- ['mellow'],
247
- ['salmon'],
248
- ['seashell'],
249
- ['sky'],
250
- ['topaz'],
251
- ['white'],
252
- ],
210
+ "default": [
211
+ "f9c9b6",
212
+ "d2eff3",
213
+ "000000",
214
+ "e0ddff",
215
+ "f4d150",
216
+ "ac6651",
217
+ "9287ff",
218
+ "ffeba4",
219
+ "fc909f",
220
+ "ffedef",
221
+ "6bd9e9",
222
+ "77311d",
223
+ "ffffff"
224
+ ]
253
225
  },
254
- glassesProbability: {
255
- type: 'integer',
256
- minimum: 0,
257
- maximum: 100,
258
- default: 30,
226
+ "glassesProbability": {
227
+ "type": "integer",
228
+ "minimum": 0,
229
+ "maximum": 100,
230
+ "default": 30
259
231
  },
260
- hair: {
261
- type: 'array',
262
- items: {
263
- type: 'string',
264
- enum: [
265
- 'fonze',
266
- 'mrT',
267
- 'dougFunny',
268
- 'mrClean',
269
- 'dannyPhantom',
270
- 'full',
271
- 'turban',
272
- 'pixie',
273
- ],
232
+ "hair": {
233
+ "type": "array",
234
+ "items": {
235
+ "type": "string",
236
+ "enum": [
237
+ "fonze",
238
+ "mrT",
239
+ "dougFunny",
240
+ "mrClean",
241
+ "dannyPhantom",
242
+ "full",
243
+ "turban",
244
+ "pixie"
245
+ ]
274
246
  },
275
- default: [
276
- 'fonze',
277
- 'mrT',
278
- 'dougFunny',
279
- 'mrClean',
280
- 'dannyPhantom',
281
- 'full',
282
- 'turban',
283
- 'pixie',
284
- ],
285
- examples: [
286
- ['fonze'],
287
- ['mrT'],
288
- ['dougFunny'],
289
- ['mrClean'],
290
- ['dannyPhantom'],
291
- ['full'],
292
- ['turban'],
293
- ['pixie'],
294
- ],
247
+ "default": [
248
+ "fonze",
249
+ "mrT",
250
+ "dougFunny",
251
+ "mrClean",
252
+ "dannyPhantom",
253
+ "full",
254
+ "turban",
255
+ "pixie"
256
+ ]
295
257
  },
296
- hairColor: {
297
- type: 'array',
298
- items: {
299
- type: 'string',
300
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
258
+ "hairColor": {
259
+ "type": "array",
260
+ "items": {
261
+ "type": "string",
262
+ "pattern": "^[a-fA-F0-9]{6}$"
301
263
  },
302
- default: [
303
- 'apricot',
304
- 'azure',
305
- 'black',
306
- 'calm',
307
- 'canary',
308
- 'coast',
309
- 'lavender',
310
- 'mellow',
311
- 'salmon',
312
- 'seashell',
313
- 'sky',
314
- 'topaz',
315
- 'white',
316
- ],
317
- examples: [
318
- ['apricot'],
319
- ['azure'],
320
- ['black'],
321
- ['calm'],
322
- ['canary'],
323
- ['coast'],
324
- ['lavender'],
325
- ['mellow'],
326
- ['salmon'],
327
- ['seashell'],
328
- ['sky'],
329
- ['topaz'],
330
- ['white'],
331
- ],
264
+ "default": [
265
+ "f9c9b6",
266
+ "d2eff3",
267
+ "000000",
268
+ "e0ddff",
269
+ "f4d150",
270
+ "ac6651",
271
+ "9287ff",
272
+ "ffeba4",
273
+ "fc909f",
274
+ "ffedef",
275
+ "6bd9e9",
276
+ "77311d",
277
+ "ffffff"
278
+ ]
332
279
  },
333
- hairProbability: {
334
- type: 'integer',
335
- minimum: 0,
336
- maximum: 100,
337
- default: 100,
280
+ "hairProbability": {
281
+ "type": "integer",
282
+ "minimum": 0,
283
+ "maximum": 100,
284
+ "default": 100
338
285
  },
339
- mouth: {
340
- type: 'array',
341
- items: {
342
- type: 'string',
343
- enum: [
344
- 'surprised',
345
- 'laughing',
346
- 'nervous',
347
- 'smile',
348
- 'sad',
349
- 'pucker',
350
- 'frown',
351
- 'smirk',
352
- ],
286
+ "mouth": {
287
+ "type": "array",
288
+ "items": {
289
+ "type": "string",
290
+ "enum": [
291
+ "surprised",
292
+ "laughing",
293
+ "nervous",
294
+ "smile",
295
+ "sad",
296
+ "pucker",
297
+ "frown",
298
+ "smirk"
299
+ ]
353
300
  },
354
- default: [
355
- 'surprised',
356
- 'laughing',
357
- 'nervous',
358
- 'smile',
359
- 'sad',
360
- 'pucker',
361
- 'frown',
362
- 'smirk',
363
- ],
364
- examples: [
365
- ['surprised'],
366
- ['laughing'],
367
- ['nervous'],
368
- ['smile'],
369
- ['sad'],
370
- ['pucker'],
371
- ['frown'],
372
- ['smirk'],
373
- ],
301
+ "default": [
302
+ "surprised",
303
+ "laughing",
304
+ "nervous",
305
+ "smile",
306
+ "sad",
307
+ "pucker",
308
+ "frown",
309
+ "smirk"
310
+ ]
374
311
  },
375
- mouthColor: {
376
- type: 'array',
377
- items: {
378
- type: 'string',
379
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
312
+ "mouthColor": {
313
+ "type": "array",
314
+ "items": {
315
+ "type": "string",
316
+ "pattern": "^[a-fA-F0-9]{6}$"
380
317
  },
381
- default: ['black'],
382
- examples: [['black']],
383
- },
384
- nose: {
385
- type: 'array',
386
- items: { type: 'string', enum: ['curve', 'pointed', 'tound'] },
387
- default: ['curve', 'pointed', 'tound'],
388
- examples: [['curve'], ['pointed'], ['tound']],
318
+ "default": [
319
+ "000000"
320
+ ]
389
321
  },
390
- shirt: {
391
- type: 'array',
392
- items: { type: 'string', enum: ['open', 'crew', 'collared'] },
393
- default: ['open', 'crew', 'collared'],
394
- examples: [['open'], ['crew'], ['collared']],
322
+ "nose": {
323
+ "type": "array",
324
+ "items": {
325
+ "type": "string",
326
+ "enum": [
327
+ "curve",
328
+ "pointed",
329
+ "tound"
330
+ ]
331
+ },
332
+ "default": [
333
+ "curve",
334
+ "pointed",
335
+ "tound"
336
+ ]
395
337
  },
396
- shirtColor: {
397
- type: 'array',
398
- items: {
399
- type: 'string',
400
- pattern: '^([0-9a-zA-Z]+|#[a-fA-F0-9]{3}|#[a-fA-F0-9]{4}|#[a-fA-F0-9]{6}|#[a-fA-F0-9]{8})$',
338
+ "shirt": {
339
+ "type": "array",
340
+ "items": {
341
+ "type": "string",
342
+ "enum": [
343
+ "open",
344
+ "crew",
345
+ "collared"
346
+ ]
401
347
  },
402
- default: [
403
- 'apricot',
404
- 'azure',
405
- 'black',
406
- 'calm',
407
- 'canary',
408
- 'coast',
409
- 'lavender',
410
- 'mellow',
411
- 'salmon',
412
- 'seashell',
413
- 'sky',
414
- 'topaz',
415
- 'white',
416
- ],
417
- examples: [
418
- ['apricot'],
419
- ['azure'],
420
- ['black'],
421
- ['calm'],
422
- ['canary'],
423
- ['coast'],
424
- ['lavender'],
425
- ['mellow'],
426
- ['salmon'],
427
- ['seashell'],
428
- ['sky'],
429
- ['topaz'],
430
- ['white'],
431
- ],
348
+ "default": [
349
+ "open",
350
+ "crew",
351
+ "collared"
352
+ ]
432
353
  },
433
- },
434
- additionalProperties: false,
354
+ "shirtColor": {
355
+ "type": "array",
356
+ "items": {
357
+ "type": "string",
358
+ "pattern": "^[a-fA-F0-9]{6}$"
359
+ },
360
+ "default": [
361
+ "f9c9b6",
362
+ "d2eff3",
363
+ "000000",
364
+ "e0ddff",
365
+ "f4d150",
366
+ "ac6651",
367
+ "9287ff",
368
+ "ffeba4",
369
+ "fc909f",
370
+ "ffedef",
371
+ "6bd9e9",
372
+ "77311d",
373
+ "ffffff"
374
+ ]
375
+ }
376
+ }
435
377
  };