pattern.json
Patternplate pattern manifest file
| Type | object |
|---|---|
| File match |
pattern.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/pattern-json/latest.json |
| Source | https://www.schemastore.org/pattern.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
name
string
required
Machine readable name of the pattern
minLength=1pattern=^[a-z]+(?:-[a-z]+)*$
version
string
required
Semantic version of the pattern
pattern=^\d+\.\d+\.\d+(-[a-z]*){0,1}$
id
string
Unique id of this pattern
minLength=1
displayName
string
Human readable name of the pattern
minLength=1
versions
string[]
Available semantic versions of the pattern
minItems=1
flag
string
Stability flag of the pattern
pattern=^alpha|beta|rc|stable$
tags
string[]
Array of tags describing the pattern
minItems=1uniqueItems=true
data
object
Custom data object supplied by user
meta
object
Custom meta data object supplied by user
options
object
Custom options object supplied by user
patterns
object
Dependencies of the pattern
demoPatterns
Dependencies of the pattern used for demo purposes
overrides
object
Options for overriding of core pattern behaviour
2 nested properties
files
object
Custom mapping between patternplate files and paths to use in exchange for this pattern
demo
string
Custom url to use as demo for this pattern
_patternplate
object
Technical values saved by patternplate core