From f7a86b86da208d8a26f4f1bc0606a841cbc670c4 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Thu, 22 Aug 2024 12:06:59 -0500 Subject: [PATCH] =?UTF-8?q?Add=20type=E2=86=92@type=20&=20id=E2=86=92@id?= =?UTF-8?q?=20to=20Object=20type-definition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That is ActivityVocab standard, after all. :^) --- src/activity-vocabulary.lisp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/activity-vocabulary.lisp b/src/activity-vocabulary.lisp index b36d713..625b267 100644 --- a/src/activity-vocabulary.lisp +++ b/src/activity-vocabulary.lisp @@ -81,7 +81,13 @@ Items of DIRECT-CHILDREN should be of the form, ;; https://www.w3.org/ns/activitystreams#Object ;; The root of all evil in the world. (json-ld::define-json-type (object "Object") () "https://www.w3.org/ns/activitystreams" - ((attachment + ((@id + "id" + :documentation "Provides the globally unique identifier for an Object or Link.") + (@type + "type" + :documentation "Identifies the Object or Link type. Multiple values may be specified.") + (attachment "attachment" :documentation "Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email.") (attributed-to