# Extract ZIP

#### Source Codes

`ocbc-ecoffice/enrich/extract_zip/extract_zip.py`

#### Pipelet Arguments

* Filter items with files exceeding provided size (MB)
    * Defaults to 50MB

#### Description

* <b>NOTE:</b> The supported MIME types are as follow:
    1. `application/zip`
    2. `application/x-zip-compressed`
    3. `multipart/x-zip`
* Recursively unzips `.zip` files. It is noteworthy to ensure that `.zip` files are:
    1. <b style="color: red;">NOT</b> password-protected
    2. Less than 50MB
* If `source_type` keyword starts with "WFI", set `wfi:initial_checkin` property to `True` in Squirro Item:
    * This property is referenced in the following pipelets:
        1. [Sub Items Enrichment](/pipelets/sub-items-enrichment.html)
        2. [Store into WFI](/pipelets/store-into-wfi.html)
        3. [Retry Storing into WFI](/pipelets/retry-storing-into-wfi.html)
