docs/mappings.json
changeset 1 29361e3c8fda
equal deleted inserted replaced
0:5af41c7a366f 1:29361e3c8fda
       
     1 {
       
     2 	"WfNewsEvent": {
       
     3 		"properties": {
       
     4 			"title": {
       
     5 				"type": "object",
       
     6 				"properties": {
       
     7 					"en": {
       
     8 						"type": "string"
       
     9 					},
       
    10 					"fr": {
       
    11 						"type": "string",
       
    12 						"analyzer": "french",
       
    13 						"search_analyzer": "french_search"
       
    14 					}
       
    15 				}
       
    16 			},
       
    17 			"short_name": {
       
    18 				"type": "object",
       
    19 				"properties": {
       
    20 					"en": {
       
    21 						"type": "string"
       
    22 					},
       
    23 					"fr": {
       
    24 						"type": "string",
       
    25 						"analyzer": "french",
       
    26 						"search_analyzer": "french_search"
       
    27 					}
       
    28 				}
       
    29 			},
       
    30 			"description": {
       
    31 				"type": "object",
       
    32 				"properties": {
       
    33 					"en": {
       
    34 						"type": "string"
       
    35 					},
       
    36 					"fr": {
       
    37 						"type": "string",
       
    38 						"analyzer": "french",
       
    39 						"search_analyzer": "french_search"
       
    40 					}
       
    41 				}
       
    42 			},
       
    43 			"body": {
       
    44 				"type": "object",
       
    45 				"properties": {
       
    46 					"en": {
       
    47 						"type": "string"
       
    48 					},
       
    49 					"fr": {
       
    50 						"type": "string",
       
    51 						"analyzer": "french",
       
    52 						"search_analyzer": "french_search"
       
    53 					}
       
    54 				}
       
    55 			},
       
    56 			"workflow": {
       
    57 				"type": "object",
       
    58 				"properties": {
       
    59 					"name": {
       
    60 						"type": "string"
       
    61 					},
       
    62 					"date": {
       
    63 						"type": "date"
       
    64 					},
       
    65 					"status": {
       
    66 						"type": "string"
       
    67 					}
       
    68 				}
       
    69 			},
       
    70 			"extfile": {
       
    71 				"type": "object",
       
    72 				"properties": {
       
    73 					"title": {
       
    74 						"type": "object",
       
    75 						"properties": {
       
    76 							"en": {
       
    77 								"type": "string"
       
    78 							},
       
    79 							"fr": {
       
    80 								"type": "string",
       
    81 								"analyzer": "french",
       
    82 								"search_analyzer": "french_search"
       
    83 							}
       
    84 						}
       
    85 					},
       
    86 					"description": {
       
    87 						"type": "object",
       
    88 						"properties": {
       
    89 							"en": {
       
    90 								"type": "string"
       
    91 							},
       
    92 							"fr": {
       
    93 								"type": "string",
       
    94 								"analyzer": "french",
       
    95 								"search_analyzer": "french_search"
       
    96 							}
       
    97 						}
       
    98 					},
       
    99 					"data": {
       
   100 						"type": "object",
       
   101 						"properties": {
       
   102 							"en": {
       
   103 								"type": "attachment"
       
   104 							},
       
   105 							"fr": {
       
   106 								"type": "attachment"
       
   107 							}
       
   108 						}
       
   109 					}
       
   110 				}
       
   111 			},
       
   112 			"gallery": {
       
   113 				"type": "object",
       
   114 				"properties": {
       
   115 					"title": {
       
   116 						"type": "object",
       
   117 						"properties": {
       
   118 							"en": {
       
   119 								"type": "string"
       
   120 							},
       
   121 							"fr": {
       
   122 								"type": "string",
       
   123 								"analyzer": "french",
       
   124 								"search_analyzer": "french_search"
       
   125 							}
       
   126 						}
       
   127 					},
       
   128 					"description": {
       
   129 						"type": "object",
       
   130 						"properties": {
       
   131 							"en": {
       
   132 								"type": "string"
       
   133 							},
       
   134 							"fr": {
       
   135 								"type": "string",
       
   136 								"analyzer": "french",
       
   137 								"search_analyzer": "french_search"
       
   138 							}
       
   139 						}
       
   140 					}
       
   141 				}
       
   142 			},
       
   143 			"location": {
       
   144 				"type": "object",
       
   145 				"properties": {
       
   146 					"coords": {
       
   147 						"type": "geo_point"
       
   148 					}
       
   149 				}
       
   150 			},
       
   151 			"themes": {
       
   152 				"type": "object"
       
   153 			}
       
   154 		}
       
   155 	}
       
   156 }