{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/consentease-io/json-schema/consentease-io-post-sites-id-installation-check-response-schema.json",
  "title": "PostSitesIdInstallationCheckResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/consentease-io-openapi-generated.yml#/components/schemas/PostSitesIdInstallationCheckResponse",
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "checkedUrl": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "description": "complete, partial, or unreachable"
    },
    "reason": {
      "type": "string"
    },
    "setupScore": {
      "type": "integer",
      "description": "0‑100"
    },
    "checks": {
      "type": "array",
      "description": "list of {id, passed, detail}"
    },
    "openItems": {
      "type": "array",
      "description": "plain‑language fixes"
    },
    "checkedAt": {
      "type": "string",
      "description": "timestamp"
    },
    "note": {
      "type": "string"
    },
    "installationWarnings": {
      "type": "array",
      "description": "list of warning objects"
    }
  }
}