{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zoho-forms/json-schema/zoho-forms-report-list-success-response-schema.json",
  "title": "ReportListSuccessResponse",
  "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/ReportListSuccessResponse",
  "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": [
        "reports",
        "info"
      ],
      "properties": {
        "reports": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ReportSummary"
          },
          "description": "Reports on this page."
        },
        "info": {
          "$ref": "#/$defs/ReportListInfo"
        }
      },
      "description": "Data."
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Server time of the response, in UTC."
    }
  },
  "$defs": {
    "ReportListInfo": {
      "type": "object",
      "description": "Paging and sort of this page. The total number of reports is not returned.",
      "required": [
        "page",
        "limit",
        "has_more",
        "sort_by",
        "sort_order"
      ],
      "properties": {
        "page": {
          "type": "integer",
          "description": "Page number."
        },
        "limit": {
          "type": "integer",
          "description": "Number of reports per page."
        },
        "has_more": {
          "type": "boolean",
          "description": "More reports exist after this page."
        },
        "sort_by": {
          "type": "string",
          "enum": [
            "created_time",
            "modified_time",
            "display_name"
          ],
          "description": "Field the reports are sorted by."
        },
        "sort_order": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "description": "Sort order."
        }
      }
    },
    "ReportSummary": {
      "type": "object",
      "description": "One report of the form.",
      "required": [
        "id",
        "api_name",
        "display_name",
        "creation_time",
        "modified_time",
        "self_url"
      ],
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[0-9]{1,19}$",
          "description": "ID of the report. Use it as reportId."
        },
        "api_name": {
          "type": "string",
          "description": "Link name of the report."
        },
        "display_name": {
          "type": "string",
          "description": "Name of the report shown in Zoho Forms."
        },
        "description": {
          "type": "string",
          "description": "Report description. Returned only when it is not empty."
        },
        "creation_time": {
          "type": "string",
          "format": "date-time",
          "description": "Time the report was created, in UTC, in ISO 8601 format."
        },
        "modified_time": {
          "type": "string",
          "format": "date-time",
          "description": "Time the report was last changed, in UTC, in ISO 8601 format."
        },
        "self_url": {
          "type": "string",
          "description": "Built from the server's REST domain setting without a scheme, for example zohoapis.com/forms/v1/forms/{formId}/reports/{reportId}. The URL it names is not available in this API version (404 INVALID_URL); do not call it."
        }
      }
    }
  }
}