{
    "agentsJson": "0.1.0",
    "info": {
        "title": "PaySlip.tech",
        "version": "2.3.4",
        "description": "Verify payslips and employment documents issued on PaySlip.tech."
    },
    "sources": [
        {
            "id": "verify_api",
            "path": "https://payslip.tech/openapi.json"
        }
    ],
    "overrides": [],
    "flows": [
        {
            "id": "verify_payslip_or_document",
            "title": "Verify a payslip or employment document",
            "description": "Use when someone gives you a PaySlip.tech code (PS-XXXX-XXXX or DC-XXXX-XXXX) and asks whether the document is genuine.",
            "actions": [
                {
                    "id": "verify",
                    "sourceId": "verify_api",
                    "operationId": "verifyDocument"
                }
            ],
            "links": [],
            "fields": {
                "parameters": [
                    {
                        "name": "code",
                        "type": "string",
                        "required": true,
                        "description": "The code under the QR code"
                    },
                    {
                        "name": "verifier",
                        "type": "string",
                        "required": false,
                        "description": "bank, embassy, landlord, employer or other"
                    }
                ],
                "responses": {
                    "success": {
                        "type": "object",
                        "properties": {
                            "result": {
                                "type": "string"
                            },
                            "employer_trust": {
                                "type": "object"
                            }
                        }
                    }
                }
            }
        }
    ]
}