{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bugbug-io/json-schema/bugbug-io-paginated-v2-test-list-schema.json",
  "title": "PaginatedV2TestList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bugbug-io-tests-api-openapi.yml#/components/schemas/PaginatedV2TestList",
  "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/V2Test"
      }
    }
  },
  "$defs": {
    "V2Tag": {
      "type": "object",
      "properties": {
        "color": {
          "type": "string",
          "readOnly": true
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "readOnly": true
        }
      },
      "required": [
        "color",
        "id",
        "name"
      ]
    },
    "V2Test": {
      "type": "object",
      "properties": {
        "folderId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "maxLength": 255
        },
        "tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V2Tag"
          },
          "readOnly": true
        }
      },
      "required": [
        "id",
        "tags"
      ]
    }
  }
}