tangled
alpha
login
or
join now
standard.site
/
lexicons
37
fork
atom
Shared lexicon schemas for long-form publishing on AT Protocol. Uses typescript to json via prototypey.
37
fork
atom
overview
issues
10
pulls
pipelines
Increase text max lengths and graphemes
aka.dad
1 month ago
88514abc
65ee2c1d
verified
This commit was signed with the committer's
known signature
.
aka.dad
SSH Key Fingerprint:
SHA256:PdzfUZ1lVRNyVHvD1/Qf90Kh5UImYQq1TxqaDtaDqSY=
+11
-9
2 changed files
expand all
collapse all
unified
split
src
lexicons
site.standard.document.ts
site.standard.publication.ts
+6
-5
src/lexicons/site.standard.document.ts
···
16
16
}),
17
17
title: lx.string({
18
18
required: true,
19
19
-
maxLength: 1280,
20
20
-
maxGraphemes: 128,
19
19
+
maxLength: 5000,
20
20
+
maxGraphemes: 500,
21
21
description: 'Title of the document.'
22
22
}),
23
23
description: lx.string({
24
24
-
maxLength: 3000,
25
25
-
maxGraphemes: 300,
24
24
+
maxLength: 30000,
25
25
+
maxGraphemes: 3000,
26
26
description: 'A brief description or excerpt from the document.'
27
27
}),
28
28
coverImage: lx.blob({
···
43
43
tags: lx.array({
44
44
type: 'string',
45
45
}, {
46
46
-
maxLength: 100,
46
46
+
maxLength: 1280,
47
47
+
maxGraphemes: 128,
47
48
description: 'Array of strings used to tag or categorize the document. Avoid prepending tags with hashtags.'
48
49
}),
49
50
publishedAt: lx.string({
+5
-4
src/lexicons/site.standard.publication.ts
···
19
19
}),
20
20
name: lx.string({
21
21
required: true,
22
22
-
maxLength: 1280,
23
23
-
maxGraphemes: 128,
22
22
+
maxLength: 5000,
23
23
+
maxGraphemes: 500,
24
24
description: 'Name of the publication.'
25
25
}),
26
26
description: lx.string({
27
27
-
maxLength: 3000,
28
28
-
maxGraphemes: 300,
27
27
+
maxLength: 30000,
28
28
+
maxGraphemes: 3000,
29
29
description: 'Brief description of the publication.'
30
30
}),
31
31
basicTheme: lx.ref(siteStandardThemeBasic.json.id, {
···
42
42
default: true,
43
43
description: 'Boolean which decides whether the publication should appear in discovery feeds.'
44
44
}),
45
45
+
}, {
45
46
description: 'Platform-specific preferences for the publication, including discovery and visibility settings.'
46
47
})
47
48
})