Skip to content

Commit

Permalink
Update 1300 - mapper.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fscelliott committed Dec 2, 2024
1 parent 2d3d2ce commit b24025b
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ The following example shows using a mapper to standardize a time duration.
"computed_fields": [
{
"id": "premium_period_months",
"type": "number",
"method": {
"id": "mapper",
"source_id": "_premium_period_raw",
Expand All @@ -51,8 +50,8 @@ The following example shows using a mapper to standardize a time duration.
"six months": "6",
"Twelve months": "12",
"twelve months": "12",
"default": "mapping doesn't exist"
}
},
"default": "mapping doesn't exist"
}
}
]
Expand All @@ -77,9 +76,8 @@ The following image shows the example document used with this example config:
"value": "Six months"
},
"premium_period_months": {
"source": "6",
"value": 6,
"type": "number"
"value": "6",
"type": "string"
}
}
```
Expand Down

0 comments on commit b24025b

Please sign in to comment.