{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/codecov/main/json-schema/codecov-paginated-flag-list-schema.json",
  "title": "PaginatedFlagList",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codecov-flags-api-openapi.yml#/components/schemas/PaginatedFlagList",
  "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/Flag"
      }
    }
  },
  "$defs": {
    "Flag": {
      "type": "object",
      "properties": {
        "flag_name": {
          "type": "string"
        },
        "coverage": {
          "type": "number",
          "format": "double",
          "title": "flag coverage"
        }
      },
      "required": [
        "coverage",
        "flag_name"
      ]
    }
  }
}