aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backend/models/antispam.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/backend/models/antispam.py b/backend/models/antispam.py
new file mode 100644
index 0000000..b16f686
--- /dev/null
+++ b/backend/models/antispam.py
@@ -0,0 +1,10 @@
+from pydantic import BaseModel
+
+
+class AntiSpam(BaseModel):
+ """Schema model for form response antispam field."""
+
+ ip_hash: str
+ user_agent_hash: str
+ captcha_pass: bool
+ dns_blacklisted: bool