-
Notifications
You must be signed in to change notification settings - Fork 33
/
data_tables.cljc
42 lines (38 loc) · 1.33 KB
/
data_tables.cljc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(ns ctim.examples.data-tables
(:require [ctim.schemas.common :as c]))
(def data-table-maximal
{:id "http://ex.tld/ctia/data-table/data-table-5023697b-3857-4652-9b53-ccda297f9c3e"
:type "data-table"
:schema_version c/ctim-schema-version
:revision 1
:external_ids ["http://ex.tld/ctia/data-table/data-table-5023697b-3857-4652-9b53-ccda297f9c3e"
"http://ex.tld/ctia/data-table/data-table-82f9b9b3-0aa4-4676-8254-02deef8aa8ef"]
:external_references
[{:source_name "source"
:external_id "T1067"
:url "https://ex.tld/wiki/T1067"
:hashes ["#section1"]
:description "Description text"}]
:timestamp #inst "2016-02-11T00:40:48.212-00:00"
:title "title"
:description "description"
:short_description "short description"
:language "language"
:tlp "green"
:source "source"
:source_uri "http://example.com"
:columns [{:name "Col1"
:type "string"
:description "description"
:short_description "short description"
:required true}]
:rows [["foo"]]
:row_count 1
:valid_time {:start_time #inst "2016-02-11T00:40:48.212-00:00"
:end_time #inst "2525-01-01T00:00:00.000-00:00"}})
(def data-table-minimal
{})
(def new-data-table-maximal
data-table-maximal)
(def new-data-table-minimal
data-table-minimal)