(datum, schema, named_schemas, parent_ns=None, raise_errors=True)
return (
        isinstance(datum, (Sequence, array.array))
        and not isinstance(datum, str)
        and all(
            _validate(
                datum=d,
                schema=schema["items"],
                named_schemas=named_schemas,
                field=parent_ns,
                raise_errors=raise_errors,
            )
            for d in datum
        )
    )
Check that the data list values all match schema['items'].

    Parameters
    ----------
    datum: Any
        Data being validated
    schema: dict
        Schema
    parent_ns: str
        parent namespace
    raise_errors: bool
        If true, raises ValidationError on invalid data
Check that the data list values all match schema['items'].
Check that the data list values all match schema [ items ] .
def validate_array(datum, schema, named_schemas, parent_ns=None, raise_errors=True):
    """
    Check that the data list values all match schema['items'].

    Parameters
    ----------
    datum: Any
        Data being validated
    schema: dict
        Schema
    parent_ns: str
        parent namespace
    raise_errors: bool
        If true, raises ValidationError on invalid data
    """
    return (
        isinstance(datum, (Sequence, array.array))
        and not isinstance(datum, str)
        and all(
            _validate(
                datum=d,
                schema=schema["items"],
                named_schemas=named_schemas,
                field=parent_ns,
                raise_errors=raise_errors,
            )
            for d in datum
        )
    )
def validate_array ( datum , schema , named_schemas , parent_ns = None , raise_errors = True ) : return ( isinstance ( datum , ( Sequence , array . array ) ) and not isinstance ( datum , str ) and all ( _validate ( datum = d , schema = schema [ "items" ] , named_schemas = named_schemas , field = parent_ns , raise_errors = raise_errors , ) for d in datum ) )