{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zamp/main/json-schema/zamp-post-calculations-response-schema.json",
  "title": "PostCalculationsResponse",
  "x-generated": "2026-10-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/zamp-openapi-generated.yml#/components/schemas/PostCalculationsResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "taxDue": {
      "type": "number"
    },
    "taxes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "lineItemId": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "sourcing": {
            "type": "string"
          },
          "jurisdictionCode": {
            "type": "string"
          },
          "jurisdictionName": {
            "type": "string"
          },
          "jurisdictionDivision": {
            "type": "string"
          },
          "compositeCode": {
            "type": "string"
          },
          "compositeName": {
            "type": "string"
          },
          "exceptionCode": {
            "type": "string"
          },
          "ancillaryType": {
            "type": [
              "string",
              "null"
            ]
          },
          "taxableAmount": {
            "type": "integer"
          },
          "nontaxableAmount": {
            "type": "integer"
          },
          "excludedAmount": {
            "type": "integer"
          },
          "taxRate": {
            "type": "number"
          },
          "taxDue": {
            "type": "number"
          },
          "taxCollected": {
            "type": "integer"
          }
        }
      }
    }
  }
}