(datum, schema, named_schemas, parent_ns=None, raise_errors=True)
return (
        isinstance(datum, Mapping)
        and all(isinstance(k, str) for k in datum)
        and all(
            _validate(
                datum=v,
                schema=schema["values"],
                named_schemas=named_schemas,
                field=parent_ns,
                raise_errors=raise_errors,
            )
            for v in datum.values()
        )
    )
Check that the data is a Map(k,v)
    matching values to schema['values'] type.

    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 is a Map(k,v)
    matching values to schema['values'] type.
Check that the data is a Map ( k v ) matching values to schema [ values ] type .
def validate_map(datum, schema, named_schemas, parent_ns=None, raise_errors=True):
    """
    Check that the data is a Map(k,v)
    matching values to schema['values'] type.

    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, Mapping)
        and all(isinstance(k, str) for k in datum)
        and all(
            _validate(
                datum=v,
                schema=schema["values"],
                named_schemas=named_schemas,
                field=parent_ns,
                raise_errors=raise_errors,
            )
            for v in datum.values()
        )
    )
def validate_map ( datum , schema , named_schemas , parent_ns = None , raise_errors = True ) : return ( isinstance ( datum , Mapping ) and all ( isinstance ( k , str ) for k in datum ) and all ( _validate ( datum = v , schema = schema [ "values" ] , named_schemas = named_schemas , field = parent_ns , raise_errors = raise_errors , ) for v in datum . values ( ) ) )