json_schema: {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "additionalProperties": false,
      "definitions": {
          "IDType": {
              "pattern": "^\\d{10}$",
              "type": "string"
          },
          "ISO8601-Date": {
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
          },
          "ISO8601-Timestamp": {
              "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(:\\d{2})?(([+-]\\d{2}(:\\d{2})?)|Z)",
              "type": "string"
          },
          "LISAManagerReferenceNumberType": {
              "pattern": "^Z\\d{6}$",
              "type": "string"
          },
          "financialPeriodType": {
              "properties": {
                  "endDate": {
                      "$ref": "#/definitions/ISO8601-Date"
                  },
                  "startDate": {
                      "$ref": "#/definitions/ISO8601-Date"
                  }
              },
              "type": "object"
          },
          "transactionTypeType": {
              "enum": [
                  "bonus",
                  "charge"
              ],
              "type": "string"
          }
      },
      "properties": {
          "LISAManagerReferenceNumber": {
              "$ref": "#/definitions/LISAManagerReferenceNumberType"
          },
          "_links": {
              "type": "object"
          },
          "accountID": {
              "$ref": "#/definitions/IDType"
          },
          "amount": {
              "type": "number"
          },
          "applicablePeriod": {
              "properties": {
                  "endDate": {
                      "$ref": "#/definitions/ISO8601-Date"
                  },
                  "startDate": {
                      "$ref": "#/definitions/ISO8601-Date"
                  }
              },
              "type": "object"
          },
          "hmrcTransactionID": {
              "$ref": "#/definitions/IDType"
          },
          "paymentForTransaction": {
              "$ref": "#/definitions/IDType"
          },
          "paymentReference": {
              "$ref": "#/definitions/IDType"
          },
          "transactionTimestamp": {
              "$ref": "#/definitions/ISO8601-Timestamp"
          },
          "transactionType": {
              "$ref": "#/definitions/transactionTypeType"
          }
      },
      "required": [
          "hmrcTransactionID",
          "accountID",
          "LISAManagerReferenceNumber",
          "paymentReference",
          "amount",
          "paymentForTransaction",
          "transactionType",
          "applicablePeriod"
      ],
      "type": "object"
  }