Variable searchFacetSchemaDefinitionConst
searchFacetSchemaDefinition: {
$schema: "http://json-schema.org/draft-07/schema#";
additionalProperties: true;
properties: {
facets: {
additionalProperties: true;
properties: {
scopes: {
additionalProperties: {
additionalProperties: true;
properties: {
facet: { enum: readonly ["filter", "range"] };
kind: { type: "string" };
label: { type: "string" };
maxValues: { type: "number" };
multi: { type: "boolean" };
numericField: { type: "string" };
order: { type: "number" };
quick: { type: "boolean" };
};
required: readonly ["facet"];
type: "object";
};
type: "object";
};
};
type: "object";
};
fulltextIndex: {
additionalProperties: true;
properties: {
scopes: {
additionalProperties: {
additionalProperties: true;
properties: { weight: { type: "number" } };
type: "object";
};
type: "object";
};
types: {
additionalProperties: {
additionalProperties: true;
properties: { searchable: { type: "boolean" } };
type: "object";
};
type: "object";
};
};
type: "object";
};
};
type: "object";
} = ...
Type declaration
Readonly$schema: "http://json-schema.org/draft-07/schema#"
ReadonlyadditionalProperties: true
Readonlyproperties: {
facets: {
additionalProperties: true;
properties: {
scopes: {
additionalProperties: {
additionalProperties: true;
properties: {
facet: { enum: readonly ["filter", "range"] };
kind: { type: "string" };
label: { type: "string" };
maxValues: { type: "number" };
multi: { type: "boolean" };
numericField: { type: "string" };
order: { type: "number" };
quick: { type: "boolean" };
};
required: readonly ["facet"];
type: "object";
};
type: "object";
};
};
type: "object";
};
fulltextIndex: {
additionalProperties: true;
properties: {
scopes: {
additionalProperties: {
additionalProperties: true;
properties: { weight: { type: "number" } };
type: "object";
};
type: "object";
};
types: {
additionalProperties: {
additionalProperties: true;
properties: { searchable: { type: "boolean" } };
type: "object";
};
type: "object";
};
};
type: "object";
};
}
Readonlytype: "object"
Minimal JSON Schema (draft-07–compatible) for validating
SearchFacetSchemadocuments