{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-campaign-calllist-add-numbers-schema.json",
  "title": "campaign_calllist_add_numbers",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ringover-campaigns-api-openapi.yml#/components/schemas/campaign_calllist_add_numbers",
  "type": "object",
  "properties": {
    "to_numbers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "to_number": {
            "type": "integer",
            "format": "e164"
          },
          "priority_order": {
            "type": "integer",
            "description": "The priority order of the number in the campaign calllist, the lower the number, the higher the priority"
          },
          "json_csv_infos": {
            "type": "string",
            "format": "json",
            "description": "Contains data related to the number.\njson_csv_infos must follow the schema:\n  {\"company\": \"\", \"firstname\": \"\", \"lastname\": \"\", \"social_data\": [{\"optionalField\": \"\"}, ...]}\nThe fields \"company\", \"firstname\", \"lastname\" and \"social_data\" are required.\nThe field \"social_data\" is an array of objects, each containing a key-value pair of type string.\nAll numbers' json_csv_infos must have the same fields in \"social_data\".\n"
          }
        }
      }
    }
  }
}