.TH "hyle_schema_desc" 3 "libhyle" \" -*- nroff -*- .ad l .nh .SH NAME hyle_schema_desc \- Framework-neutral, pure-C schema descriptor for one field\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Data Fields" .in +1c .ti -1c .RI "const char * \fBkey\fP" .br .ti -1c .RI "size_t \fBoffset\fP" .br .ti -1c .RI "size_t \fBsize\fP" .br .ti -1c .RI "int \fBis_int\fP" .br .ti -1c .RI "int \fBkind\fP" .br .ti -1c .RI "int \fBis_array\fP" .br .ti -1c .RI "int \fBqm_type\fP" .br .ti -1c .RI "union {" .br .ti -1c .RI "}; " .br .ti -1c .RI "int \fBwritable\fP" .br .ti -1c .RI "int \fBrequired\fP" .br .ti -1c .RI "size_t \fBmin_length\fP" .br .ti -1c .RI "const char * \fBref_source\fP" .br .ti -1c .RI "const char * \fBref_inverse\fP" .br .ti -1c .RI "int \fBin_meta\fP" .br .ti -1c .RI "const char * \fBfile\fP" .br .ti -1c .RI "const char * \fBfilter_style\fP" .br .ti -1c .RI "const char * \fBfilter_mode\fP" .br .ti -1c .RI "const char * \fBderive_key\fP" .br .ti -1c .RI "int \fBallow_add\fP" .br .ti -1c .RI "int \fBsearch_weight\fP" .br .in -1c .SH "Detailed Description" .PP Framework-neutral, pure-C schema descriptor for one field\&. Layout contract: the first 5 fields match bud_field_desc_t so the two can be stride-cast with zero copy\&. The FIELD_* macros below build these from struct layouts\&. .SH "Field Documentation" .PP .SS "union { \&.\&.\&. } \fBhyle_schema_desc\fP" Field category (source_type is a legacy alias)\&. .SS "int hyle_schema_desc::allow_add" Non-zero when new entries may be added through this field\&. .SS "const char* hyle_schema_desc::derive_key" Key selecting a derive provider for derived fields, or NULL\&. .SS "const char* hyle_schema_desc::file" Attached file name, or NULL\&. .SS "const char* hyle_schema_desc::filter_mode" Filter matching mode, or NULL\&. .SS "const char* hyle_schema_desc::filter_style" Display/filter style hint, or NULL\&. .SS "int hyle_schema_desc::in_meta" Non-zero when the field lives in meta rather than record state\&. .SS "int hyle_schema_desc::is_array" 0 = scalar, 1 = collection/array\&. .SS "int hyle_schema_desc::is_int" Non-zero when the field stores an integer\&. .SS "const char* hyle_schema_desc::key" Field key (struct member name, JSON name)\&. .SS "int hyle_schema_desc::kind" HYLE_KIND_* serialization/UI mode\&. .SS "size_t hyle_schema_desc::min_length" Minimum string length (0 = unconstrained)\&. .SS "size_t hyle_schema_desc::offset" Byte offset of the member in its owning struct (0 if virtual)\&. .SS "int hyle_schema_desc::qm_type" Corm type id (HYLE_CM_*)\&. .SS "const char* hyle_schema_desc::ref_inverse" Inverse field name for inverse relations\&. .SS "const char* hyle_schema_desc::ref_source" Source id referenced by reference fields\&. .SS "int hyle_schema_desc::required" Non-zero when a value is mandatory\&. .SS "int hyle_schema_desc::search_weight" Custom search ranking weight (0 = auto)\&. .SS "size_t hyle_schema_desc::size" Byte size of the member (0 if virtual)\&. .SS "int hyle_schema_desc::writable" Non-zero when the field may be written by clients\&. .SH "Author" .PP Generated automatically by Doxygen for libhyle from the source code\&.