    :known-methods {s/Keyword s/Any}
    :interceptor-chain [(s/=> Context Context)]
    (s/optional-key :path-info?) s/Bool})
+
+

  (merge PropertiesMappings
         RepresentationSeqMappings
         MethodsMappings
         AccessControlMappings))

(def resource-coercer (sc/coercer Resource ResourceMappings))


    (s/optional-key :allow-methods) (s/conditional fn? ContextFunction :else Keywords)
    (s/optional-key :allow-headers) (s/conditional fn? ContextFunction :else Strings)}})

(def CorsMappings
  (merge HeaderMappings {ContextFunction as-fn}))

(def Realm s/Str)

(s/defschema Authentication
  {(s/optional-key :authentication)
   {(s/optional-key :realms)
    {Realm {:schemes [{(s/optional-key :scheme) s/Str
                       (s/optional-key :authenticator) s/Any}]}}}})

(s/defschema ResourceDocumentation CommonDocumentation)

(s/defschema ResourceBase
  (merge {(s/optional-key :id) s/Any}
         ResourceDocumentation
         Authentication
         Cors
         Properties
         ResourceParameters
         Produces
