object-or-refernce #1
2 changed files with 3 additions and 9 deletions
|
@ -1,7 +0,0 @@
|
||||||
(ns org.domaindrivenarchitecture.activity-pub-poc.xsd
|
|
||||||
(:require [clojure.spec.alpha :as s]))
|
|
||||||
|
|
||||||
; http://www.datypic.com/sc/xsd/t-xsd_anyURI.html
|
|
||||||
; TODO: Find out correct definition!
|
|
||||||
(defn anyUri? [input]
|
|
||||||
false)
|
|
|
@ -65,8 +65,9 @@
|
||||||
;Answer jem: I do not want to enhance owl/Class inline from here.
|
;Answer jem: I do not want to enhance owl/Class inline from here.
|
||||||
(s/def
|
(s/def
|
||||||
::Class
|
::Class
|
||||||
(s/merge ::owl/Class
|
(s/and ::owl/Class
|
||||||
(s/keys :opt-un [::id ::object])))
|
))
|
||||||
|
;(s/keys :opt-un [::id ::object])))
|
||||||
|
|
||||||
|
|
||||||
;http://www.w3.org/ns/activitystreams#Like
|
;http://www.w3.org/ns/activitystreams#Like
|
||||||
|
|
Loading…
Reference in a new issue