Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
III-1959: Add typicalAgeRange mapping to event and place
Browse files Browse the repository at this point in the history
  • Loading branch information
bertramakers committed Mar 16, 2017
1 parent bf7c1f2 commit e4545ca
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Operations/json/mapping_event.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@
"type": "geo_shape"
},

"typicalAgeRange": {
"type": "integer_range"
},

"location": {
"type": "object",
"properties": {
Expand Down
4 changes: 4 additions & 0 deletions src/Operations/json/mapping_place.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@
"type": "geo_shape"
},

"typicalAgeRange": {
"type": "integer_range"
},

"organizer": {
"type": "object",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions tests/Operations/UpdateEventMappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ protected function getExpectedMappingBody()
],
],
],
"typicalAgeRange" => [
"type" => "integer_range",
],
"addressLocality" => [
"type" => "string",
],
Expand Down
3 changes: 3 additions & 0 deletions tests/Operations/UpdatePlaceMappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ protected function getExpectedMappingBody()
],
],
],
"typicalAgeRange" => [
"type" => "integer_range",
],
"addressLocality" => [
"type" => "string",
],
Expand Down

0 comments on commit e4545ca

Please sign in to comment.