pageTitle: Pricing
assetPath: ../govuk_template/assets/
grid: column-two-thirds
examples:
  -
    question: Price
    hint: Hint giving advice about how to answer
    name: price-10
    fields:
      minimum_price: priceMin
      maximum_price: priceMax
      price_unit: priceUnit
      price_interval: priceInterval
    optional_fields:
      - maximum_price

  -
    question: Price
    question_advice: Advice about the question
    hint: Hint giving advice about how to answer
    optional: true
    name: price-20
    fields:
      minimum_price: priceMin
      maximum_price: priceMax
      price_unit: priceUnit
      price_interval: priceInterval
    optional_fields:
      - maximum_price

  - question: Price with default values
    hint: Hint giving advice about how to answer
    name: price-30
    fields:
      minimum_price: priceMin
      maximum_price: priceMax
      price_unit: priceUnit
      price_interval: priceInterval
    optional_fields:
      - maximum_price
      - price_interval
    minimum_price: 12.12
    maximum_price: 15.15
    price_unit: Person
    price_interval: Second

  - question: Price with an error
    name: anotherPrice-40
    error: This is not ok
    fields:
      minimum_price: priceMin
      maximum_price: priceMax
      price_unit: priceUnit
      price_interval: priceInterval
    minimum_price: 12.12
    maximum_price: 15.15
    price_unit: Person
    price_interval: Second

  - question: Price with a message
    name: anotherPrice
    message: This is a message about this price
    fields:
      minimum_price: priceMin
      maximum_price: priceMax
      price_unit: priceUnit
      price_interval: priceInterval
    minimum_price: 12.12
    maximum_price: 15.15
    price_unit: Transaction
    price_interval: Year

  - question: Price with only min and max
    name: price-50
    fields:
      minimum_price: priceMin
      maximum_price: priceMax

  - question: Price question with only the price field
    name: price-60
    fields:
      price: price

  - question: Single price with hours units prefilled
    name: price-70
    fields:
      hours_for_price: priceHours
      price: price
    hours_for_price: "1 hour"
    price: 200
  - question: Optional price with an error despite loads of guidance
    name: anotherPrice-80
    optional: true
    question_advice: |
      <p>To find the best specialist to meet your needs, you should:</p>

      <ul>
      <li>list as many types of skills and experience as you can</li>
      <li>be specific about the skills and experience you're looking for</li>
      </ul>

      <p>If too many suppliers have all the essential skills and experience, you’ll use the nice-to-have skills and
      experience to exclude suppliers.</p>

      <p>You must tell suppliers if you want to score individual criteria.</p>

      <p><a href="https://www.gov.uk/guidance/how-to-set-your-evaluation-criteria-when-buying-digital-outcomes-and-specialists-services#giving-points-to-individual-criteria">Read more about how to set evaluation criteria</a></p>

      <p>List the skills and experience you’d like the specialist to have,
      eg experience working on government digital projects</p>
    hint: |
      <p>To find the best specialist to meet your needs, you should:</p>

      <ul>
      <li>list as many types of skills and experience as you can</li>
      <li>be specific about the skills and experience you're looking for</li>
      </ul>

      <p>If too many suppliers have all the essential skills and experience, you’ll use the nice-to-have skills and
      experience to exclude suppliers.</p>

      <p>You must tell suppliers if you want to score individual criteria.</p>

      <p><a href="https://www.gov.uk/guidance/how-to-set-your-evaluation-criteria-when-buying-digital-outcomes-and-specialists-services#giving-points-to-individual-criteria">Read more about how to set evaluation criteria</a></p>

      <p>List the skills and experience you’d like the specialist to have,
      eg experience working on government digital projects</p>
    error: From 12th January 1973 it will no longer be legal
    fields:
      minimum_price: priceMin
      maximum_price: priceMax
      price_unit: priceUnit
      price_interval: priceInterval
    minimum_price: 12.12
    maximum_price: 15.15
    price_unit: Person
    price_interval: Second
