{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bugbug-io/json-schema/bugbug-io-v2-suite-create-schema.json",
  "title": "V2SuiteCreate",
  "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/V2SuiteCreate",
  "type": "object",
  "properties": {
    "autoAddNewTests": {
      "type": "boolean"
    },
    "autoRetry": {
      "type": "integer",
      "maximum": 5,
      "minimum": 0
    },
    "beforeAfterAllEnabled": {
      "type": "boolean"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "title": "Suite notes"
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100
    },
    "runInParallel": {
      "type": "boolean"
    },
    "runProfileId": {
      "type": "string",
      "format": "uuid"
    },
    "tests": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "beforeAll": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "afterAll": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 64
      },
      "writeOnly": true,
      "maxItems": 64
    },
    "tagIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "writeOnly": true,
      "maxItems": 64
    }
  },
  "required": [
    "runProfileId"
  ]
}