changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "description": "Comprehensive multi-vector compliance audit report.",
+ "properties": {
+ "audit_id": {
+ "description": "Unique audit run identifier ('aud_*').",
+ "type": "string"
+ },
+ "compliance_grade": {
+ "description": "Letter grade capped by critical HTTPS or ePrivacy violations; 'FAILED' if unreachable.",
+ "enum": [
+ "A+",
+ "A",
+ "B",
+ "C",
+ "D",
+ "F",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "compliance_score": {
+ "description": "Calculated numeric compliance score (0 on failure).",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "cookie_inventory": {
+ "description": "Detailed cookies and tracking scripts discovered during the scan.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Single detected cookie or client-side tracker entry.",
+ "properties": {
+ "category": {
+ "description": "Regulatory cookie classification.",
+ "enum": [
+ "Necessary",
+ "Analytics",
+ "Marketing",
+ "Preferences"
+ ],
+ "type": "string"
+ },
+ "domain": {
+ "description": "Target hostname observed during scan.",
+ "type": "string"
+ },
+ "expiry": {
+ "description": "Retention lifetime or 'Session'.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Cookie name or identifier (e.g. '_ga', '_fbp').",
+ "type": "string"
+ },
+ "provider": {
+ "description": "Vendor or host domain setting the cookie.",
+ "type": "string"
+ },
+ "purpose": {
+ "description": "Human-readable functional or tracking purpose.",
+ "type": "string"
+ },
+ "source": {
+ "description": "Discovery mechanism: Set-Cookie response header or HTML script signature.",
+ "enum": [
+ "http_header",
+ "detected_script",
+ "manual"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "provider",
+ "category",
+ "expiry",
+ "purpose",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "deep_scan": {
+ "description": "Whether WCAG & AI Act deep DOM passes were executed.",
+ "type": "boolean"
+ },
+ "error": {
+ "description": "Present when success is false.",
+ "type": "string"
+ },
+ "findings": {
+ "description": "Human-readable compliance findings.",
+ "items": {
+ "description": "Single human-readable compliance check observation.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "is_https": {
+ "description": "Whether the target URL uses HTTPS.",
+ "type": "boolean"
+ },
+ "recommendations": {
+ "description": "Prioritized remediation actions.",
+ "items": {
+ "description": "Actionable remediation instruction.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "description": "Audit execution status.",
+ "enum": [
+ "COMPLETED",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "success": {
+ "description": "True if target responded with HTTP < 400; false on invalid URL, DNS/network failure, or HTTP >= 400.",
+ "type": "boolean"
+ },
+ "target_url": {
+ "description": "Normalized target URL scanned.",
+ "type": "string"
+ },
+ "tests": {
+ "additionalProperties": false,
+ "description": "Structured compliance check sub-reports across connectivity, TLS, consent, headers, legal links, WCAG, and EU AI Act.",
+ "properties": {
+ "detected_scripts": {
+ "description": "List of third-party tracking scripts identified in the HTML DOM.",
+ "items": {
+ "description": "Detected third-party script or vendor label.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "detected_trackers_count": {
+ "description": "Total cookies and tracking scripts observed on initial load.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "eu_ai_act": {
+ "additionalProperties": false,
+ "description": "EU AI Act Article 50 chatbot and disclosure check summary (skipped when deep_scan is false).",
+ "properties": {
+ "ai_chatbots_detected": {
+ "description": "AI conversational widgets discovered on the page.",
+ "items": {
+ "description": "Detected AI chat widget provider name.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "description": "EU AI Act transparency posture.",
+ "enum": [
+ "COMPLIANT",
+ "NEEDS_DISCLOSURE",
+ "HIGH_RISK_REVIEW",
+ "FAILED",
+ "SKIPPED"
+ ],
+ "type": "string"
+ },
+ "synthetic_media_disclosures": {
+ "description": "Whether explicit AI/synthetic interaction disclosure copy was found.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "status",
+ "ai_chatbots_detected",
+ "synthetic_media_disclosures"
+ ],
+ "type": "object"
+ },
+ "legal_disclosures": {
+ "additionalProperties": false,
+ "description": "Presence check for required statutory policy links in the HTML DOM.",
+ "properties": {
+ "ccpa_do_not_sell": {
+ "description": "California 'Do Not Sell or Share' / 'Your Privacy Choices' link check.",
+ "enum": [
+ "PASSED",
+ "WARNING",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "cookie_policy": {
+ "description": "Cookie Policy disclosure link check.",
+ "enum": [
+ "PASSED",
+ "WARNING",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "privacy_policy": {
+ "description": "Privacy Policy link presence (GDPR Art. 13/14 & CCPA).",
+ "enum": [
+ "PASSED",
+ "WARNING",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "terms_of_service": {
+ "description": "Terms of Service link presence.",
+ "enum": [
+ "PASSED",
+ "WARNING",
+ "FAILED"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "privacy_policy",
+ "terms_of_service",
+ "cookie_policy",
+ "ccpa_do_not_sell"
+ ],
+ "type": "object"
+ },
+ "marketing_trackers": {
+ "description": "Number of advertising/marketing trackers detected.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "prior_consent_enforcement": {
+ "description": "GDPR Art. 5(3) pre-consent tracker gating evaluation.",
+ "enum": [
+ "PASSED",
+ "VIOLATION",
+ "NOT_APPLICABLE"
+ ],
+ "type": "string"
+ },
+ "security_headers": {
+ "additionalProperties": false,
+ "description": "Evaluation of critical HTTP security response headers.",
+ "properties": {
+ "csp": {
+ "description": "Content-Security-Policy header check.",
+ "enum": [
+ "PASSED",
+ "WARNING",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "hsts": {
+ "description": "Strict-Transport-Security header check.",
+ "enum": [
+ "PASSED",
+ "WARNING",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "x_content_type_options": {
+ "description": "X-Content-Type-Options MIME-sniffing header check.",
+ "enum": [
+ "PASSED",
+ "WARNING",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "x_frame_options": {
+ "description": "X-Frame-Options clickjacking header check.",
+ "enum": [
+ "PASSED",
+ "WARNING",
+ "FAILED"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "hsts",
+ "csp",
+ "x_frame_options",
+ "x_content_type_options"
+ ],
+ "type": "object"
+ },
+ "ssl_tls_security": {
+ "description": "Whether the target enforces HTTPS transport security.",
+ "enum": [
+ "PASSED",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "wcag_accessibility": {
+ "additionalProperties": false,
+ "description": "WCAG 2.1 AA DOM accessibility pass summary (skipped when deep_scan is false).",
+ "properties": {
+ "landmarks_detected": {
+ "description": "Semantic landmarks found in the document.",
+ "items": {
+ "description": "HTML5 or ARIA landmark tag/role name.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "missing_alt_images": {
+ "description": "Count of <img> elements missing non-empty alt attributes.",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "score": {
+ "description": "Accessibility sub-score (0-100).",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "status": {
+ "description": "Accessibility check outcome.",
+ "enum": [
+ "PASSED",
+ "WARNING",
+ "FAILED",
+ "SKIPPED"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "score",
+ "missing_alt_images",
+ "landmarks_detected"
+ ],
+ "type": "object"
+ },
+ "website_reachable": {
+ "description": "Whether the target responded with HTTP < 400.",
+ "enum": [
+ "PASSED",
+ "FAILED"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "website_reachable",
+ "ssl_tls_security",
+ "prior_consent_enforcement",
+ "detected_trackers_count",
+ "marketing_trackers",
+ "detected_scripts",
+ "security_headers",
+ "legal_disclosures",
+ "wcag_accessibility",
+ "eu_ai_act"
+ ],
+ "type": "object"
+ },
+ "timestamp": {
+ "description": "ISO-8601 audit completion timestamp.",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "success",
+ "audit_id",
+ "target_url",
+ "deep_scan",
+ "compliance_score",
+ "compliance_grade",
+ "status",
+ "is_https",
+ "timestamp",
+ "tests",
+ "findings",
+ "recommendations",
+ "cookie_inventory"
+ ],
+ "type": "object"
+}