{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/codecov/main/json-schema/codecov-paginated-branch-list-schema.json",
  "title": "PaginatedBranchList",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codecov-branches-api-openapi.yml#/components/schemas/PaginatedBranchList",
  "type": "object",
  "required": [
    "count",
    "results"
  ],
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Branch"
      }
    }
  },
  "$defs": {
    "Branch": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "title": "branch name"
        },
        "updatestamp": {
          "type": "string",
          "format": "date-time",
          "title": "last updated timestamp"
        }
      },
      "required": [
        "name",
        "updatestamp"
      ]
    }
  }
}