{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zoho-forms/json-schema/zoho-forms-record-list-success-response-schema.json",
  "title": "RecordListSuccessResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-forms-records-api-openapi.yml#/components/schemas/RecordListSuccessResponse",
  "type": "object",
  "required": [
    "status",
    "code",
    "data",
    "timestamp"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "success"
      ],
      "description": "Status."
    },
    "code": {
      "type": "string",
      "enum": [
        "SUCCESS"
      ],
      "description": "Code."
    },
    "data": {
      "$ref": "#/$defs/RecordListData"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Server time of the response, in UTC."
    }
  },
  "$defs": {
    "RecordData": {
      "type": "object",
      "description": "One submitted record, keyed by field API name, plus system keys. Every input field of the form has a key. A field with no value is empty: \"\" for text, [] for lists, {} for a matrix, and an object of \"\" values for Name and Address.",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[0-9]{1,19}$",
          "description": "ID of the record. Use it as recordId in Get a record."
        },
        "ADDED_TIME": {
          "type": "string",
          "format": "date-time",
          "description": "Submission time in UTC, in ISO 8601 format. Milliseconds are included when they are not zero."
        },
        "MODIFIED_TIME": {
          "type": "string",
          "format": "date-time",
          "description": "Time of the last edit in UTC. The key is absent for records that were never edited."
        },
        "IP_ADDRESS": {
          "type": "string",
          "description": "IP address of the respondent. \"\" when the form does not collect IP addresses."
        },
        "ADDED_EMAILID": {
          "type": "string",
          "description": "Email address of the signed-in respondent, or your email address for records added with Add a record. \"Public\" for an anonymous submission."
        },
        "REFERRER_NAME": {
          "type": "string",
          "description": "Page the record was submitted from. \"\" when there is none."
        },
        "ADDED_LANGUAGE": {
          "type": "string",
          "description": "Language of the submission, as \"{Language} ({code})\", for example \"French (fr)\". Present only on forms with translations. \"\" when the record has no language."
        },
        "PaymentCurrency": {
          "type": "string",
          "description": "Payment currency. Present only on forms with payment settings."
        }
      },
      "additionalProperties": true
    },
    "RecordListData": {
      "type": "object",
      "required": [
        "records",
        "info"
      ],
      "properties": {
        "records": {
          "type": "array",
          "description": "Records of the page in the requested order. May be empty.",
          "items": {
            "$ref": "#/$defs/RecordData"
          }
        },
        "info": {
          "$ref": "#/$defs/RecordPaginationInfo"
        }
      }
    },
    "RecordPaginationInfo": {
      "type": "object",
      "description": "Paging details. The total count is not returned.",
      "required": [
        "page",
        "limit",
        "sort_by",
        "sort_order",
        "has_more"
      ],
      "properties": {
        "page": {
          "type": "integer",
          "description": "Page returned. Default: 1."
        },
        "limit": {
          "type": "integer",
          "description": "Number of records per page. Default: 50."
        },
        "sort_by": {
          "type": "string",
          "description": "Field the records are sorted by. Default: ADDED_TIME."
        },
        "sort_order": {
          "type": "string",
          "description": "Sort order you sent. Default: desc. Without sort_by, records are always sorted by ADDED_TIME, newest first.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "has_more": {
          "type": "boolean",
          "description": "More records exist after this page. Request page + 1."
        }
      }
    }
  }
}