Interface ValuesSchema<S>

a schema for a dictionary of strings to identical values

interface ValuesSchema<S> {
    metadata?: unknown;
    nullable?: boolean;
    values: S;
}

Type Parameters

Properties

metadata?: unknown

optional metadata on a schema

nullable?: boolean

a key indicating if a type can be null

values: S

the schema for every value in the mapping