{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moneyhub/main/json-schema/moneyhub-notification-threshold-post-schema.json",
  "title": "NotificationThresholdPost",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moneyhub-notification-thresholds-api-openapi.yml#/components/schemas/NotificationThresholdPost",
  "additionalProperties": false,
  "type": "object",
  "properties": {
    "value": {
      "description": "The value of the threshold in minor units of the currency, eg. pennies for GBP. This can also be a negative value e.g. -10000.",
      "type": "integer"
    },
    "type": {
      "description": "The type of threshold, either great than or less than",
      "enum": [
        "gt",
        "lt"
      ],
      "type": "string"
    }
  },
  "required": [
    "value",
    "type"
  ]
}