{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/responsys/json-schema/responsys-create-profile-list-request-schema.json",
  "title": "Create Profile List Request model",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/responsys-profile-lists-api-openapi.yml#/components/schemas/createProfileListRequest",
  "type": "object",
  "properties": {
    "listName": {
      "description": "The name of the Profile List",
      "type": "string"
    },
    "listFolderName": {
      "description": "The name of the folder in which the Profile List is to be created",
      "type": "string"
    },
    "description": {
      "description": "Description about the Profile list",
      "type": "string"
    },
    "brandName": {
      "description": "The name of the brand with which the profile list is associated. Required if account is brand-enabled.",
      "type": "string"
    },
    "fields": {
      "description": "The Profile List Fields",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fieldName": {
            "type": "string",
            "description": "The Profile List Field Name"
          },
          "fieldType": {
            "type": "string",
            "description": "The Profile List Field Type"
          }
        },
        "required": [
          "fieldName",
          "fieldType"
        ]
      }
    }
  },
  "required": [
    "listName",
    "listFolderName"
  ]
}