summaryrefslogtreecommitdiffstats
path: root/api/schemas.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/schemas.py')
-rw-r--r--api/schemas.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/schemas.py b/api/schemas.py
index a8f4e45..97b8169 100644
--- a/api/schemas.py
+++ b/api/schemas.py
@@ -160,3 +160,8 @@ class Relationship(Schema):
domain_blocking: bool
endorsed: bool
note: str
+
+
+class Context(Schema):
+ ancestors: list[Status]
+ descendants: list[Status]