{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/myhuiban-com/json-schema/myhuiban-com-api-response-schema.json",
  "title": "ApiResponse",
  "description": "Uniform envelope: business code mirrors HTTP semantics (200 success; validation errors return HTTP 200 with code 400 in the body; missing entities return HTTP 404).",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/myhuiban-com-openapi.yml#/components/schemas/ApiResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "message": {
      "type": "string"
    },
    "data": {
      "nullable": true
    },
    "request_id": {
      "type": "string"
    }
  },
  "required": [
    "code",
    "message",
    "request_id"
  ]
}