remove SNAPSHOT
[aai/sparky-fe.git] / scripts / elasticsearch / auditdataConfigSettings.json
1 {
2   "mappings": {
3     "default": {
4       "properties": {
5         "entityId": {
6           "type": "nested"
7         },
8         "entityLink": {
9           "type": "string"
10         },
11         "entityType": {
12           "type": "string",
13           "index": "not_analyzed"
14         },
15         "resourceVersion": {
16           "type": "string"
17         },
18         "validationId": {
19           "type": "string",
20           "index": "not_analyzed"
21         },
22         "validationTimestamp": {
23           "type": "date",
24           "format": "MMM d y HH:m:s||dd-MM-yyyy HH:mm:ss||yyyy-MM-dd'T'HH:mm:ss.SSSZZ||MM/dd/yyyy||yyyyMMdd'T'HHmmssZ"
25         },
26         "violations": {
27           "type": "nested",
28           "properties": {
29             "category": {
30               "type": "string",
31               "index": "not_analyzed"
32             },
33             "errorMessage": {
34               "type": "string"
35             },
36             "modelName": {
37               "type": "string"
38             },
39             "severity": {
40               "type": "string",
41               "index": "not_analyzed"
42             },
43             "validationRule": {
44               "type": "string"
45             },
46             "violationDetails": {
47               "type": "nested",
48               "properties": {
49                 "MISSING_REL": {
50                   "type": "string"
51                 },
52                 "entityId": {
53                   "type": "nested"
54                 },
55                 "entityType": {
56                   "type": "string",
57                   "index": "not_analyzed"
58                 },
59                 "modelName": {
60                   "type": "string"
61                 }
62               }
63             },
64             "violationId": {
65               "type": "string",
66               "index": "not_analyzed"
67             },
68             "violationTimestamp": {
69               "type": "date",
70               "format": "MMM d y HH:m:s||dd-MM-yyyy HH:mm:ss||yyyy-MM-dd'T'HH:mm:ss.SSSZZ||MM/dd/yyyy||yyyyMMdd'T'HHmmssZ"
71             },
72             "violationType": {
73               "type": "string",
74               "index": "not_analyzed"
75             }
76           }
77         }
78       }
79     }
80
81   }
82 }