A detailed description of the Core Data Places configuration schema.
TinaCMS content collections.
Required: No
Determines which content collections are available in TinaCMS and display in the navigation menu.
Array<"paths" | "posts">
Required: No
If set to true, pages will be nested within a localized directory (e.g /pages/en/Home.mdx). If false, pages will not be localized and placed in the root /pages directory.
Boolean
Required: No
Core Data configuration options.
Required: Yes
URL of the Core Data application (e.g https://staging.coredata.cloud).
String
Required: Yes
An array of Core Data project IDs. The project ID can be found in the address bar when accessing the Core Data platform (e.g. https://staging.coredata.cloud/projects/:project_id).
Array<String>
Required: Yes
An array of model names for which full page records should be available. Pages will be routed at /:name/:uuid (e.g. /places/196c3113-5fdd-4453-81a1-3ce0ac22d1f4).
Array<"events" | "instances" | "items" | "organizations" | "people" | "places" | "works">
Required: No
AstroJS i18n configuration options.
Required: Yes
The site will be redirected to this locale automatically when the root path is visited.
String
Required: Yes
An array of all supported locales.
Array<String>
Required: Yes
The map layers configuration array. For each entry, the map menu will provide a list of base layers and overlays that can be toggled.
Required: Yes
Name of the map layer. This value will display in the map UI.
string
Required: Yes
The type of map layer to be rendered. This value will be used in conjunction with the below url value to determine how to render the layer.
"geojson" | "georeference" | "raster" | "vector"
Required: Yes
URL to the map server which will serve the map layer.
String
Required: true
If true, the layer can be rendered on top of the base map layer.
Boolean
Required: No
Default value: false
The array of search configuration objects. For each entry, an option will display under the "Explore" navigation menu.
Required: Yes
Array of facet rendering customizations.
Required: No
Name of the icon to display in the facet title. See react-components Icons.
String
Required: No
Name of the facet field in the Typesense schema. These fields will always end with a "_facet" suffix (e.g. "name_facet).
String
Required: No
Describes how to render the facet. A value of "list" will render checkboxes for each facet value. A value of "select" will render searchable dropdown. Both options allow multiple selections.
"list" | "select"
Required: No
Default value: list
If true, the "Filter by map bounds" option will be available on the map facet menu. This option will allow the user to filter the search results by zooming/panning the map viewport. This option should only be used if the data set contains only Latitude/Longitude geometries.
Boolean
Required: No
Default value: false
Map configuration options.
Required: Yes
If provided, map points will be clustered for the given radius (in miles). This option is only valid if the map.geometry property contains Lat/Lng coordinates.
Number
Required: No
Path from the root Typesense document to the geometry object that will be displayed on the map.
String
Required: Yes
Examples:
-
geometry- The geometry is contained within thegeometryproperty of the root element -
b290e255-d89c-4c0a-8d9b-0790445c3d8f.geometry- The geometry is contained within the array of related records defined by the UUID within thegeometryproperty.
Corresponds to the Maplibre MapOptions maxZoom. The maximum zoom level allowed by the map.
Number
Required: No
Default value: 14
If true, the map animation will zoom/pan the map bounding box to fit the search results and when a result is selected.
Boolean
Required: No
Default value: true
Name of the search configuration. This value will be added to the i18n config with a "index_" prefix to allow setting a label for the navigation menu dropdown option. For example, a name of "places" would add the key "index_places" to the i18n JSON files.
String
Required: Yes
Search result card/table configuration.
Required: false
The property on the Typesense document to use as the search result card title. This property will also be used as the first column in the table view. This property will also accept a path to drill down into nested objects (e.g. 9a006156-3564-4cb1-bedb-6600c0419226.0.name).
String
Required: Yes
Array of additional attributes to display on the search result card and table view.
Required: No
The property on the Typesense document to display. This property will also accept a path to drill down into nested objects (e.g. 9a006156-3564-4cb1-bedb-6600c0419226.0.name).
String
Required: Yes
Name of the icon to display next to the attribute. See react-components Icons. If no icon value is provided, the search card will display a bullet.
String
Required: No
Array of attributes to display at the top of the search result card in the list view.
Required: No
The property on the Typesense document to display. This property will also accept a path to drill down into nested objects (e.g. 9a006156-3564-4cb1-bedb-6600c0419226.0.name).
Required: Yes
Whether to use the primary branding color for the tag background
Required: No
Whether to use the secondary branding color for the tag background
Required: No
The path prefix for which to navigate which clicking on a search result. For example, a value of "/places" will navigate to "/places/:uuid" when click on a search result.
"/events" | "/instances" | "/items" | "/organizations" | "/people" | "/places" | "/works"
Required: Yes
If true the table view will be available for selection in the search UI.
Boolean
Required: No
Default value: true
Search timeline configuration.
The property on the Typesense document to use as facet value for the timeline.
String
Required: Yes
Path from the root Typesense document to the events nested objects that will be displayed on the timeline.
String
Required: No
Typesense configuration options.
Required: Yes
Typesense server URL.
String
Required: Yes
Typesense server port, typically 443 or 8108.
Number
Required: Yes
Typically http or https.
String
Required: Yes
Typesense API key.
String
Required: Yes
Typesense index name.
String
Required: Yes
Typesense document field(s) to search when a query is executed.
String
Required: Yes
A list of fields and their corresponding sort orders that will be used for ordering your results. Separate multiple fields with a comma.
String
Required: No
Comma-separated list of fields from the document to exclude in the search result.
String
Required: No
Configuration for the facets to include/exclude from the list.
Comma-separated list of fields to exclude from the list of available facets.
Array<String>
Required: No
Comma-separated list of fields to include in the list of available facets.
Array<String>
Required: No
Configuration options to pass to the Typesense InstantSearch Adapter.
Object
Required: No