{"openapi":"3.1.0","info":{"title":"Gridzen Developer Sandbox","version":"0.2.0"},"servers":[{"url":"/developers"}],"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/server-card.json":{"get":{"summary":"Server Card","operationId":"server_card_server_card_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/coverage":{"get":{"summary":"Coverage","operationId":"coverage_api_coverage_get","parameters":[{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2},{"type":"null"}],"title":"Country"}},{"name":"capability","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Capability"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/plan":{"post":{"summary":"Plan","operationId":"plan_api_plan_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sandbox/verifications":{"post":{"summary":"Simulate","operationId":"simulate_api_sandbox_verifications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sandbox/verifications/{identifier}":{"get":{"summary":"Get Simulation","operationId":"get_simulation_api_sandbox_verifications__identifier__get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/explain/{reason_code}":{"get":{"summary":"Explain","operationId":"explain_api_explain__reason_code__get","parameters":[{"name":"reason_code","in":"path","required":true,"schema":{"type":"string","title":"Reason Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"PlanRequest":{"properties":{"country":{"type":"string","maxLength":2,"minLength":2,"pattern":"^[A-Za-z]{2}$","title":"Country"},"event":{"type":"string","enum":["onboarding","payout","account_change"],"title":"Event","default":"payout"}},"additionalProperties":false,"type":"object","required":["country"],"title":"PlanRequest"},"SandboxRequest":{"properties":{"country":{"type":"string","maxLength":2,"minLength":2,"pattern":"^[A-Za-z]{2}$","title":"Country"},"capability":{"type":"string","maxLength":40,"title":"Capability"},"scenario":{"type":"string","enum":["match","mismatch","not_found","timeout","unsupported"],"title":"Scenario","default":"match"}},"additionalProperties":false,"type":"object","required":["country","capability"],"title":"SandboxRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}