addedOutput schema / anyOf
Added value: +[
+ {
+ "description": "Single-page WCAG scan result.",
+ "properties": {
+ "cached": {
+ "description": "Present and true when served from the 24h per-URL cache.",
+ "type": "boolean"
+ },
+ "get_full_site_scan_and_ai_fixes": {
+ "description": "Signup URL for full-site scans + AI fixes.",
+ "type": "string"
+ },
+ "grade": {
+ "description": "Letter grade derived from score.",
+ "enum": [
+ "A",
+ "B",
+ "C",
+ "D",
+ "F"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "description": "Unique scan id; use with report_url.",
+ "type": "string"
+ },
+ "note": {
+ "description": "Coverage/limitation disclaimer.",
+ "type": "string"
+ },
+ "report_url": {
+ "description": "Shareable JSON report for this scan id.",
+ "type": "string"
+ },
+ "scanned_at": {
+ "description": "ISO-8601 scan timestamp.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "scope": {
+ "description": "Always \"single_page\" for this tool.",
+ "type": "string"
+ },
+ "score": {
+ "description": "Accessibility score, 0-100.",
+ "type": "number"
+ },
+ "summary": {
+ "description": "Severity roll-up.",
+ "properties": {
+ "critical": {
+ "type": "number"
+ },
+ "minor": {
+ "type": "number"
+ },
+ "moderate": {
+ "type": "number"
+ },
+ "needs_manual_review": {
+ "description": "Advisory items needing human review.",
+ "type": "number"
+ },
+ "serious": {
+ "type": "number"
+ },
+ "total_violations": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "total_violations",
+ "critical",
+ "serious",
+ "moderate",
+ "minor",
+ "needs_manual_review"
+ ],
+ "type": "object"
+ },
+ "url": {
+ "description": "The URL that was scanned.",
+ "type": "string"
+ },
+ "violations": {
+ "description": "Up to 20 violation groups, most severe first.",
+ "items": {
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "element_count": {
+ "description": "Total matching elements (elements[] is capped at 3).",
+ "type": "number"
+ },
+ "elements": {
+ "items": {
+ "properties": {
+ "failure_summary": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "html": {
+ "type": "string"
+ },
+ "screenshot": {
+ "description": "Per-element screenshot URL (axe-found, visible elements only).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "screenshot_height": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "screenshot_width": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "selector": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "selector",
+ "html"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "how_to_fix": {
+ "type": "string"
+ },
+ "impact": {
+ "enum": [
+ "critical",
+ "serious",
+ "moderate",
+ "minor"
+ ],
+ "type": "string"
+ },
+ "reference": {
+ "description": "Learn-more link (internal KB or external spec).",
+ "type": "string"
+ },
+ "reference_internal": {
+ "description": "True when reference points to AllyProof's knowledge base.",
+ "type": "boolean"
+ },
+ "rule": {
+ "description": "Engine rule id (axe-core or HTML_CodeSniffer).",
+ "type": "string"
+ },
+ "wcag": {
+ "description": "WCAG success criteria, e.g. \"1.4.3\".",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "rule",
+ "impact",
+ "wcag",
+ "description",
+ "how_to_fix",
+ "reference",
+ "reference_internal",
+ "element_count",
+ "elements"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "url",
+ "scanned_at",
+ "score",
+ "grade",
+ "summary",
+ "violations",
+ "scope",
+ "note",
+ "report_url",
+ "get_full_site_scan_and_ai_fixes"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "payment": {
+ "type": "object"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "status": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "error",
+ "status"
+ ],
+ "type": "object"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "cached": {
- "description": "Present and true when served from the 24h per-URL cache.",
- "type": "boolean"
- },
- "get_full_site_scan_and_ai_fixes": {
- "description": "Signup URL for full-site scans + AI fixes.",
- "type": "string"
- },
- "grade": {
- "description": "Letter grade derived from score.",
- "enum": [
- "A",
- "B",
- "C",
- "D",
- "F"
- ],
- "type": "string"
- },
- "id": {
- "description": "Unique scan id; use with report_url.",
- "type": "string"
- },
- "note": {
- "description": "Coverage/limitation disclaimer.",
- "type": "string"
- },
- "report_url": {
- "description": "Shareable JSON report for this scan id.",
- "type": "string"
- },
- "scanned_at": {
- "description": "ISO-8601 scan timestamp.",
- "format": "date-time",
- "type": "string"
- },
- "scope": {
- "description": "Always \"single_page\" for this tool.",
- "type": "string"
- },
- "score": {
- "description": "Accessibility score, 0-100.",
- "type": "number"
- },
- "summary": {
- "description": "Severity roll-up.",
- "properties": {
- "critical": {
- "type": "number"
- },
- "minor": {
- "type": "number"
- },
- "moderate": {
- "type": "number"
- },
- "needs_manual_review": {
- "description": "Advisory items needing human review.",
- "type": "number"
- },
- "serious": {
- "type": "number"
- },
- "total_violations": {
- "type": "number"
- }
- },
- "required": [
- "total_violations",
- "critical",
- "serious",
- "moderate",
- "minor",
- "needs_manual_review"
- ],
- "type": "object"
- },
- "url": {
- "description": "The URL that was scanned.",
- "type": "string"
- },
- "violations": {
- "description": "Up to 20 violation groups, most severe first.",
- "items": {
- "properties": {
- "description": {
- "type": "string"
- },
- "element_count": {
- "description": "Total matching elements (elements[] is capped at 3).",
- "type": "number"
- },
- "elements": {
- "items": {
- "properties": {
- "failure_summary": {
- "type": [
- "string",
- "null"
- ]
- },
- "html": {
- "type": "string"
- },
- "screenshot": {
- "description": "Per-element screenshot URL (axe-found, visible elements only).",
- "type": [
- "string",
- "null"
- ]
- },
- "screenshot_height": {
- "type": [
- "number",
- "null"
- ]
- },
- "screenshot_width": {
- "type": [
- "number",
- "null"
- ]
- },
- "selector": {
- "type": "string"
- }
- },
- "required": [
- "selector",
- "html"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "how_to_fix": {
- "type": "string"
- },
- "impact": {
- "enum": [
- "critical",
- "serious",
- "moderate",
- "minor"
- ],
- "type": "string"
- },
- "reference": {
- "description": "Learn-more link (internal KB or external spec).",
- "type": "string"
- },
- "reference_internal": {
- "description": "True when reference points to AllyProof's knowledge base.",
- "type": "boolean"
- },
- "rule": {
- "description": "Engine rule id (axe-core or HTML_CodeSniffer).",
- "type": "string"
- },
- "wcag": {
- "description": "WCAG success criteria, e.g. \"1.4.3\".",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "rule",
- "impact",
- "wcag",
- "description",
- "how_to_fix",
- "reference",
- "reference_internal",
- "element_count",
- "elements"
- ],
- "type": "object"
- },
- "type": "array"
- }
-}