Type object
File match accelerator.yaml
Schema URL https://catalog.lintel.tools/schemas/schemastore/application-accelerator/latest.json
Source https://www.schemastore.org/accelerator.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

accelerator object

The metadata (non-behavioral) part of an App Accelerator's accelerator.yaml file

7 nested properties
description string

A more detailed description

displayName string

A human-readable name

iconUrl string

A URL pointing to an icon image

imports object[]

The list of fragment to import

options array

The list of options passed to the UI to create input text boxes

tags string[]

A list of tags used to filter accelerators

types object[]

The definitions of custom types

Definitions

AcceleratorOption object
choices object[]

A list of predefined choices

dataType const: "string" | const: "number" | const: "boolean" | string | const: "string"[] | const: "number"[] | const: "boolean"[] | string[] | null

The option data type

defaultValue

The value used to pre-populate the option

dependsOn

The dependency that controls this options visibility

All of: DependsOn object
description string

A tooltip to accompany the input

inputType enum

The HTML input type used to display the option

Values: "text" "textarea" "checkbox" "select" "radio"
label string

A human-readable version of the name identifying the option

name string

A unique, camelCase name

minLength=1pattern=^$|^[a-z][a-z0-9A-Z]*$
required boolean

Whether the user is required to enter a value in the UI

validationRegex

A regex that validates the string representation of the option value when set

All of: Pattern string
Chain-1 object
applyTo string[]

The path patterns used to filter which files to apply the Transforms to

minItems=1
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
name string

The transform name

transformations Chain-2 | Combo-2 | Exclude-2 | Include-2 | InvokeFragment-2 | Let-2 | Loop-2 | Merge-2 | OpenRewriteRecipe-2 | Provenance-2 | ReplaceText-2 | RewritePath-2 | UniquePath-2 | UseEncoding-2 | YTT-2[]

A list of child Transforms to apply sequentially

Chain-2 object
type const: "Chain" required
Constant: "Chain"
Combo-1 object
applyTo string[]

The path patterns used to filter which files to apply the Transforms to

minItems=1
chain Chain-2 | Combo-2 | Exclude-2 | Include-2 | InvokeFragment-2 | Let-2 | Loop-2 | Merge-2 | OpenRewriteRecipe-2 | Provenance-2 | ReplaceText-2 | RewritePath-2 | UniquePath-2 | UseEncoding-2 | YTT-2[]

A list of child Transforms to apply sequentially

condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
exclude string[]

The path patterns used to filter which files to exclude

include string[]

The path patterns used to filter which files to include

let array

A list of additional variables and their values

merge Chain-2 | Combo-2 | Exclude-2 | Include-2 | InvokeFragment-2 | Let-2 | Loop-2 | Merge-2 | OpenRewriteRecipe-2 | Provenance-2 | ReplaceText-2 | RewritePath-2 | UniquePath-2 | UseEncoding-2 | YTT-2[]

A list of child Transforms to be executed in parallel

name string

The transform name

onConflict

How conflict is handled when an operation produces multiple files at the same path

All of: ConflictResolution enum
Combo-2 object
type const: "Combo"
Constant: "Combo"
ConflictResolution enum
DependsOn object
name string

The options name

minLength=1pattern=^$|^[a-z][a-z0-9A-Z]*$
value

The desired options value to compare against

DerivedSymbol object
expression

The SpEL expression to evaluate to compute the symbol value

All of: Expression string
name string

The name under which the new symbol will be added

minLength=1pattern=^$|^[a-z][a-z0-9A-Z]*$
Exclude-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
name string

The transform name

patterns string[]

The path patterns used to filter which files to exclude

Exclude-2 object
type const: "Exclude" required
Constant: "Exclude"
Expression string
Include-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
name string

The transform name

patterns string[]

The path patterns used to filter which files to include

Include-2 object
type const: "Include" required
Constant: "Include"
InvokeFragment-1 object
anchor string
pattern=^$|^[^/]$|^[^/](.+)[^/]$
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
let array
name string

The transform name

reference string
minLength=1pattern=^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
InvokeFragment-2 object
type const: "InvokeFragment" required
Constant: "InvokeFragment"
Let-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
name string

The transform name

noShadow boolean

Whether shadowing should be turned off

symbols array

A list of additional variables and their values

Let-2 object
type const: "Let" required
Constant: "Let"
Loop-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
index string

The variable's name to be assigned to the index of the current element on each iteration

pattern=^$|^[a-z][a-z0-9A-Z]*$
name string

The transform name

on

A SpEL expression that evaluates a list that contains the elements to be iterated over

All of: Expression string
var string

The name of the variable to be assigned to the current element on each iteration

pattern=^$|^[a-z][a-z0-9A-Z]*$
Loop-2 object
type const: "Loop" required
Constant: "Loop"
Merge-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
name string

The transform name

sources Chain-2 | Combo-2 | Exclude-2 | Include-2 | InvokeFragment-2 | Let-2 | Loop-2 | Merge-2 | OpenRewriteRecipe-2 | Provenance-2 | ReplaceText-2 | RewritePath-2 | UniquePath-2 | UseEncoding-2 | YTT-2[]

A list of child Transforms to be executed in parallel

Merge-2 object
type const: "Merge" required
Constant: "Merge"
OpenRewriteRecipe-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
name string

The transform name

options object

Keys and values that depend on the class of the recipe

parseOrFail boolean
recipe string

Full qualified classname of the recipe

pattern=^[a-zA-Z_$][a-zA-Z0-9_$]*(?:\.[a-zA-Z_$][a-zA-Z0-9_$]*)*$
OpenRewriteRecipe-2 object
type const: "OpenRewriteRecipe" required
Constant: "OpenRewriteRecipe"
Pattern string
Provenance-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
name string

The transform name

Provenance-2 object
type const: "Provenance" required
Constant: "Provenance"
ReplaceText-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
name string

The transform name

regex object

The replacement rule using a single regular expression

2 nested properties
pattern

The regular expression that determines text that will be replaced

All of: Pattern string
with

The SpEL expression that evaluates to the text that will replace the previous string

All of: Expression string
substitutions object[]

The replacement rules using literal text tokens

ReplaceText-2 object
type const: "ReplaceText" required
Constant: "ReplaceText"
RewritePath-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
matchOrFail boolean

Whether an error should occur if the regex doesn't match

name string

The transform name

regex

The regular expression used to match each input files path

All of: Pattern string
rewriteTo

The SpEL expression of the location that the file will be rewritten to

All of: Expression string
RewritePath-2 object
type const: "RewritePath" required
Constant: "RewritePath"
UniquePath-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
name string

The transform name

strategy

How conflict is handled when an operation produces multiple files at the same path

All of: ConflictResolution enum
UniquePath-2 object
type const: "UniquePath" required
Constant: "UniquePath"
UseEncoding-1 object
condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
encoding object

The encuding to use, as recognized by the java java.nio.charset.Charset class

name string

The transform name

UseEncoding-2 object
type const: "UseEncoding" required
Constant: "UseEncoding"
YTT-1 object
allowList array

A list of variable names that are allowed to be passed to YTT

condition

The SpEL expression that determines if this Transform should execute

All of: Expression string
denyList array

A list of variable names that are denied from being passed to YTT

extraArgs array

A list of SpEL expressions whose results are additional command line arguments

name string

The transform name

YTT-2 object
type const: "YTT" required
Constant: "YTT"