|
1 | 1 | {
|
2 |
| - "$schema": "http://json-schema.org/draft-07/schema#", |
| 2 | + "$schema": "https://json-schema.org/draft/2020-12/schema", |
3 | 3 | "type": "array",
|
| 4 | + "description": "Array of contributor profiles", |
4 | 5 | "items": {
|
5 | 6 | "type": "object",
|
| 7 | + "description": "Contributor profile", |
6 | 8 | "properties": {
|
7 | 9 | "name": {
|
8 |
| - "type": "string" |
| 10 | + "type": "string", |
| 11 | + "description": "Full name of the contributor" |
9 | 12 | },
|
10 | 13 | "img": {
|
11 | 14 | "type": "string",
|
12 |
| - "format": "uri" |
| 15 | + "format": "uri", |
| 16 | + "description": "URL to the contributor's profile image" |
13 | 17 | },
|
14 | 18 | "bio": {
|
15 |
| - "type": "string" |
| 19 | + "type": "string", |
| 20 | + "description": "Brief biography of the contributor" |
16 | 21 | },
|
17 | 22 | "title": {
|
18 |
| - "type": "string" |
| 23 | + "type": "string", |
| 24 | + "description": "Professional title of the contributor" |
19 | 25 | },
|
20 | 26 | "github": {
|
21 |
| - "type": "string" |
| 27 | + "type": "string", |
| 28 | + "description": "GitHub profile URL of the contributor" |
22 | 29 | },
|
23 | 30 | "twitter": {
|
24 |
| - "type": "string" |
| 31 | + "type": "string", |
| 32 | + "description": "Twitter profile URL of the contributor" |
25 | 33 | },
|
26 | 34 | "linkedin": {
|
27 |
| - "type": "string" |
| 35 | + "type": "string", |
| 36 | + "description": "LinkedIn profile URL of the contributor" |
28 | 37 | },
|
29 | 38 | "company": {
|
30 |
| - "type": "string" |
| 39 | + "type": "string", |
| 40 | + "description": "Company where the contributor works" |
31 | 41 | },
|
32 | 42 | "country": {
|
33 |
| - "type": "string" |
| 43 | + "type": "string", |
| 44 | + "description": "Country where the contributor is based" |
34 | 45 | },
|
35 | 46 | "contributions": {
|
36 | 47 | "type": "array",
|
| 48 | + "description": "List of contributions made by the contributor", |
37 | 49 | "items": {
|
38 | 50 | "type": "object",
|
| 51 | + "description": "Details of a specific contribution", |
39 | 52 | "properties": {
|
40 | 53 | "type": {
|
41 | 54 | "type": "string",
|
42 |
| - "enum": ["article", "talk", "video", "other"] |
| 55 | + "enum": ["article", "talk", "video", "other", "book", "paper", "initiative", "project", "working group"], |
| 56 | + "description": "Type of the contribution" |
43 | 57 | },
|
44 | 58 | "title": {
|
45 |
| - "type": "string" |
| 59 | + "type": "string", |
| 60 | + "description": "Title of the contribution" |
46 | 61 | },
|
47 | 62 | "date": {
|
48 | 63 | "type": "object",
|
| 64 | + "description": "Date of the contribution", |
49 | 65 | "properties": {
|
50 | 66 | "year": {
|
51 | 67 | "type": "integer",
|
52 | 68 | "minimum": 1900,
|
53 |
| - "maximum": 2100 |
| 69 | + "maximum": 2100, |
| 70 | + "description": "Year of the contribution" |
54 | 71 | },
|
55 | 72 | "month": {
|
56 | 73 | "type": "string",
|
57 |
| - "enum": [ |
58 |
| - "January", "February", "March", "April", "May", "June", |
59 |
| - "July", "August", "September", "October", "November", |
60 |
| - "December" |
61 |
| - ] |
| 74 | + "enum": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], |
| 75 | + "description": "Month of the contribution" |
62 | 76 | }
|
63 | 77 | },
|
64 | 78 | "required": ["year", "month"]
|
65 | 79 | },
|
66 | 80 | "link": {
|
67 | 81 | "type": "string",
|
68 |
| - "format": "uri" |
| 82 | + "format": "uri", |
| 83 | + "description": "URL link to the contribution" |
69 | 84 | }
|
70 | 85 | },
|
71 | 86 | "required": ["type", "title", "date", "link"]
|
72 | 87 | }
|
73 | 88 | }
|
74 | 89 | },
|
75 |
| - "required": ["name", "img", "bio", "title", "github", "twitter", "linkedin", "company", "country", "contributions"] |
| 90 | + "required": ["name", "img", "bio", "title", "github", "company", "country", "contributions"] |
76 | 91 | }
|
77 | 92 | }
|
0 commit comments