{
      "tool_id": "art-243-purpose-code-requirement-checker",
      "tool_version": "1.0.0",
      "display_name": "ISO 20022 Purpose Code Requirement Checker",
      "mcp_name": "check_purpose_code_requirement",
      "mandate_type": "compliance_mandate",
      "wave": 41,
      "gpu": false,
      "url": "https://ainumbers.co/chaingraph/art-243-purpose-code-requirement-checker.html",
      "description": "Given a beneficiary country and payment amount, determines whether ExternalPurpose1Code (Purp/Cd) or ExternalCategoryPurpose1Code (CtgyPurp/Cd) is mandatory per BIS CPMI d218 jurisdiction profiles (UAE, India, Bahrain, Jordan, China, Malaysia mandate purpose codes). Also checks SwiftGo eligibility (amount at most $12,500 USD and ExternalCategoryPurpose1Code in accepted set). Outputs purpose_code_compliant, code_type_required, and swiftgo_eligible.",
      "input_schema_ref": "chaingraph/art-243-purpose-code-requirement-checker.html#manifest",
      "consumes": [],
      "feeds": [
        "art-247-prevalidation-readiness-scorer"
      ],
      "status": "live",
      "conformance_fixtures": true,
      "compute_capability": "server",
      "compute_images": [{"system":"sha256-source","image_id":"sha256:2ff736927d33cc21662cf8751c9182933760e8d7bf20ec50e5dcbd5b93e48615","valid_from":"2026-07-10"},{"system":"risc0","image_id":"sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6","valid_from":"2026-07-05"}],
      "export_capability": [
        "json"
      ],
      "compute_proof": {
        "type": "ZkVmReceipt",
        "system": "risc0",
        "receiptFormat": "groth16-bn254",
        "imageId": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
        "seal": "F3j3kZ6ss61eIxVt3vtlRQrsGS9bxauRNtBe4buhj4wDIgtgeXu8WJxLiUy4jZw4VVwmejFRSL8P7di4NRnVEgofUKZnCjrWs2haSyr3xDTenDTtl0RGBBqPC6J/qKkCJMe6I6StnY8jY+wRmoqCEDY24PrxYAgkQuPuRS36hIEWR2H6IX0pimUMrUVKvDUEUrPZ1fFdvijnwFqVOCJyTTBRvC4h5BtZtfqMF+na3PDr2/OYk1Ic43MZcbTmZhKeKa9dKgbTTyP4pqj9VzxH2cvPlhd1vbEiSez6XY38IBgnMWtRbmRZSwUOioRyOf4IJ4MgIP6mjpmyG7cIcwZ/AQ==",
        "journal": {
          "chaingraph_version": "0.4.0",
          "kernel_digest": "sha256:2ff736927d33cc21662cf8751c9182933760e8d7bf20ec50e5dcbd5b93e48615",
          "output": {
            "category_purpose_code_provided": true,
            "code_type_required": "PurpCd",
            "issues": [],
            "jurisdiction_reason": "UAE Central Bank requires PurpCd on all inbound cross-border payments.",
            "jurisdiction_requires_purpose_code": true,
            "pii_note": "Payment amount is used only for SwiftGo eligibility threshold check. No party PII processed. Use synthetic amounts for testing.",
            "purpose_code_compliant": true,
            "purpose_code_provided": true,
            "purpose_format_valid": true,
            "regulatory_basis": "BIS CPMI d218 country payment profiles; SWIFT SwiftGo eligibility criteria; ISO 20022 ExternalPurpose1Code and ExternalCategoryPurpose1Code (iso20022.org External Code Set)",
            "required_code_types": [
              "PurpCd"
            ],
            "swiftgo_accepted_category_codes": [
              "SALA",
              "PENS",
              "TRAD",
              "CORT",
              "BEXP",
              "SUPP",
              "DIVI",
              "BENE",
              "OTHR",
              "CHAR"
            ],
            "swiftgo_amount_ok": true,
            "swiftgo_category_ok": true,
            "swiftgo_eligible": true,
            "swiftgo_max_usd": 12500,
            "swiftgo_notes": [],
            "table_source": "BIS CPMI d218 country payment profiles (bis.org/cpmi/publ/d218.htm); SWIFT SwiftGo eligibility rules (swift.com/our-solutions/global-financial-messaging/swiftgo); ISO 20022 External Code Sets ExternalPurpose1Code and ExternalCategoryPurpose1Code",
            "table_version": "ISO20022-PURPOSE-CODE-JURISDICTION-V1"
          }
        }
      },
      "compute_proof_ready": "ready"
    }
