# Main ingestion checks

The main ingestion checks available are:

At root object level:

1. **1004 - There is a specific folder inside the object**: it checks that there is a subfolder at the root of the object. It is recommended for checking the main folder structure of an object.
2. **1006 - Maximum object size**: it checks the maximum size of an object. Depending on how we use the application, it could be a good way to avoid the preservation of objects that are too big, or that require a specific check of well-formedness.            &#x20;
3. **1007 - The file name starts with the object name**: it checks that the file names of the object start with the name of the very object. Recommended for well-formed objects, whereby their creation has considered a strict file identification system.   &#x20;

At folder level:

1. **2001 - File extension**: it checks that all the files in a folder have a specific extension. It is recommended for when the structure of the ingestion package has clearly defined folders by file type.
2. **2003 - Sequential file names**: it checks that the name in all of the files of a directory follows a numbered sequence. It is applied at the final part of the name, without considering the extension. It is recommended for use in strongly structured packages, as an added verification to guarantee the integrity of all the files saved in the folder.
3. **2006 - Minimum file size**: it checks that all the files in a folder have a minimum size. It is highly recommended that it be used at least in a configuration that sets a minimum size of 1 byte for its files; this way, the ingestion of objects with badly copied files (usually with zero size) can be avoided.     &#x20;

At file level:

1. **3003 - File name with invalid characters**: it checks that the file name does not contain invalid characters. Although initially it is taken for granted that a file has a valid name because of the mere fact that it can be copied by the file system, it could be convenient to use this check to ensure a correct name in any type of file system (**LIBSAFE** can have different types configured, with some sort of incompatibility among them)
2. **3004 - Maximum number of characters in the file name**: it checks that file names do not exceed a certain maximum length. It is recommended to help guarantee that file names length (when adding their particular path to the path of the destination directories) stays within the limits permitted by the file system. &#x20;
