{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/google-forms/refs/heads/main/json-schema/google-forms-api-form-response-schema.json",
  "title": "FormResponse",
  "description": "A response to a Google Form.",
  "type": "object",
  "properties": {
    "formId": { "type": "string", "description": "Output only. The form ID.", "readOnly": true },
    "responseId": { "type": "string", "description": "Output only. The response ID.", "readOnly": true },
    "createTime": { "type": "string", "format": "date-time", "description": "Timestamp for the first time the response was submitted." },
    "lastSubmittedTime": { "type": "string", "format": "date-time", "description": "Timestamp for the most recent submission." },
    "respondentEmail": { "type": "string", "format": "email", "description": "The email address of the respondent." },
    "answers": {
      "type": "object",
      "description": "The actual answers keyed by question ID.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "questionId": { "type": "string" },
          "textAnswers": {
            "type": "object",
            "properties": {
              "answers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "value": { "type": "string" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "totalScore": { "type": "number", "description": "Total points awarded for quiz forms." }
  }
}
