diff --git a/community/lexicon/interaction/README.md b/community/lexicon/interaction/README.md new file mode 100644 index 0000000..0157554 --- /dev/null +++ b/community/lexicon/interaction/README.md @@ -0,0 +1,3 @@ +# community.lexicon.interaction + +The `community.lexicon.interaction` namespaced identifiers contain high level interactions that occur between identities and other records. diff --git a/community/lexicon/interaction/like.json b/community/lexicon/interaction/like.json new file mode 100644 index 0000000..3caf482 --- /dev/null +++ b/community/lexicon/interaction/like.json @@ -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" + } + } + } + } + } +} \ No newline at end of file