321 'ID' => MapTypeCaster::NULLABLE_INT,
322 'IBLOCK_ID' => MapTypeCaster::INT,
323 'NAME' => MapTypeCaster::NULLABLE_STRING,
324 'CODE' => MapTypeCaster::NULLABLE_STRING,
325 'XML_ID' => MapTypeCaster::NULLABLE_STRING,
326 'TIMESTAMP_X' => MapTypeCaster::DATETIME,
327 'MODIFIED_BY' => MapTypeCaster::NULLABLE_INT,
328 'DATE_CREATE' => MapTypeCaster::DATETIME,
329 'CREATED_BY' => MapTypeCaster::NULLABLE_INT,
330 'IBLOCK_SECTION_ID' => MapTypeCaster::NULLABLE_INT,
331 'ACTIVE' => MapTypeCaster::Y_OR_N,
332 'ACTIVE_FROM' => MapTypeCaster::DATETIME,
333 'ACTIVE_TO' => MapTypeCaster::DATETIME,
334 'SORT' => MapTypeCaster::NULLABLE_INT,
335 'PREVIEW_TEXT' => MapTypeCaster::NULLABLE_STRING,
336 'PREVIEW_TEXT_TYPE' => MapTypeCaster::NULLABLE_STRING,
337 'DETAIL_TEXT' => MapTypeCaster::NULLABLE_STRING,
338 'DETAIL_TEXT_TYPE' => MapTypeCaster::NULLABLE_STRING,
340 'PREVIEW_PICTURE' =>
static function ($value) {
341 return is_numeric($value) ? (int)$value : $value;
343 'DETAIL_PICTURE' =>
static function ($value) {
344 return is_numeric($value) ? (int)$value : $value;
348 'DETAIL_PAGE_URL' => MapTypeCaster::NOTHING,
350 'QUANTITY' => MapTypeCaster::NULLABLE_FLOAT,
351 'WEIGHT' => MapTypeCaster::NULLABLE_FLOAT,
352 'VAT_ID' => MapTypeCaster::NULLABLE_INT,
353 'VAT_INCLUDED' => MapTypeCaster::Y_OR_N,
354 'PURCHASING_PRICE' => MapTypeCaster::NULLABLE_FLOAT,
355 'PURCHASING_CURRENCY' => MapTypeCaster::NULLABLE_STRING,
356 'BARCODE_MULTI' => MapTypeCaster::Y_OR_N,
357 'QUANTITY_RESERVED' => MapTypeCaster::NULLABLE_FLOAT,
358 'WIDTH' => MapTypeCaster::NULLABLE_FLOAT,
359 'LENGTH' => MapTypeCaster::NULLABLE_FLOAT,
360 'HEIGHT' => MapTypeCaster::NULLABLE_FLOAT,
361 'MEASURE' => MapTypeCaster::NULLABLE_INT,
362 'TYPE' => MapTypeCaster::NULLABLE_INT,
363 'AVAILABLE' => MapTypeCaster::Y_OR_N,
364 'BUNDLE' => MapTypeCaster::Y_OR_N,
366 'QUANTITY_TRACE' => MapTypeCaster::Y_OR_N_OR_D,
367 'CAN_BUY_ZERO' => MapTypeCaster::Y_OR_N_OR_D,
368 'SUBSCRIBE' => MapTypeCaster::Y_OR_N_OR_D,
371 'UF_PRODUCT_GROUP' => MapTypeCaster::NULLABLE_INT,
372 'UF_PRODUCT_MAPPING' => MapTypeCaster::NULLABLE_MULTI_INT,