forked from
rocksky.app/rocksky
A decentralized music tracking and discovery platform built on AT Protocol 馃幍
1amends "../../schema/lexicon.pkl"
2
3lexicon = 1
4id = "app.rocksky.feed.generator"
5defs = new Mapping<String, Record> {
6 ["main"] {
7 type = "record"
8 key = "tid"
9 description = "Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository."
10 `record` {
11 type = "object"
12 required = List("did", "displayName", "createdAt")
13 properties {
14 ["did"] = new StringType {
15 type = "string"
16 format = "did"
17 }
18 ["avatar"] = new Blob {
19 type = "blob"
20 accept = List("image/png", "image/jpeg")
21 maxSize = 1000000
22 }
23 ["displayName"] = new StringType {
24 type = "string"
25 maxLength = 240
26 maxGraphemes = 24
27 }
28 ["description"] = new StringType {
29 type = "string"
30 maxLength = 3000
31 maxGraphemes = 300
32 }
33 ["createdAt"] = new StringType {
34 type = "string"
35 format = "datetime"
36 }
37 }
38 }
39 }
40}
41