Skip to content

Could you add "upper_limit" field to system_pricing_plans.json ? #507

@keijipoon

Description

@keijipoon

Have you read our FAQ? It’s possible your question can be answered there!

Yup

If you are new to the specification, please introduce yourself (name and organization/link to GBFS). It’s helpful to know who we're chatting with!

I'm working for shared mobility company, OpenStreet.Corp(https://www.openstreet.co.jp/) in Japan.

What is the issue and why is it an issue?

We can not express our service pricing plan with system_pricing_plans.json (ver 3.0-RC)

HELLO CYCLING PRICE
https://www.hellocycling.jp/notice/index.html

Please describe some potential solutions you have considered (even if they aren’t related to GBFS).

Could you add "upper_limit" field to system_pricing_plans.json ?

For example our tokyo plan is basically 130JPY first 30 minuts & unlock fee, 100 JPY per 15 minute and
has upper limit per 720 minuts (12 hours)

  • upper_limit 1,800 JPY untill 12 hour
  • upper_limit 3,600 JPY untill 24 hour
  • upper_limit 5,400 JPY untill 36 hour and so on ...

If you use 10 hours,

  • Not : first 30 minuts 130 JPY + 100 JPY * 38 = 130 + 3,800 = 3,930 JPY

  • Yes : 1,800 JPY , untill 12 hours upper limit is applied

If you use 13 hours,

  • Not : first 30 minuts 130 JPY + 100 JPY * 50 = 130 + 5,000 = 5,130 JPY

  • Yes : 1,800 JPY + 100 JPY * 4 = 2200 JPY

If you use 20 hours,

  • Not : first 30 minuts 130 JPY + 100 JPY * 78 = 130 + 7,800 = 7,930 JPY

  • Not : 1,800 JPY + 100 JPY * 40 = 1,800 + 4,000 = 5,800 JPY

  • Yes : 3,600 JPY , untill 24 hours upper limit is applied

Example

{
  "last_updated": 1640887163,
  "ttl": 0,
  "version": "3.0-RC",
  "data": {
    "plans": [
      {
        "plan_id": "plan3",
        "name": [
          {
            "text": "Tokyo Rate",
            "language": "en"
          }
        ],
        "currency": "JPY",
        "price": 130,
        "is_taxable": true,
        "description": [
          {
            "text": "130JPY first 30 minuts & unlock fee, 100 JPY per 15 minute.",
            "language": "en"
          }
        ],
        "per_min_pricing": [
            {
              "start": 30,
              "rate": 100,
              "interval": 15
            }
        ],
        "upper_limit": [
          {
            "start": 0,
            "upper_limit_price": 1800,
            "interval": 720
          }
        ]
      }
    ]
  }
}

Is your potential solution a breaking change?

  • Yes
  • No
  • Unsure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions