Add type→@type & id→@id to Object type-definition
That is ActivityVocab standard, after all. :^)
This commit is contained in:
parent
2132a00a6a
commit
f7a86b86da
|
@ -81,7 +81,13 @@ Items of DIRECT-CHILDREN should be of the form,
|
||||||
;; https://www.w3.org/ns/activitystreams#Object
|
;; https://www.w3.org/ns/activitystreams#Object
|
||||||
;; The root of all evil in the world.
|
;; The root of all evil in the world.
|
||||||
(json-ld::define-json-type (object "Object") () "https://www.w3.org/ns/activitystreams"
|
(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"
|
"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.")
|
: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
|
(attributed-to
|
||||||
|
|
Ŝarĝante…
Reference in New Issue