Skip to content
Snippets Groups Projects
form.yml 3.5 KiB
Newer Older
TonyFord's avatar
TonyFord committed
fields:

  bid-ask:
    type: selection
    translation:
      de: 'Biete / Benötige'
      en: 'bid / ask'
    help:
      de: 'Auswahl ist erforderlich!'
      en: 'Selection is mandatory!'
    default: bid
TonyFord's avatar
TonyFord committed
    import-regex: values
TonyFord's avatar
TonyFord committed
  condition:
    type: selection-condition
    translation:
      de: 'Erhaltungszustand'
      en: 'condition'
    help:
      de: 'Auswahl ist erforderlich!'
      en: 'Selection is mandatory!'
    default: 2-used-mint
TonyFord's avatar
TonyFord committed
    import-regex: values
    values:
      - 1-new
      - 2-used-mint
      - 3-used-good
      - 4-used-moderate
      - 5-used
      - 6-defective-repairable
      - 7-defective-spareparts
TonyFord's avatar
TonyFord committed

TonyFord's avatar
TonyFord committed
  min:
    type: input-text
    class: form-decimals
    maxlength: 32
TonyFord's avatar
TonyFord committed
    translation:
TonyFord's avatar
TonyFord committed
      de: 'minimale Menge'
      en: 'minimal size'
TonyFord's avatar
TonyFord committed
    help:
TonyFord's avatar
TonyFord committed
      de: 'in Bezug auf die ausgewählte Mengeneinheit'
      en: 'in relation to the selected size unit'
    default: 0
    import-regex: integer
TonyFord's avatar
TonyFord committed

TonyFord's avatar
TonyFord committed
  max:
TonyFord's avatar
TonyFord committed
    type: input-text
TonyFord's avatar
TonyFord committed
    class: form-decimals
    maxlength: 32
TonyFord's avatar
TonyFord committed
    translation:
TonyFord's avatar
TonyFord committed
      de: 'Gesamtmenge'
      en: 'maximum size'
TonyFord's avatar
TonyFord committed
    help:
TonyFord's avatar
TonyFord committed
      de: 'in Bezug auf die ausgewählte Mengeneinheit'
      en: 'in relation to the selected size unit'
    default: 1
    import-regex: integer
TonyFord's avatar
TonyFord committed

TonyFord's avatar
TonyFord committed
  unit:
    type: selection
    translation:
      de: 'Mengeneinheit'
      en: 'size unit'
    help:
      de: 'Auswahl ist erforderlich!'
      en: 'Selection is mandatory!'
    default: x
TonyFord's avatar
TonyFord committed
    import-regex: values
TonyFord's avatar
TonyFord committed
    values:
TonyFord's avatar
TonyFord committed
      - x
      - kg
      - g
      - m

TonyFord's avatar
TonyFord committed
  price-per-unit:
TonyFord's avatar
TonyFord committed
    type: input-text
TonyFord's avatar
TonyFord committed
    class: decimals
TonyFord's avatar
TonyFord committed
    translation:
TonyFord's avatar
TonyFord committed
      de: 'Preis je Mengeneinheit'
      en: 'price per size unit'
TonyFord's avatar
TonyFord committed
    help:
TonyFord's avatar
TonyFord committed
      de: 'in Referenzwährung'
      en: 'in reference currency'
TonyFord's avatar
TonyFord committed
    default: 1
TonyFord's avatar
TonyFord committed
    import-regex: float
TonyFord's avatar
TonyFord committed

TonyFord's avatar
TonyFord committed
  price-reference:
TonyFord's avatar
TonyFord committed
    type: selection
TonyFord's avatar
TonyFord committed
    translation:
      de: 'Preisreferenz'
      en: 'pricereference'
    help:
      de: 'Bitte eine Datenquelle auswählen oder einen Preis selbst definieren!'
      en: 'please select a data source or define a fixed price!'
TonyFord's avatar
TonyFord committed
    default: FAIRO
TonyFord's avatar
TonyFord committed
    import-regex: values
    values:
TonyFord's avatar
TonyFord committed
      - FAIR
      - FAIRO
TonyFord's avatar
TonyFord committed

TonyFord's avatar
TonyFord committed
  headline:
TonyFord's avatar
TonyFord committed
    type: input-text
TonyFord's avatar
TonyFord committed
    maxlength: 32
TonyFord's avatar
TonyFord committed
    translation:
TonyFord's avatar
TonyFord committed
      de: 'Überschrift'
      en: 'headline'
TonyFord's avatar
TonyFord committed
    help:
TonyFord's avatar
TonyFord committed
      de: 'maximal 32 Zeichen'
      en: 'maximum 32 charachters'
    default: ''
    import-regex: '/^.*$/g'

  tags:
    type: selection-tags
    translation:
      de: 'Kategorie'
      en: 'Category'
    help:
      de: 'Auswahl ist erforderlich!'
      en: 'Selection is mandatory!'
    default: eat_and_drink,vegetarian
    import-regex: '/^.*$/g'

  image:
TonyFord's avatar
TonyFord committed
    type: selection
TonyFord's avatar
TonyFord committed
    maxlength: 256
    translation:
      de: 'Bild in Originalgröße'
      en: 'full size image'
    help:
      de: 'empfohlene Größe 1024 x 768 px | maximale Größe 1.5Mpx'
      en: 'recommend size 1024 x 768 px | maximum size 1.5Mpx'
TonyFord's avatar
TonyFord committed
    default: 0
    import-regex: values
    values:
      - 0
      - 1
TonyFord's avatar
TonyFord committed

  description:
    type: textarea
    maxlength: 256
    translation:
      de: 'Beschreibung'
      en: 'description'
    help:
      de: 'maximal 256 Zeichen'
      en: 'maximum 256 charachters'
    default: ''
    import-regex: '/^.*$/g'
TonyFord's avatar
TonyFord committed

#  signature:
#    type: input-text
#    maxlength: 256
#    translation:
#      de: 'Signatur'
#      en: 'signature'
#    help:
#      de: 'signiere yml data mit deiner FairCoin Adresse über die electrumfair wallet!'
#      en: 'sign yml data with your faircoin address by usage of electrumfair wallet!'
#    default: ''
#    import-regex: '/^.*$/g'