Content Library Item Updatesession File ValidationResult

Content Library Item Updatesession File ValidationResult
Content Library Item Updatesession File ValidationResult

The Content Library Item Updatesession File ValidationResult schema defines the result of validating the files in the session.

JSON Example
{
    "has_errors": false,
    "missing_files": [
        "string"
    ],
    "invalid_files": [
        {
            "name": "string",
            "error_message": {
                "id": "string",
                "default_message": "string",
                "args": [
                    "string"
                ],
                "params": {
                    "params": {
                        "s": "string",
                        "dt": "string",
                        "i": 0,
                        "d": "number",
                        "l": "Vapi Std NestedLocalizableMessage Object",
                        "format": "string",
                        "precision": 0
                    }
                },
                "localized": "string"
            }
        }
    ]
}
boolean
has_errors
Required

Whether the validation was succesful or not. In case of errors, the Content Library Item Updatesession File ValidationResult.missing_files and Content Library Item Updatesession File ValidationResult.invalid_files will contain at least one entry.

array of string
missing_files
Required

A set containing the names of the files that are required but the client hasn't added.

invalid_files
Required

A list containing the files that have been identified as invalid and details about the error.