{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/svgai-org/json-schema/svgai-org-vectorization-response-schema.json",
  "title": "VectorizationResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/svgai-org-openapi.json#/components/schemas/VectorizationResponse",
  "type": "object",
  "required": [
    "object",
    "status",
    "svg",
    "background_removed",
    "credits_used",
    "credits_remaining"
  ],
  "properties": {
    "object": {
      "type": "string",
      "const": "svg.vectorization"
    },
    "status": {
      "type": "string",
      "const": "completed"
    },
    "svg": {
      "type": "string",
      "description": "Complete vectorized SVG markup."
    },
    "background_removed": {
      "type": "boolean",
      "description": "Whether optional background removal succeeded."
    },
    "credits_used": {
      "type": "number",
      "description": "Credits used by this request."
    },
    "credits_remaining": {
      "type": "number",
      "description": "Remaining account balance."
    }
  }
}