Function inferSecondaryFields
inferSecondaryFields( schema: JsonSchema, primary: Partial<{ description: string; image: string; label: string }>, limit?: number, explicit?: string[], rootSchema?: JsonSchema, excludeNames?: string[],): string[] Parameters
- schema: JsonSchema
- primary: Partial<{ description: string; image: string; label: string }>
Optionallimit: numberOptionalexplicit: string[]OptionalrootSchema: JsonSchemaOptionalexcludeNames: string[]
Returns string[]
Infer ranked secondary leaf property names from a schema object definition, excluding primary hero fields and linked-data keys.