{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/looot/json-schema/looot-create-provider-activation-change-request-schema.json",
  "title": "CreateProviderActivationChangeRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/looot-provider-activation-change-requests-api-openapi.yml#/components/schemas/CreateProviderActivationChangeRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "bundleId",
    "expectedReportId",
    "rightsTarget",
    "driverId",
    "connectionId"
  ],
  "properties": {
    "bundleId": {
      "type": "string",
      "pattern": "^pab_[a-f0-9]{32}$"
    },
    "expectedReportId": {
      "type": "string",
      "pattern": "^par_[a-f0-9]{32}$"
    },
    "rightsTarget": {
      "enum": [
        "byok_approved",
        "partner_approved"
      ]
    },
    "driverId": {
      "type": "string",
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    },
    "connectionId": {
      "type": "string",
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    }
  }
}