Skip to content

Commit 4fdb628

Browse files
committed
apply formatting for readability
1 parent dfba163 commit 4fdb628

3 files changed

Lines changed: 105 additions & 33 deletions

File tree

policy/examples/tiered-parking-fees-per-hour-in-bounds.json

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,17 @@
1414
"rule_id": "6b6fe61b-dbe5-4367-8e35-84fb14d23c54",
1515
"rule_type": "time",
1616
"rule_units": "hours",
17-
"geographies": ["0c77c813-bece-4e8a-84fd-f99af777d198"],
18-
"statuses": { "available": [], "non_operational": [] },
19-
"vehicle_types": ["bicycle", "scooter"],
17+
"geographies": [
18+
"0c77c813-bece-4e8a-84fd-f99af777d198"
19+
],
20+
"statuses": {
21+
"available": [],
22+
"non_operational": []
23+
},
24+
"vehicle_types": [
25+
"bicycle",
26+
"scooter"
27+
],
2028
"maximum": 1,
2129
"inclusive_maximum": false,
2230
"rate_applies_when": "in_bounds",
@@ -28,9 +36,17 @@
2836
"rule_id": "edd6a195-bb30-4eb5-a2cc-44e5a18798a2",
2937
"rule_type": "time",
3038
"rule_units": "hours",
31-
"geographies": ["0c77c813-bece-4e8a-84fd-f99af777d198"],
32-
"statuses": { "available": [], "non_operational": [] },
33-
"vehicle_types": ["bicycle", "scooter"],
39+
"geographies": [
40+
"0c77c813-bece-4e8a-84fd-f99af777d198"
41+
],
42+
"statuses": {
43+
"available": [],
44+
"non_operational": []
45+
},
46+
"vehicle_types": [
47+
"bicycle",
48+
"scooter"
49+
],
3450
"minimum": 1,
3551
"maximum": 2,
3652
"inclusive_minimum": true,
@@ -44,9 +60,17 @@
4460
"rule_id": "9cd1768c-ab9e-484c-93f8-72a7078aa7b9",
4561
"rule_type": "time",
4662
"rule_units": "hours",
47-
"geographies": ["0c77c813-bece-4e8a-84fd-f99af777d198"],
48-
"statuses": { "available": [], "non_operational": [] },
49-
"vehicle_types": ["bicycle", "scooter"],
63+
"geographies": [
64+
"0c77c813-bece-4e8a-84fd-f99af777d198"
65+
],
66+
"statuses": {
67+
"available": [],
68+
"non_operational": []
69+
},
70+
"vehicle_types": [
71+
"bicycle",
72+
"scooter"
73+
],
5074
"minimum": 2,
5175
"inclusive_minimum": true,
5276
"rate_applies_when": "in_bounds",

policy/examples/tiered-parking-fees-per-hour.json

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,60 @@
1919
"rule_id": "9cd1768c-ab9e-484c-93f8-72a7078aa7b9",
2020
"rule_type": "time",
2121
"rule_units": "hours",
22-
"geographies": ["0c77c813-bece-4e8a-84fd-f99af777d198"],
23-
"statuses": { "available": [], "non_operational": [] },
24-
"vehicle_types": ["bicycle", "scooter"],
22+
"geographies": [
23+
"0c77c813-bece-4e8a-84fd-f99af777d198"
24+
],
25+
"statuses": {
26+
"available": [],
27+
"non_operational": []
28+
},
29+
"vehicle_types": [
30+
"bicycle",
31+
"scooter"
32+
],
2533
"maximum": 2,
2634
"rate_amount": 1000,
27-
"rate_recurrence": "each_time_unit"
35+
"rate_recurrence": "each_time_unit"
2836
},
2937
{
3038
"name": "1-2 Hours",
3139
"rule_id": "edd6a195-bb30-4eb5-a2cc-44e5a18798a2",
3240
"rule_type": "time",
3341
"rule_units": "hours",
34-
"geographies": ["0c77c813-bece-4e8a-84fd-f99af777d198"],
35-
"statuses": { "available": [], "non_operational": [] },
36-
"vehicle_types": ["bicycle", "scooter"],
42+
"geographies": [
43+
"0c77c813-bece-4e8a-84fd-f99af777d198"
44+
],
45+
"statuses": {
46+
"available": [],
47+
"non_operational": []
48+
},
49+
"vehicle_types": [
50+
"bicycle",
51+
"scooter"
52+
],
3753
"maximum": 1,
3854
"rate_amount": 400,
39-
"rate_recurrence": "each_time_unit"
55+
"rate_recurrence": "each_time_unit"
4056
},
4157
{
4258
"name": "0-1 Hour",
4359
"rule_id": "6b6fe61b-dbe5-4367-8e35-84fb14d23c54",
4460
"rule_type": "time",
4561
"rule_units": "hours",
46-
"geographies": ["0c77c813-bece-4e8a-84fd-f99af777d198"],
47-
"statuses": { "available": [], "non_operational": [] },
48-
"vehicle_types": ["bicycle", "scooter"],
62+
"geographies": [
63+
"0c77c813-bece-4e8a-84fd-f99af777d198"
64+
],
65+
"statuses": {
66+
"available": [],
67+
"non_operational": []
68+
},
69+
"vehicle_types": [
70+
"bicycle",
71+
"scooter"
72+
],
4973
"maximum": 0,
5074
"rate_amount": 200,
51-
"rate_recurrence": "each_time_unit"
75+
"rate_recurrence": "each_time_unit"
5276
}
5377
]
5478
}

