The community.lexicon.interaction.like type (#20)
Some checks failed
Run lex-cli / run-lex-cli (push) Has been cancelled
Some checks failed
Run lex-cli / run-lex-cli (push) Has been cancelled
This commit is contained in:
3
community/lexicon/interaction/README.md
Normal file
3
community/lexicon/interaction/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# community.lexicon.interaction
|
||||||
|
|
||||||
|
The `community.lexicon.interaction` namespaced identifiers contain high level interactions that occur between identities and other records.
|
28
community/lexicon/interaction/like.json
Normal file
28
community/lexicon/interaction/like.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"lexicon": 1,
|
||||||
|
"id": "community.lexicon.interaction.like",
|
||||||
|
"defs": {
|
||||||
|
"main": {
|
||||||
|
"type": "record",
|
||||||
|
"description": "A 'like' interaction with another AT Protocol record.",
|
||||||
|
"key": "tid",
|
||||||
|
"record": {
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"subject",
|
||||||
|
"createdAt"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"subject": {
|
||||||
|
"type": "ref",
|
||||||
|
"ref": "com.atproto.repo.strongRef"
|
||||||
|
},
|
||||||
|
"createdAt": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "datetime"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user