{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/allmysms/json-schema/allmysms-get-campaign-response-schema.json",
  "title": "GetCampaignResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/allmysms-openapi-generated.yml#/components/schemas/GetCampaignResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "description": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    },
    "campaigns": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "nbSms": {
            "type": "integer"
          },
          "nbContacts": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "commandDate": {
            "type": "string",
            "format": "date-time"
          },
          "sendingDate": {
            "type": "string",
            "format": "date-time"
          },
          "lists": {
            "type": [
              "string",
              "null"
            ]
          },
          "sender": {
            "type": "string"
          }
        }
      }
    }
  }
}