aboutsummaryrefslogtreecommitdiff
path: root/src/handlers/json_ld.rs
diff options
context:
space:
mode:
authorXe Iaso <me@christine.website>2023-01-05 16:14:29 -0500
committerXe Iaso <me@christine.website>2023-01-05 16:14:29 -0500
commit9e8c900e151c5e0637630b8fecb334314e52a2cc (patch)
tree5333ed338c7480dcf0501a304a4a3657076c3c09 /src/handlers/json_ld.rs
parent51bd2d03837cab9ee97d81a5f6cf5ebde6adb4c2 (diff)
downloadxesite-authors.tar.xz
xesite-authors.zip
first attempt at multiple author supportauthors
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src/handlers/json_ld.rs')
-rw-r--r--src/handlers/json_ld.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/handlers/json_ld.rs b/src/handlers/json_ld.rs
new file mode 100644
index 0000000..07148dc
--- /dev/null
+++ b/src/handlers/json_ld.rs
@@ -0,0 +1,14 @@
+use axum::extract::Json;
+use serde_json::{json, Value};
+
+pub async fn pronoun_set() -> Json<Value> {
+ Json(json!({
+ "@type": "PronounSet",
+ "nominative": "string",
+ "accusative": "string",
+ "possessiveDeterminer": "string",
+ "possessive": "string",
+ "reflexive": "string",
+ "singular": "boolean",
+ }))
+}