{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bugbug-io/json-schema/bugbug-io-v2-suite-details-schema.json",
  "title": "V2SuiteDetails",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bugbug-io-suites-api-openapi.yml#/components/schemas/V2SuiteDetails",
  "type": "object",
  "properties": {
    "afterAll": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      },
      "readOnly": true
    },
    "autoAddNewTests": {
      "type": "boolean",
      "readOnly": true
    },
    "autoRetry": {
      "type": "integer",
      "readOnly": true
    },
    "beforeAfterAllEnabled": {
      "type": "boolean",
      "readOnly": true
    },
    "beforeAll": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      },
      "readOnly": true
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "title": "Suite notes"
    },
    "runInParallel": {
      "type": "boolean",
      "readOnly": true
    },
    "runProfileId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "readOnly": true
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/V2Tag"
      },
      "readOnly": true
    },
    "tests": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      },
      "readOnly": true
    },
    "testsCount": {
      "type": "integer",
      "readOnly": true
    },
    "webappUrl": {
      "type": "string",
      "readOnly": true
    }
  },
  "required": [
    "afterAll",
    "autoAddNewTests",
    "autoRetry",
    "beforeAfterAllEnabled",
    "beforeAll",
    "id",
    "name",
    "notes",
    "runInParallel",
    "runProfileId",
    "tags",
    "tests",
    "testsCount",
    "webappUrl"
  ],
  "$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"
      ]
    }
  }
}