{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/good-grants/json-schema/good-grants-entry-list-schema.json",
  "title": "EntryList",
  "description": "Paginated list of applications.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/good-grants-applications-api-openapi.yml#/components/schemas/EntryList",
  "allOf": [
    {
      "$ref": "#/$defs/Pagination"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "array",
          "description": "Applications on the current page.",
          "items": {
            "$ref": "#/$defs/EntrySummary"
          }
        }
      }
    }
  ],
  "$defs": {
    "EntrySummary": {
      "type": "object",
      "description": "Core application fields shared by the list and single-application responses.",
      "properties": {
        "applicant": {
          "type": "object",
          "description": "Applicant who created and owns the application.",
          "properties": {
            "slug": {
              "type": "string",
              "description": "URL-safe identifier of the applicant."
            },
            "link": {
              "type": "string",
              "format": "uri",
              "description": "URL of the applicant resource."
            },
            "name": {
              "type": "string",
              "description": "Full name of the applicant."
            },
            "first_name": {
              "type": "string",
              "description": "First name of the applicant."
            },
            "last_name": {
              "type": "string",
              "description": "Last name of the applicant."
            },
            "email": {
              "type": "string",
              "format": "email",
              "description": "Email address of the applicant."
            },
            "global_id": {
              "type": "string",
              "description": "Globally unique identifier of the applicant."
            }
          }
        },
        "auto_score": {
          "type": "integer",
          "description": "Automated score calculated for the application."
        },
        "category": {
          "type": "object",
          "description": "Category the application is assigned to.",
          "properties": {
            "slug": {
              "type": "string",
              "description": "URL-safe identifier of the category."
            },
            "link": {
              "type": "string",
              "format": "uri",
              "description": "URL of the category resource."
            },
            "name": {
              "type": "object",
              "description": "Name of the category, keyed by locale code.",
              "additionalProperties": {
                "type": "string"
              }
            }
          }
        },
        "chapter": {
          "type": "object",
          "description": "Chapter the entry is assigned to.",
          "properties": {
            "slug": {
              "type": "string",
              "description": "URL-safe identifier of the chapter."
            },
            "link": {
              "type": "string",
              "format": "uri",
              "description": "URL of the chapter resource."
            },
            "name": {
              "type": "object",
              "description": "Name of the chapter, keyed by locale code.",
              "additionalProperties": {
                "type": "string"
              }
            }
          }
        },
        "comments": {
          "type": "string",
          "description": "Manager comments recorded on the entry, joined into a single string."
        },
        "contributor_count": {
          "type": "integer",
          "description": "Number of contributors linked to the application."
        },
        "created": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time when the entry was created."
        },
        "custom_deadline": {
          "type": "string",
          "description": "Custom submission deadline for the entry, or `-` when none is set."
        },
        "division": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Division number assigned to the entry, or `null` when none is assigned."
        },
        "eligibility_status": {
          "type": "string",
          "description": "Eligibility status of the application."
        },
        "files_count": {
          "type": "integer",
          "description": "Number of files uploaded to the application."
        },
        "form": {
          "type": "object",
          "description": "Entry form used to capture the application.",
          "properties": {
            "slug": {
              "type": "string",
              "description": "URL-safe identifier of the form."
            },
            "link": {
              "type": "string",
              "format": "uri",
              "description": "URL of the form resource."
            },
            "name": {
              "type": "object",
              "description": "Name of the form, keyed by locale code.",
              "additionalProperties": {
                "type": "string"
              }
            }
          }
        },
        "grant_start_date": {
          "type": [
            "string",
            "null"
          ],
          "description": "Date when the grant starts, or `null` when not applicable, shown only when the grants feature is enabled."
        },
        "grant_end_date": {
          "type": [
            "string",
            "null"
          ],
          "description": "Date when the grant ends, or `null` when not applicable, shown only when the grants feature is enabled."
        },
        "grant_status": {
          "type": [
            "object",
            "null"
          ],
          "description": "Grant status assigned to the entry, or `null` when none is set, shown only when the grants feature is enabled.",
          "properties": {
            "slug": {
              "type": "string",
              "description": "URL-safe identifier of the grant status."
            },
            "link": {
              "type": "string",
              "format": "uri",
              "description": "URL of the grant status resource."
            },
            "name": {
              "type": "object",
              "description": "Name of the grant status, keyed by locale code.",
              "additionalProperties": {
                "type": "string"
              }
            }
          }
        },
        "local_id": {
          "type": "integer",
          "description": "Sequential identifier of the entry within the account."
        },
        "moderation_status": {
          "type": "string",
          "description": "Moderation status of the application."
        },
        "parent_category": {
          "type": [
            "object",
            "null"
          ],
          "description": "Parent of the assigned category, or `null` when the category has no parent.",
          "properties": {
            "slug": {
              "type": "string",
              "description": "URL-safe identifier of the parent category."
            },
            "link": {
              "type": "string",
              "format": "uri",
              "description": "URL of the parent category resource."
            },
            "name": {
              "type": "object",
              "description": "Name of the parent category, keyed by locale code.",
              "additionalProperties": {
                "type": "string"
              }
            }
          }
        },
        "payment_status": {
          "type": "string",
          "description": "Payment status of the application."
        },
        "plagiarism_scan_status": {
          "type": "string",
          "description": "Plagiarism scan status of the application."
        },
        "review_status": {
          "type": "string",
          "description": "Review status of the application."
        },
        "season": {
          "type": "object",
          "description": "Season the entry belongs to.",
          "properties": {
            "slug": {
              "type": "string",
              "description": "URL-safe identifier of the season."
            },
            "link": {
              "type": "string",
              "format": "uri",
              "description": "URL of the season resource."
            },
            "name": {
              "type": "object",
              "description": "Name of the season, keyed by locale code.",
              "additionalProperties": {
                "type": "string"
              }
            }
          }
        },
        "slug": {
          "type": "string",
          "description": "URL-safe identifier of the application."
        },
        "status": {
          "type": "string",
          "description": "Submission status of the application, for example `submitted`, `in_progress`, `resubmission_required`, `resubmitted`, `invited`, or `not_approved_for_submission`."
        },
        "submitted": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Date and time when the entry was submitted, or `null` when not yet submitted."
        },
        "tags": {
          "type": "string",
          "description": "Tags applied to the entry, as a comma-separated list."
        },
        "title": {
          "type": "string",
          "description": "Title of the application."
        },
        "updated": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time when the entry was last updated."
        },
        "user_comments": {
          "type": "string",
          "description": "Comments left by users on the entry, joined into a single string."
        }
      }
    },
    "Pagination": {
      "type": "object",
      "title": "Pagination",
      "properties": {
        "current_page": {
          "type": "integer",
          "description": "Number of the page returned by this response, starting at `1`."
        },
        "first_page_url": {
          "type": "string",
          "description": "URL of the first page in the result set, relative when the requested page is beyond the last page."
        },
        "from": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Position of the first record on this page within the full result set, starting at `1`, or `null` when the requested page is beyond the last page."
        },
        "last_page": {
          "type": "integer",
          "description": "Total number of pages."
        },
        "last_page_url": {
          "type": "string",
          "description": "URL of the last page in the result set, relative when the requested page is beyond the last page."
        },
        "next_page_url": {
          "type": "string",
          "description": "URL of the next page in the result set, empty when the current page is the last page."
        },
        "path": {
          "type": "string",
          "description": "Canonical URL of the endpoint, without query parameters."
        },
        "per_page": {
          "type": "integer",
          "default": 10,
          "description": "Maximum number of records returned per page."
        },
        "prev_page_url": {
          "type": "string",
          "description": "URL of the previous page in the result set, empty when the current page is the first page."
        },
        "to": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Position of the last record on this page within the full result set, or `null` when the requested page is beyond the last page."
        },
        "total": {
          "type": "integer",
          "description": "Total number of records across all pages."
        }
      }
    }
  }
}