tangled
alpha
login
or
join now
pipup.social
/
community
6
fork
atom
Find lexicons, request features, and report bugs. Please include steps to reproduce and any relevant info like OS, browser, etc. Found a security bug? Contact us at hello@pipup.social
6
fork
atom
overview
issues
4
pulls
pipelines
Initial commit
pipup.social
5 months ago
4dcd49ec
+61
2 changed files
expand all
collapse all
unified
split
lexicons
defs.json
entry.json
+22
lexicons/defs.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"id": "social.pipup.blog.defs",
4
4
+
"defs": {
5
5
+
"blobMetadata": {
6
6
+
"type": "object",
7
7
+
"required": [
8
8
+
"blobref"
9
9
+
],
10
10
+
"properties": {
11
11
+
"blobref": {
12
12
+
"type": "blob",
13
13
+
"description": "Attached image for blog post",
14
14
+
"accept": ["image/*"]
15
15
+
},
16
16
+
"name": {
17
17
+
"type": "string"
18
18
+
}
19
19
+
}
20
20
+
}
21
21
+
}
22
22
+
}
+39
lexicons/entry.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"id": "social.pipup.blog.entry",
4
4
+
"defs": {
5
5
+
"main": {
6
6
+
"type": "record",
7
7
+
"description": "A blog post with rich content.",
8
8
+
"key": "tid",
9
9
+
"record": {
10
10
+
"type": "object",
11
11
+
"required": ["content", "createdAt", "visibility"],
12
12
+
"properties": {
13
13
+
"content": {
14
14
+
"type": "string",
15
15
+
"minLength": 1,
16
16
+
"maxLength": 100000
17
17
+
},
18
18
+
"createdAt": { "type": "string", "format": "datetime" },
19
19
+
"updatedAt": { "type": "string", "format": "datetime" },
20
20
+
"title": {
21
21
+
"type": "string",
22
22
+
"maxLength": 1000
23
23
+
},
24
24
+
"visibility": {
25
25
+
"type": "string",
26
26
+
"enum": ["draft", "published"]
27
27
+
},
28
28
+
"blobs": {
29
29
+
"type": "array",
30
30
+
"items": {
31
31
+
"type": "ref",
32
32
+
"ref": "social.pipup.blog.defs#blobMetadata"
33
33
+
}
34
34
+
}
35
35
+
}
36
36
+
}
37
37
+
}
38
38
+
}
39
39
+
}