forked from datasets/language-codes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
datapackage.json
173 lines (173 loc) · 4.44 KB
/
datapackage.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"name": "language-codes",
"title": "ISO Language Codes (639-1 and 693-2) and IETF Language Types",
"sources": [
{
"name":"Library of Congress",
"path": "http://www.loc.gov/standards/iso639-2/iso639jac.html",
"title": "Library of Congress"
},
{
"name": "Unicode",
"path": "http://cldr.unicode.org/",
"title": "Unicode"
}
],
"licenses": [
{
"name": "ODC-PDDL-1.0",
"path": "http://opendatacommons.org/licenses/pddl/",
"title": "Open Data Commons Public Domain Dedication and License v1.0"
}
],
"resources": [
{
"name": "language-codes",
"path": "data/language-codes.csv",
"mediatype": "text/csv",
"schema": {
"fields": [
{
"name": "alpha2",
"description":"2 letter alpha-2 code",
"type": "string"
},
{
"name": "English",
"description":"English name of language",
"type": "string"
}
]
}
},
{
"name": "language-codes-3b2",
"path": "data/language-codes-3b2.csv",
"mediatype": "text/csv",
"schema": {
"fields": [
{
"name": "alpha3-b",
"description":"3 letter alpha-3 bibliographic code",
"type": "string"
},
{
"name": "alpha2",
"description":"2 letter alpha-2 code",
"type": "string"
},
{
"name": "English",
"description":"English name of language",
"type": "string"
}
]
}
},
{
"name": "language-codes-full",
"path": "data/language-codes-full.csv",
"mediatype": "text/csv",
"schema": {
"fields": [
{
"name": "alpha3-b",
"description":"3 letter alpha-3 bibliographic code",
"type": "string"
},
{
"name": "alpha3-t",
"description":"3 letter alpha-3 terminologic code (when given)",
"type": "string"
},
{
"name": "alpha2",
"description":"2 letter alpha-2 code (when given)",
"type": "string"
},
{
"name": "English",
"description":"English name of language",
"type": "string"
},
{
"name": "French",
"description":"French name of language",
"type": "string"
}
]
}
},
{
"name": "ietf-language-tags",
"path": "data/ietf-language-tags.csv",
"note": "obtained from main folder of core.zip at http://www.unicode.org/Public/cldr",
"mediatype": "text/csv",
"schema": {
"fields": [
{
"name": "lang",
"description":"IANA/Unicode language-tag-extension",
"type": "string"
},
{
"name": "langType",
"description":"ISO 2 letter alpha-2 language code",
"type": "string"
},
{
"name": "territory",
"description":"ISO3166-1-Alpha-2 country code or cldr territory code where 001 is the World and 150 is Europe",
"type": "string"
},
{
"name": "revGenDate",
"description":"revision date (format ISO data)",
"type": "string"
},
{
"name": "defs",
"description":"number of definitions",
"type": "integer"
},
{
"name": "dftLang",
"description":"indicate the default-language, as unicode-cldr",
"type": "boolean"
},
{
"name": "file",
"description":"file-name of the locale descriptor",
"type": "string"
}
]
}
}
],
"related": [
{
"title": "List of all countries (ISO 3166-1)",
"path": "/core/country-list",
"publisher": "core",
"formats": ["CSV", "JSON"]
},
{
"title": "Country codes",
"path": "/core/country-codes",
"publisher": "core",
"formats": ["CSV", "JSON"]
},
{
"title": "Continent codes",
"path": "/core/continent-codes",
"publisher": "core",
"formats": ["CSV", "JSON"]
},
{
"title": "UN-LOCODE Codelist",
"path": "/core/un-locode",
"publisher": "core",
"formats": ["CSV", "JSON"]
}
]
}