changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "fixes": {
+ "description": "Top fixes, the same recommendations as report.recommendations.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "description": "What to change on the form.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Stable id for this fix.",
+ "type": "string"
+ },
+ "severity": {
+ "enum": [
+ "critical",
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "description": "Short name of the fix.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "severity",
+ "title",
+ "detail"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "grade": {
+ "description": "Letter grade.",
+ "enum": [
+ "A",
+ "B",
+ "C",
+ "D",
+ "F"
+ ],
+ "type": "string"
+ },
+ "parsed": {
+ "additionalProperties": true,
+ "description": "Parsed form. Restricted fields are left out.",
+ "properties": {
+ "fields": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title"
+ ],
+ "type": "object"
+ },
+ "parser": {
+ "const": "heuristic",
+ "description": "Set on anonymous grades. Workers AI stays off.",
+ "type": "string"
+ },
+ "report": {
+ "additionalProperties": true,
+ "description": "Full grade report. Restricted field labels are left out.",
+ "properties": {
+ "grade": {
+ "enum": [
+ "A",
+ "B",
+ "C",
+ "D",
+ "F"
+ ],
+ "type": "string"
+ },
+ "recommendations": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "severity": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "severity",
+ "title",
+ "detail"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "score": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "score",
+ "grade",
+ "recommendations"
+ ],
+ "type": "object"
+ },
+ "reportId": {
+ "type": "string"
+ },
+ "reportUrl": {
+ "description": "Public report path, /tools/r/{reportId}, when one is stored.",
+ "type": "string"
+ },
+ "score": {
+ "description": "Score from 0 to 100.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "report",
+ "parsed",
+ "reportId",
+ "score",
+ "grade",
+ "fixes"
+ ],
+ "type": "object"
+}