+59
-52
lexicons/git/refUpdate.json
+59
-52
lexicons/git/refUpdate.json
···
51
51
"maxLength": 40
52
52
},
53
53
"meta": {
54
-
"type": "object",
55
-
"required": [
56
-
"isDefaultRef",
57
-
"commitCount"
58
-
],
59
-
"properties": {
60
-
"isDefaultRef": {
61
-
"type": "boolean",
62
-
"default": "false"
63
-
},
64
-
"langBreakdown": {
65
-
"type": "object",
66
-
"properties": {
67
-
"inputs": {
68
-
"type": "array",
69
-
"items": {
70
-
"type": "ref",
71
-
"ref": "#pair"
72
-
}
73
-
}
74
-
}
75
-
},
76
-
"commitCount": {
77
-
"type": "object",
78
-
"required": [],
79
-
"properties": {
80
-
"byEmail": {
81
-
"type": "array",
82
-
"items": {
83
-
"type": "object",
84
-
"required": [
85
-
"email",
86
-
"count"
87
-
],
88
-
"properties": {
89
-
"email": {
90
-
"type": "string"
91
-
},
92
-
"count": {
93
-
"type": "integer"
94
-
}
95
-
}
96
-
}
97
-
}
98
-
}
99
-
}
100
-
}
54
+
"type": "ref",
55
+
"ref": "#meta"
56
+
}
57
+
}
58
+
}
59
+
},
60
+
"meta": {
61
+
"type": "object",
62
+
"required": ["isDefaultRef", "commitCount"],
63
+
"properties": {
64
+
"isDefaultRef": {
65
+
"type": "boolean",
66
+
"default": false
67
+
},
68
+
"langBreakdown": {
69
+
"type": "ref",
70
+
"ref": "#langBreakdown"
71
+
},
72
+
"commitCount": {
73
+
"type": "ref",
74
+
"ref": "#commitCountBreakdown"
75
+
}
76
+
}
77
+
},
78
+
"langBreakdown": {
79
+
"type": "object",
80
+
"properties": {
81
+
"inputs": {
82
+
"type": "array",
83
+
"items": {
84
+
"type": "ref",
85
+
"ref": "#individualLanguageSize"
101
86
}
102
87
}
103
88
}
104
89
},
105
-
"pair": {
90
+
"individualLanguageSize": {
106
91
"type": "object",
107
-
"required": [
108
-
"lang",
109
-
"size"
110
-
],
92
+
"required": ["lang", "size"],
111
93
"properties": {
112
94
"lang": {
113
95
"type": "string"
114
96
},
115
97
"size": {
98
+
"type": "integer"
99
+
}
100
+
}
101
+
},
102
+
"commitCountBreakdown": {
103
+
"type": "object",
104
+
"required": [],
105
+
"properties": {
106
+
"byEmail": {
107
+
"type": "array",
108
+
"items": {
109
+
"type": "ref",
110
+
"ref": "#individualEmailCommitCount"
111
+
}
112
+
}
113
+
}
114
+
},
115
+
"individualEmailCommitCount": {
116
+
"type": "object",
117
+
"required": ["email", "count"],
118
+
"properties": {
119
+
"email": {
120
+
"type": "string"
121
+
},
122
+
"count": {
116
123
"type": "integer"
117
124
}
118
125
}