Optional_URL path prefix. Leading slash added automatically if missing. Example: /blog
OptionalbasePer-route base URL overrides. Takes precedence over channel-level baseUrls.
OptionallocalesSupported locales for this route. When set, separate route map shards
are created per locale (e.g., routes-web-product-en).
OptionalmodeRoute mode hint for Studio UI. Does not affect resolver behavior.
OptionalparentReference field name on the parent document.
OptionalparentHow parent and child documents are related.
'parentReferencesChild': parent has reference array to children.
'childReferencesParent': child has reference to parent.
OptionalparentSlug field on the parent document. Defaults to 'slug'.
OptionalparentParent document type for parentSlug mode.
OptionalpathGROQ expression evaluated per document to produce the URL path segment.
Defaults to slug.current. The variable $locale is available when
locales are configured.
OptionalslugField name for the slug. Defaults to 'slug'. Used by Studio components.
Document type names that this route handles.
Maps one or more document types to a URL path pattern.
Each entry defines how documents of the specified types resolve to URLs under a given
basePath. ThepathExpressionis a GROQ expression evaluated against each document to produce the path segment.Example