{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/teliax/json-schema/teliax-carrier-email-prefill-response-schema.json",
  "title": "CarrierEmailPrefillResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/teliax-carrier-email-api-openapi.yml#/components/schemas/CarrierEmailPrefillResponse",
  "type": "object",
  "properties": {
    "carrierGroups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CarrierGroup"
      }
    },
    "operatorEmail": {
      "type": "string"
    }
  },
  "$defs": {
    "CarrierGroup": {
      "type": "object",
      "properties": {
        "spid": {
          "type": "string"
        },
        "carrierName": {
          "type": "string"
        },
        "contactEmail": {
          "type": "string"
        },
        "tradingPartnerExists": {
          "type": "boolean"
        },
        "tnCount": {
          "type": "integer",
          "format": "int32"
        },
        "tns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "suggestedSubject": {
          "type": "string"
        },
        "suggestedBody": {
          "type": "string"
        },
        "contactSource": {
          "type": "string"
        }
      }
    }
  }
}