⚠️ Deprecated (CF-7). Usepatterns(kind="canonical")instead. This name still resolves and returns byte-identical output for a deprecation window, but is no longer listed by default and emits a one-line notice.
Highest-quality example of a pattern in the codebase (e.g. canonical route handler). Use as a copy-paste template before writing similar code.
{
"type": "object",
"properties": {
"pattern_type": {
"type": "string",
"description": "route_handler | model_definition"
},
"domain": {
"type": "string",
"description": "Optional domain filter."
}
},
"required": [
"pattern_type"
]
}pattern_type
| Name | Type | Description |
|---|---|---|
pattern_type |
string | route_handler | model_definition |
domain |
string | Optional domain filter. |