{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bugbug-io/json-schema/bugbug-io-paginated-v2-project-list-schema.json",
  "title": "PaginatedV2ProjectList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bugbug-io-projects-api-openapi.yml#/components/schemas/PaginatedV2ProjectList",
  "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/V2Project"
      }
    }
  },
  "$defs": {
    "V2Project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "homepageUrl": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "organizationId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid",
          "readOnly": true
        },
        "organizationName": {
          "type": "string"
        }
      },
      "required": [
        "homepageUrl",
        "id",
        "name",
        "organizationId",
        "organizationName"
      ]
    }
  }
}