forked from LBRYCommunity/lbry-sdk
213 lines
3.7 KiB
Protocol Buffer
213 lines
3.7 KiB
Protocol Buffer
|
syntax = "proto2";
|
||
|
|
||
|
import "lbryschema/proto/fee.proto";
|
||
|
|
||
|
message Metadata {
|
||
|
enum Version {
|
||
|
UNKNOWN_VERSION = 0;
|
||
|
_0_0_1 = 1;
|
||
|
_0_0_2 = 2;
|
||
|
_0_0_3 = 3;
|
||
|
_0_1_0 = 4;
|
||
|
}
|
||
|
enum Language {
|
||
|
UNKNOWN_LANGUAGE = 0;
|
||
|
en = 1;
|
||
|
aa = 2;
|
||
|
ab = 3;
|
||
|
ae = 4;
|
||
|
af = 5;
|
||
|
ak = 6;
|
||
|
am = 7;
|
||
|
an = 8;
|
||
|
ar = 9;
|
||
|
as = 10;
|
||
|
av = 11;
|
||
|
ay = 12;
|
||
|
az = 13;
|
||
|
ba = 14;
|
||
|
be = 15;
|
||
|
bg = 16;
|
||
|
bh = 17;
|
||
|
bi = 18;
|
||
|
bm = 19;
|
||
|
bn = 20;
|
||
|
bo = 21;
|
||
|
br = 22;
|
||
|
bs = 23;
|
||
|
ca = 24;
|
||
|
ce = 25;
|
||
|
ch = 26;
|
||
|
co = 27;
|
||
|
cr = 28;
|
||
|
cs = 29;
|
||
|
cu = 30;
|
||
|
cv = 31;
|
||
|
cy = 32;
|
||
|
da = 33;
|
||
|
de = 34;
|
||
|
dv = 35;
|
||
|
dz = 36;
|
||
|
ee = 37;
|
||
|
el = 38;
|
||
|
eo = 39;
|
||
|
es = 40;
|
||
|
et = 41;
|
||
|
eu = 42;
|
||
|
fa = 43;
|
||
|
ff = 44;
|
||
|
fi = 45;
|
||
|
fj = 46;
|
||
|
fo = 47;
|
||
|
fr = 48;
|
||
|
fy = 49;
|
||
|
ga = 50;
|
||
|
gd = 51;
|
||
|
gl = 52;
|
||
|
gn = 53;
|
||
|
gu = 54;
|
||
|
gv = 55;
|
||
|
ha = 56;
|
||
|
he = 57;
|
||
|
hi = 58;
|
||
|
ho = 59;
|
||
|
hr = 60;
|
||
|
ht = 61;
|
||
|
hu = 62;
|
||
|
hy = 63;
|
||
|
hz = 64;
|
||
|
ia = 65;
|
||
|
id = 66;
|
||
|
ie = 67;
|
||
|
ig = 68;
|
||
|
ii = 69;
|
||
|
ik = 70;
|
||
|
io = 71;
|
||
|
is = 72;
|
||
|
it = 73;
|
||
|
iu = 74;
|
||
|
ja = 75;
|
||
|
jv = 76;
|
||
|
ka = 77;
|
||
|
kg = 78;
|
||
|
ki = 79;
|
||
|
kj = 80;
|
||
|
kk = 81;
|
||
|
kl = 82;
|
||
|
km = 83;
|
||
|
kn = 84;
|
||
|
ko = 85;
|
||
|
kr = 86;
|
||
|
ks = 87;
|
||
|
ku = 88;
|
||
|
kv = 89;
|
||
|
kw = 90;
|
||
|
ky = 91;
|
||
|
la = 92;
|
||
|
lb = 93;
|
||
|
lg = 94;
|
||
|
li = 95;
|
||
|
ln = 96;
|
||
|
lo = 97;
|
||
|
lt = 98;
|
||
|
lu = 99;
|
||
|
lv = 100;
|
||
|
mg = 101;
|
||
|
mh = 102;
|
||
|
mi = 103;
|
||
|
mk = 104;
|
||
|
ml = 105;
|
||
|
mn = 106;
|
||
|
mr = 107;
|
||
|
ms = 108;
|
||
|
mt = 109;
|
||
|
my = 110;
|
||
|
na = 111;
|
||
|
nb = 112;
|
||
|
nd = 113;
|
||
|
ne = 114;
|
||
|
ng = 115;
|
||
|
nl = 116;
|
||
|
nn = 117;
|
||
|
no = 118;
|
||
|
nr = 119;
|
||
|
nv = 120;
|
||
|
ny = 121;
|
||
|
oc = 122;
|
||
|
oj = 123;
|
||
|
om = 124;
|
||
|
or = 125;
|
||
|
os = 126;
|
||
|
pa = 127;
|
||
|
pi = 128;
|
||
|
pl = 129;
|
||
|
ps = 130;
|
||
|
pt = 131;
|
||
|
qu = 132;
|
||
|
rm = 133;
|
||
|
rn = 134;
|
||
|
ro = 135;
|
||
|
ru = 136;
|
||
|
rw = 137;
|
||
|
sa = 138;
|
||
|
sc = 139;
|
||
|
sd = 140;
|
||
|
se = 141;
|
||
|
sg = 142;
|
||
|
si = 143;
|
||
|
sk = 144;
|
||
|
sl = 145;
|
||
|
sm = 146;
|
||
|
sn = 147;
|
||
|
so = 148;
|
||
|
sq = 149;
|
||
|
sr = 150;
|
||
|
ss = 151;
|
||
|
st = 152;
|
||
|
su = 153;
|
||
|
sv = 154;
|
||
|
sw = 155;
|
||
|
ta = 156;
|
||
|
te = 157;
|
||
|
tg = 158;
|
||
|
th = 159;
|
||
|
ti = 160;
|
||
|
tk = 161;
|
||
|
tl = 162;
|
||
|
tn = 163;
|
||
|
to = 164;
|
||
|
tr = 165;
|
||
|
ts = 166;
|
||
|
tt = 167;
|
||
|
tw = 168;
|
||
|
ty = 169;
|
||
|
ug = 170;
|
||
|
uk = 171;
|
||
|
ur = 172;
|
||
|
uz = 173;
|
||
|
ve = 174;
|
||
|
vi = 175;
|
||
|
vo = 176;
|
||
|
wa = 177;
|
||
|
wo = 178;
|
||
|
xh = 179;
|
||
|
yi = 180;
|
||
|
yo = 181;
|
||
|
za = 182;
|
||
|
zh = 183;
|
||
|
zu = 184;
|
||
|
}
|
||
|
required Version version = 1;
|
||
|
required Language language = 2;
|
||
|
required string title = 3;
|
||
|
required string description = 4;
|
||
|
required string author = 5;
|
||
|
required string license = 6;
|
||
|
required bool nsfw = 7;
|
||
|
|
||
|
optional Fee fee = 8;
|
||
|
optional string thumbnail = 9;
|
||
|
optional string preview = 10;
|
||
|
optional string licenseUrl = 11;
|
||
|
}
|