nuance_AMOUNT

A sum of money intended for use in banking actions and for payments. The currency is dependent on the grammar. For example, if the en-US grammar is used, the only currency accepted is the US Dollar.

Sample language

  • five dollars
  • $4.75

Example

The phrase “five dollars” returns this response:

{
       "nuance_NUMBER":5,
       "nuance_UNIT":"USD"
}

Numeric value range

<= 99,999,999,999

Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
     "nuance_AMOUNT": {
       "type": "object",
       "properties": {
         "nuance_UNIT": {
           "anyOf": [
             {
               "type": "number"
             },
             {
               "type": "string"
             }
           ]
         },
         "nuance_NUMBER": {
           "type": "string"
         }
       },
       "required": [
         "nuance_UNIT",
         "nuance_NUMBER"
       ]
     }
  },
  "additionalProperties": false
}