---
@@include('domainRoles.yaml')
@@include('geometryTypes.yaml')

commonProperties:
  - &propDiameter
    key: diameter
    name: Diameter
    symbol: d
    units: ''
    min: 0
    minExclude: true


  - &propRadius
    key: radius
    name: Radius
    symbol: r
    units: ''
    min: 0

  - &propHeight
    key: height
    name: Height
    symbol: h
    units: ''
    min: 0
    minExclude: true


  - &propLength
    key: length
    name: Length
    symbol: l
    units: ''
    min: 0
    minExclude: true


  - &propWidth
    key: width
    name: Width
    symbol: w
    units: ''
    min: 0
    minExclude: true

  - &propCount
    key: count
    name: Count
    symbol: n
    units: ''
    valueKind: integer
    min: 1

  - &propOrder
    key: order
    name: Order
    symbol: n

  - &propDistance
    key: distance
    name: Distance from center
    symbol: l
    units: ''

  - &propInterval
    key: interval
    name: Distance between windings
    symbol: l_2
    units: ''

  - &propThickness
    key: thickness
    name: Thickness
    symbol: t
    units: ''
    min: 0
    minExclude: true

  - &propCoordinate
    key: coordinate
    name: Coordinate
    symbol: y
    units: ''
    default: 0

  - &propMeshSize
    key: sizing
    name: Mesh size
    symbol: \delta
    units: ''

  - &hollowFlag
    key: isHollow
    name: Hollow coil
    units: ''
    style: checkbox
    default: true

  - &insetFlag
    key: hasInset
    name: Inset
    units: ''
    style: checkbox
    default: true

  - &tromboneFlag
    key: hasTrombone
    name: Trombone
    units: ''
    style: checkbox

@@if(app === 'ALL') {
defaultParams:
@@include('templateInductionDefaultParams.yaml')
@@include('templateAntennaDefaultParams.yaml')
geometry:
@@include('templateInductionGeometry.yaml')
@@include('templateAntennasGeometry.yaml')
}

@@if(app === 'INDUCTION') {
defaultParams:
@@include('templateInductionDefaultParams.yaml')
geometry:
@@include('templateInductionGeometry.yaml')
}

@@if(app === 'ANTENNAS') {
defaultParams:
@@include('templateAntennaDefaultParams.yaml')
geometry:
@@include('templateAntennasGeometry.yaml')
}

@@if(app === 'API') {
defaultParams: []
@@include('templateEOFGeometry.yaml')
}
