{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/emailens-dev/json-schema/emailens-dev-post-api-preview-response-schema.json",
  "title": "PostApiPreviewResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/emailens-dev-openapi-generated.yml#/components/schemas/PostApiPreviewResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "overallScore": {
      "type": "integer"
    },
    "transforms": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "string"
          },
          "html": {
            "type": "string"
          },
          "warnings": {
            "type": "array",
            "items": {}
          }
        }
      }
    },
    "compatibilityScores": {
      "type": "object",
      "properties": {
        "gmail-web": {
          "type": "object",
          "properties": {
            "score": {
              "type": "integer"
            },
            "errors": {
              "type": "integer"
            },
            "warnings": {
              "type": "integer"
            },
            "info": {
              "type": "integer"
            }
          }
        },
        "outlook-windows": {
          "type": "object",
          "properties": {
            "score": {
              "type": "integer"
            },
            "errors": {
              "type": "integer"
            },
            "warnings": {
              "type": "integer"
            },
            "info": {
              "type": "integer"
            }
          }
        }
      }
    },
    "spamReport": {
      "type": "object",
      "properties": {
        "score": {
          "type": "integer"
        },
        "triggers": {
          "type": "array",
          "items": {}
        }
      }
    },
    "sizeReport": {
      "type": "object",
      "properties": {
        "bytes": {
          "type": "integer"
        },
        "clippingRisk": {
          "type": "boolean"
        }
      }
    },
    "linkReport": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "broken": {
          "type": "integer"
        },
        "insecure": {
          "type": "integer"
        }
      }
    },
    "accessibilityReport": {
      "type": "object",
      "properties": {
        "score": {
          "type": "integer"
        },
        "issues": {
          "type": "array",
          "items": {}
        }
      }
    },
    "darkMode": {
      "type": "object",
      "properties": {
        "gmail-web": {
          "type": "object",
          "properties": {
            "html": {
              "type": "string"
            },
            "warnings": {
              "type": "array",
              "items": {}
            }
          }
        }
      }
    }
  }
}