{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compteam-io/json-schema/compteam-io-bulk-status-update-schema.json",
  "title": "BulkStatusUpdate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compteam-io-billing-api-openapi.yml#/components/schemas/BulkStatusUpdate",
  "properties": {
    "payment_ids": {
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "type": "array",
      "minItems": 1,
      "title": "Payment Ids"
    },
    "action": {
      "type": "string",
      "enum": [
        "mark_paid",
        "waive",
        "failed_debit"
      ],
      "title": "Action"
    },
    "reference": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reference"
    },
    "notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Notes"
    }
  },
  "type": "object",
  "required": [
    "payment_ids",
    "action"
  ]
}