{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zoho-forms/json-schema/zoho-forms-form-list-success-response-schema.json",
  "title": "FormListSuccessResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-forms-forms-api-openapi.yml#/components/schemas/FormListSuccessResponse",
  "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": [
        "forms",
        "info"
      ],
      "properties": {
        "forms": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FormListItem"
          },
          "description": "Forms."
        },
        "info": {
          "$ref": "#/$defs/FormListInfo"
        }
      },
      "description": "Data."
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Server time of the response, in UTC."
    }
  },
  "$defs": {
    "FormListInfo": {
      "type": "object",
      "description": "Pagination and sorting used for this page of results.",
      "required": [
        "page",
        "limit",
        "has_more",
        "sort_by",
        "sort_order"
      ],
      "properties": {
        "page": {
          "type": "integer",
          "description": "Page number returned. Whole number."
        },
        "limit": {
          "type": "integer",
          "description": "Number of forms per page."
        },
        "has_more": {
          "type": "boolean",
          "description": "More forms exist after this page. Request page + 1 to get them."
        },
        "sort_by": {
          "type": "string",
          "enum": [
            "created_time",
            "modified_time",
            "display_name"
          ],
          "description": "Sort key used."
        },
        "sort_order": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "description": "Sort direction used."
        }
      }
    },
    "FormListItem": {
      "type": "object",
      "description": "One form in the List forms response.",
      "required": [
        "id",
        "api_name",
        "display_name",
        "creation_time",
        "modified_time",
        "status"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the form. Use it as formId."
        },
        "api_name": {
          "type": "string",
          "description": "API name of the form, generated from the form name when the form is created."
        },
        "display_name": {
          "type": "string",
          "description": "Form name."
        },
        "description": {
          "type": "string",
          "description": "Form description. Returned only when it is not empty."
        },
        "creation_time": {
          "type": "string",
          "format": "date-time",
          "description": "Creation time in UTC, in ISO 8601 format."
        },
        "modified_time": {
          "type": "string",
          "format": "date-time",
          "description": "Last modification time in UTC, in ISO 8601 format."
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "disable",
            "deactive",
            "deleted_user_form"
          ],
          "description": "Form status."
        },
        "form_type": {
          "type": "string",
          "enum": [
            "standard",
            "card",
            "spotlight",
            "classic"
          ],
          "description": "Form layout. Not returned for layouts the API does not support."
        }
      }
    }
  }
}