policy/examples/tiered-parking-fees-total.json

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,60 @@
1919
"rule_id": "9cd1768c-ab9e-484c-93f8-72a7078aa7b9",
2020
"rule_type": "time",
2121
"rule_units": "hours",
22-
"geographies": ["0c77c813-bece-4e8a-84fd-f99af777d198"],
23-
"statuses": { "available": [], "non_operational": [] },
24-
"vehicle_types": ["bicycle", "scooter"],
22+
"geographies": [
23+
"0c77c813-bece-4e8a-84fd-f99af777d198"
24+
],
25+
"statuses": {
26+
"available": [],
27+
"non_operational": []
28+
},
29+
"vehicle_types": [
30+
"bicycle",
31+
"scooter"
32+
],
2533
"maximum": 2,
2634
"rate_amount": 1000,
27-
"rate_recurrence": "once_on_unmatch"
35+
"rate_recurrence": "once_on_unmatch"
2836
},
2937
{
3038
"name": "1-2 Hours",
3139
"rule_id": "edd6a195-bb30-4eb5-a2cc-44e5a18798a2",
3240
"rule_type": "time",
3341
"rule_units": "hours",
34-
"geographies": ["0c77c813-bece-4e8a-84fd-f99af777d198"],
35-
"statuses": { "available": [], "non_operational": [] },
36-
"vehicle_types": ["bicycle", "scooter"],
42+
"geographies": [
43+
"0c77c813-bece-4e8a-84fd-f99af777d198"
44+
],
45+
"statuses": {
46+
"available": [],
47+
"non_operational": []
48+
},
49+
"vehicle_types": [
50+
"bicycle",
51+
"scooter"
52+
],
3753
"maximum": 1,
3854
"rate_amount": 400,
39-
"rate_recurrence": "once_on_unmatch"
55+
"rate_recurrence": "once_on_unmatch"
4056
},
4157
{
4258
"name": "0-1 Hour",
4359
"rule_id": "6b6fe61b-dbe5-4367-8e35-84fb14d23c54",
4460
"rule_type": "time",
4561
"rule_units": "hours",
46-
"geographies": ["0c77c813-bece-4e8a-84fd-f99af777d198"],
47-
"statuses": { "available": [], "non_operational": [] },
48-
"vehicle_types": ["bicycle", "scooter"],
62+
"geographies": [
63+
"0c77c813-bece-4e8a-84fd-f99af777d198"
64+
],
65+
"statuses": {
66+
"available": [],
67+
"non_operational": []
68+
},
69+
"vehicle_types": [
70+
"bicycle",
71+
"scooter"
72+
],
4973
"maximum": 0,
5074
"rate_amount": 200,
51-
"rate_recurrence": "once_on_unmatch"
75+
"rate_recurrence": "once_on_unmatch"
5276
}
5377
]
5478
}

0 commit comments

Comments
 (0)