(->flanders v)
(->flanders {:strs [attributes description]} opts)
Converts parsed OCSF schemas to Flanders.
Converts parsed OCSF schemas to Flanders.
(parse-attribute [k
{:strs [description requirement enum type is_array caption]}]
_opts)
(parse-exported-schemas export)
(parse-exported-schemas export opts)
Takes the result of https://schema.ocsf.io/export/schema parsed as edn and updates the base_event, objects and classes schemas to flanders.
Flanders includes a dependency on https://github.com/frenchy64/ocsf-schema-export which provides OCSF schemas on the classpath.
Example: (parse-exported-schemas (-> "threatgrid/ocsf-1.3.0-export.json" io/resource slurp json/decode))
Takes the result of https://schema.ocsf.io/export/schema parsed as edn and updates the base_event, objects and classes schemas to flanders. Flanders includes a dependency on https://github.com/frenchy64/ocsf-schema-export which provides OCSF schemas on the classpath. Example: (parse-exported-schemas (-> "threatgrid/ocsf-1.3.0-export.json" io/resource slurp json/decode))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close