{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zoho-forms/json-schema/zoho-forms-report-records-list-success-response-schema.json",
  "title": "ReportRecordsListSuccessResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-forms-reports-api-openapi.yml#/components/schemas/ReportRecordsListSuccessResponse",
  "type": "object",
  "required": [
    "status",
    "code",
    "data",
    "timestamp"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "success"
      ],
      "description": "Status."
    },
    "code": {
      "type": "string",
      "enum": [
        "SUCCESS"
      ],
      "description": "Code."
    },
    "data": {
      "type": "object",
      "required": [
        "records",
        "info"
      ],
      "properties": {
        "records": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ReportRecord"
          },
          "description": "Records."
        },
        "info": {
          "$ref": "#/$defs/ReportRecordsListInfo"
        }
      },
      "description": "Data."
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Server time of the response, in UTC."
    }
  },
  "$defs": {
    "ReportRecord": {
      "type": "object",
      "description": "One record as shown in the report.",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[0-9]{1,19}$",
          "description": "ID of the record. Use it with Get a record."
        }
      },
      "additionalProperties": true
    },
    "ReportRecordsListInfo": {
      "type": "object",
      "description": "Paging and sort of this page. Without sort_by, records are always sorted by ADDED_TIME, newest first. The total number of records is not returned.",
      "required": [
        "page",
        "limit",
        "sort_by",
        "sort_order",
        "has_more"
      ],
      "properties": {
        "page": {
          "type": "integer",
          "description": "Page number."
        },
        "limit": {
          "type": "integer",
          "description": "Number of records per page."
        },
        "sort_by": {
          "type": "string",
          "description": "Field the records are sorted by. Default: ADDED_TIME."
        },
        "sort_order": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "description": "Sort order. Default: desc."
        },
        "has_more": {
          "type": "boolean",
          "description": "More records exist after this page."
        }
      }
    }
  }
}