A decentralized music tracking and discovery platform built on AT Protocol 馃幍 rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz
0

Configure Feed

Select the types of activity you want to include in your feed.

rocksky / apps / api / pkl / defs / shout / shout.pkl
1.4 kB 53 lines
1amends "../../schema/lexicon.pkl" 2 3lexicon = 1 4id = "app.rocksky.shout" 5defs = new Mapping<String, Record> { 6 ["main"] { 7 type = "record" 8 key = "tid" 9 description = "A declaration of a shout." 10 `record` { 11 type = "object" 12 required = List("createdAt", "subject") 13 properties { 14 ["message"] = new StringType { 15 type = "string" 16 description = "The message of the shout. Optional when a gif/sticker/clip is attached." 17 maxLength = 1000 18 } 19 20 ["createdAt"] = new StringType { 21 type = "string" 22 description = "The date when the shout was created." 23 format = "datetime" 24 } 25 26 ["parent"] = new Ref { 27 type = "ref" 28 ref = "com.atproto.repo.strongRef" 29 } 30 31 ["subject"] = new Ref { 32 type = "ref" 33 ref = "com.atproto.repo.strongRef" 34 } 35 36 ["gif"] = new Ref { 37 type = "ref" 38 description = "An attached GIF, sticker, or clip (e.g. from KLIPY)." 39 ref = "app.rocksky.shout.defs#gif" 40 } 41 42 ["facets"] = new Array { 43 type = "array" 44 description = "Mentions of other actors within the message, anchored to UTF-8 byte ranges." 45 items = new Ref { 46 type = "ref" 47 ref = "app.rocksky.shout.defs#mention" 48 } 49 } 50 } 51 } 52 } 53}