@digital4better/data 1.3.73 → 1.3.74
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.
- package/README.md +13 -11
- package/data/cloud/README.md +15 -2
- package/data/cloud/aws-regions.csv +1 -1
- package/data/cloud/aws-regions.json +1 -1
- package/data/country/README.md +50 -0
- package/data/energy/README.md +40 -0
- package/data/equipment/README.md +65 -0
- package/data/factor/README.md +52 -0
- package/data/mix/README.md +57 -0
- package/llms-full.txt +55 -141
- package/llms.txt +12 -13
- package/package.json +7 -3
- package/sources/README.md +82 -0
- package/sources/catalog.json +15427 -0
- package/sources/catalog.schema.json +351 -0
- /package/{data → scripts}/electricity-provenance.json +0 -0
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://digital4better.github.io/data/sources/catalog.schema.json",
|
|
4
|
+
"title": "Digital4Better AI and cloud source registry",
|
|
5
|
+
"description": "Version 2. Roles define traversal obligations; categories describe evidence origin. Cross-reference and coverage-matrix constraints are additionally tested in the repository.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["version", "coverage", "sources"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"version": {
|
|
11
|
+
"const": 2
|
|
12
|
+
},
|
|
13
|
+
"coverage": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"minItems": 1,
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"additionalProperties": false,
|
|
19
|
+
"required": ["scope", "topic", "sources"],
|
|
20
|
+
"properties": {
|
|
21
|
+
"scope": {
|
|
22
|
+
"enum": ["ai", "aws", "azure", "gcp", "oracle", "ovhcloud", "scaleway"]
|
|
23
|
+
},
|
|
24
|
+
"topic": {
|
|
25
|
+
"enum": [
|
|
26
|
+
"models",
|
|
27
|
+
"availability",
|
|
28
|
+
"instances",
|
|
29
|
+
"regions",
|
|
30
|
+
"sustainability",
|
|
31
|
+
"hardware",
|
|
32
|
+
"methodology"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"sources": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"minItems": 1,
|
|
38
|
+
"uniqueItems": true,
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"minLength": 1
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"sources": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"minItems": 1,
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"required": [
|
|
54
|
+
"id",
|
|
55
|
+
"url",
|
|
56
|
+
"publisher",
|
|
57
|
+
"scopes",
|
|
58
|
+
"topics",
|
|
59
|
+
"role",
|
|
60
|
+
"category",
|
|
61
|
+
"format",
|
|
62
|
+
"status"
|
|
63
|
+
],
|
|
64
|
+
"properties": {
|
|
65
|
+
"id": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"pattern": "^[a-z0-9][a-z0-9.-]{2,120}$"
|
|
68
|
+
},
|
|
69
|
+
"name": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"minLength": 1,
|
|
72
|
+
"description": "Optional display title; readers can use the URL when absent. Required for catalog/discovery entries."
|
|
73
|
+
},
|
|
74
|
+
"url": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"format": "uri",
|
|
77
|
+
"pattern": "^https?://"
|
|
78
|
+
},
|
|
79
|
+
"publisher": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"minLength": 1
|
|
82
|
+
},
|
|
83
|
+
"scopes": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"minItems": 1,
|
|
86
|
+
"uniqueItems": true,
|
|
87
|
+
"items": {
|
|
88
|
+
"enum": ["ai", "aws", "azure", "gcp", "oracle", "ovhcloud", "scaleway"]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"topics": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"minItems": 1,
|
|
94
|
+
"uniqueItems": true,
|
|
95
|
+
"items": {
|
|
96
|
+
"enum": [
|
|
97
|
+
"models",
|
|
98
|
+
"availability",
|
|
99
|
+
"instances",
|
|
100
|
+
"regions",
|
|
101
|
+
"sustainability",
|
|
102
|
+
"hardware",
|
|
103
|
+
"methodology"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"role": {
|
|
108
|
+
"enum": ["catalog", "discovery", "reference", "methodology"]
|
|
109
|
+
},
|
|
110
|
+
"category": {
|
|
111
|
+
"enum": ["primary", "secondary", "observation", "methodology"]
|
|
112
|
+
},
|
|
113
|
+
"format": {
|
|
114
|
+
"enum": ["html", "json", "csv", "pdf", "xml", "text"]
|
|
115
|
+
},
|
|
116
|
+
"collection": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"additionalProperties": false,
|
|
119
|
+
"required": ["method", "pagination", "follow", "expect", "discovery", "instructions"],
|
|
120
|
+
"properties": {
|
|
121
|
+
"method": {
|
|
122
|
+
"enum": ["http", "browser"]
|
|
123
|
+
},
|
|
124
|
+
"pagination": {
|
|
125
|
+
"enum": ["none", "link", "json", "unreviewed"]
|
|
126
|
+
},
|
|
127
|
+
"next": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"minLength": 1
|
|
130
|
+
},
|
|
131
|
+
"follow": {
|
|
132
|
+
"type": "array",
|
|
133
|
+
"items": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"minLength": 1
|
|
136
|
+
},
|
|
137
|
+
"uniqueItems": true
|
|
138
|
+
},
|
|
139
|
+
"expect": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"minLength": 1
|
|
144
|
+
},
|
|
145
|
+
"uniqueItems": true
|
|
146
|
+
},
|
|
147
|
+
"discovery": {
|
|
148
|
+
"type": "array",
|
|
149
|
+
"items": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"minLength": 1
|
|
152
|
+
},
|
|
153
|
+
"uniqueItems": true
|
|
154
|
+
},
|
|
155
|
+
"instructions": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"minLength": 1
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"allOf": [
|
|
161
|
+
{
|
|
162
|
+
"if": {
|
|
163
|
+
"properties": {
|
|
164
|
+
"pagination": {
|
|
165
|
+
"enum": ["link", "json"]
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"then": {
|
|
170
|
+
"required": ["next"]
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"if": {
|
|
175
|
+
"properties": {
|
|
176
|
+
"pagination": {
|
|
177
|
+
"const": "link"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"then": {
|
|
182
|
+
"properties": {
|
|
183
|
+
"method": {
|
|
184
|
+
"const": "browser"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"if": {
|
|
191
|
+
"properties": {
|
|
192
|
+
"pagination": {
|
|
193
|
+
"const": "json"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"then": {
|
|
198
|
+
"properties": {
|
|
199
|
+
"method": {
|
|
200
|
+
"const": "http"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"description": "Explicit collection contract. Optional for reference/methodology sources; absence means no reviewed automatic traversal."
|
|
207
|
+
},
|
|
208
|
+
"attribution": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"minLength": 1,
|
|
211
|
+
"description": "Source-specific attribution in addition to the common publisher-credit and original-license rules in README.md."
|
|
212
|
+
},
|
|
213
|
+
"limitations": {
|
|
214
|
+
"type": "array",
|
|
215
|
+
"items": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"minLength": 1
|
|
218
|
+
},
|
|
219
|
+
"uniqueItems": true,
|
|
220
|
+
"description": "Source-specific limitations. Absence never asserts verified ownership, availability or factual accuracy."
|
|
221
|
+
},
|
|
222
|
+
"status": {
|
|
223
|
+
"enum": ["active", "deprecated"]
|
|
224
|
+
},
|
|
225
|
+
"reason": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"minLength": 1
|
|
228
|
+
},
|
|
229
|
+
"replacement": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"minLength": 1
|
|
232
|
+
},
|
|
233
|
+
"review": {
|
|
234
|
+
"type": "object",
|
|
235
|
+
"additionalProperties": false,
|
|
236
|
+
"required": ["date"],
|
|
237
|
+
"properties": {
|
|
238
|
+
"date": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"format": "date"
|
|
241
|
+
},
|
|
242
|
+
"notes": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"minLength": 1,
|
|
245
|
+
"description": "Optional source-specific curation notes; the review date is not an availability guarantee."
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"allOf": [
|
|
251
|
+
{
|
|
252
|
+
"if": {
|
|
253
|
+
"properties": {
|
|
254
|
+
"status": {
|
|
255
|
+
"const": "deprecated"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"then": {
|
|
260
|
+
"required": ["reason"]
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"if": {
|
|
265
|
+
"properties": {
|
|
266
|
+
"status": {
|
|
267
|
+
"const": "active"
|
|
268
|
+
},
|
|
269
|
+
"role": {
|
|
270
|
+
"enum": ["catalog", "discovery"]
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"then": {
|
|
275
|
+
"required": ["review"],
|
|
276
|
+
"properties": {
|
|
277
|
+
"collection": {
|
|
278
|
+
"properties": {
|
|
279
|
+
"pagination": {
|
|
280
|
+
"enum": ["none", "link", "json"]
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"if": {
|
|
289
|
+
"properties": {
|
|
290
|
+
"role": {
|
|
291
|
+
"enum": ["reference", "methodology"]
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"then": {
|
|
296
|
+
"properties": {
|
|
297
|
+
"collection": {
|
|
298
|
+
"properties": {
|
|
299
|
+
"discovery": {
|
|
300
|
+
"maxItems": 0
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"if": {
|
|
309
|
+
"properties": {
|
|
310
|
+
"role": {
|
|
311
|
+
"enum": ["catalog", "discovery"]
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"then": {
|
|
316
|
+
"required": ["name", "collection"]
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"if": {
|
|
321
|
+
"properties": {
|
|
322
|
+
"status": {
|
|
323
|
+
"const": "active"
|
|
324
|
+
},
|
|
325
|
+
"role": {
|
|
326
|
+
"enum": ["catalog", "discovery"]
|
|
327
|
+
},
|
|
328
|
+
"format": {
|
|
329
|
+
"not": {
|
|
330
|
+
"const": "pdf"
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"then": {
|
|
336
|
+
"properties": {
|
|
337
|
+
"collection": {
|
|
338
|
+
"properties": {
|
|
339
|
+
"expect": {
|
|
340
|
+
"minItems": 1
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
File without changes
|