Generic Datatypes

Teapplix JSON schema supports the following generic datatypes (notice all JSON values are quoted) :

  • boolean - 0, 1, true, false
  • integer - 1234. no comma allowed
  • number - allows a decimal point: 123456.789. again no comma allowed
  • date - yyyy-mm-dd
  • datetime - yyyy-mm-dd hh-mm-ss
  • enum - please use the exact spelling in the documentation, do not change case

In the documentation below, required fields are underlined. rest of the fields are optional. Array will typically state if at least one element is required.