Skip to content

API reference / @docmentis/udoc-node / BindingSchema

Type Alias: BindingSchema ​

ts
type BindingSchema = 
  | {
  text: {
     values: string[];
  };
}
  | "bool"
  | {
  array: {
     item?: BindingSchema;
  };
}
  | {
  object: {
     properties: Record<string, BindingSchema>;
  };
};

What the data must hold at a path, as the bindings there imply it. A document's schema is the Object at its root.