Skip to content

Commit bbd265f

Browse files
authored
Update TTL values in spec examples (#733)
1 parent a8516f4 commit bbd265f

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

gbfs.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Field Name | REQUIRED | Type | Defines
268268
```json
269269
{
270270
"last_updated": "2023-07-17T13:34:13+02:00",
271-
"ttl": 3600,
271+
"ttl": 300,
272272
"version": "3.1-RC",
273273
"data": {
274274
"name": [
@@ -299,7 +299,7 @@ Field Name | REQUIRED | Type | Defines
299299
```json
300300
{
301301
"last_updated": "2023-07-17T13:34:13+02:00",
302-
"ttl": 0,
302+
"ttl": 300,
303303
"version": "3.1-RC",
304304
"data": {
305305
"feeds": [
@@ -337,7 +337,7 @@ Field Name | REQUIRED | Type | Defines
337337
```json
338338
{
339339
"last_updated": "2023-07-17T13:34:13+02:00",
340-
"ttl":0,
340+
"ttl": 300,
341341
"version": "3.1-RC",
342342
"data":{
343343
"datasets":[
@@ -468,7 +468,7 @@ Field Name | REQUIRED | Type | Defines
468468
```json
469469
{
470470
"last_updated": "2023-07-17T13:34:13+02:00",
471-
"ttl": 0,
471+
"ttl": 300,
472472
"version": "3.1-RC",
473473
"data": {
474474
"versions": [
@@ -533,7 +533,7 @@ Field Name | REQUIRED | Type | Defines
533533
```json
534534
{
535535
"last_updated": "2023-07-17T13:34:13+02:00",
536-
"ttl": 1800,
536+
"ttl": 300,
537537
"version": "3.1-RC",
538538
"data": {
539539
"system_id": "example_cityname",
@@ -645,7 +645,7 @@ Field Name | REQUIRED | Type | Defines
645645
```json
646646
{
647647
"last_updated": "2023-07-17T13:34:13+02:00",
648-
"ttl": 0,
648+
"ttl": 300,
649649
"version": "3.1-RC",
650650
"data": {
651651
"vehicle_types": [
@@ -828,7 +828,7 @@ Field Name | REQUIRED | Type | Defines
828828
```json
829829
{
830830
"last_updated": "2023-07-17T13:34:13+02:00",
831-
"ttl": 0,
831+
"ttl": 300,
832832
"version": "3.1-RC",
833833
"data": {
834834
"stations": [
@@ -864,7 +864,7 @@ Field Name | REQUIRED | Type | Defines
864864
```json
865865
{
866866
"last_updated": "2023-07-17T13:34:13+02:00",
867-
"ttl": 0,
867+
"ttl": 300,
868868
"version": "3.1-RC",
869869
"data": {
870870
"stations": [
@@ -1059,7 +1059,7 @@ Field Name | REQUIRED | Type | Defines
10591059
```json
10601060
{
10611061
"last_updated": "2023-07-17T13:34:13+02:00",
1062-
"ttl":0,
1062+
"ttl": 0,
10631063
"version": "3.1-RC",
10641064
"data":{
10651065
"vehicles":[
@@ -1097,7 +1097,7 @@ Field Name | REQUIRED | Type | Defines
10971097

10981098
{
10991099
"last_updated": "2023-07-17T13:34:13+02:00",
1100-
"ttl":0,
1100+
"ttl": 0,
11011101
"version": "3.1-RC",
11021102
"data":{
11031103
"vehicles":[
@@ -1160,7 +1160,7 @@ Field Name | REQUIRED | Type | Defines
11601160
```json
11611161
{
11621162
"last_updated": "2023-07-17T13:34:13+02:00",
1163-
"ttl": 86400,
1163+
"ttl": 300,
11641164
"version": "3.1-RC",
11651165
"data": {
11661166
"regions": [
@@ -1240,7 +1240,7 @@ The user does not pay more than the base price for the first 10 km. After 10 km
12401240
```json
12411241
{
12421242
"last_updated": "2023-07-17T13:34:13+02:00",
1243-
"ttl": 0,
1243+
"ttl": 300,
12441244
"version": "3.1-RC",
12451245
"data": {
12461246
"plans": [
@@ -1293,7 +1293,7 @@ This example demonstrates a pricing scheme that has a rate both by minute and by
12931293
```json
12941294
{
12951295
"last_updated": "2023-07-17T13:34:13+02:00",
1296-
"ttl": 0,
1296+
"ttl": 300,
12971297
"version": "3.1-RC",
12981298
"data": {
12991299
"plans": [
@@ -1456,7 +1456,7 @@ See examples below.
14561456
```json
14571457
{
14581458
"last_updated": "2023-07-17T13:34:13+02:00",
1459-
"ttl": 60,
1459+
"ttl": 300,
14601460
"version": "3.1-RC",
14611461
"data": {
14621462
"geofencing_zones": {
@@ -1718,7 +1718,7 @@ Other supported parameters include:
17181718
```json
17191719
{
17201720
"last_updated": "2023-07-17T13:34:13+02:00",
1721-
"ttl": 60,
1721+
"ttl": 300,
17221722
"version": "3.1-RC",
17231723
"data": {
17241724
"name": [
@@ -1749,7 +1749,7 @@ Other supported parameters include:
17491749
```json
17501750
{
17511751
"last_updated": "2023-07-17T13:34:13+02:00",
1752-
"ttl": 60,
1752+
"ttl": 300,
17531753
"version": "3.1-RC",
17541754
"data": {
17551755
"stations": [
@@ -1782,7 +1782,7 @@ Note that the Android URI and iOS Universal Link URLs do not necessarily use the
17821782
```json
17831783
{
17841784
"last_updated": "2023-07-17T13:34:13+02:00",
1785-
"ttl": 60,
1785+
"ttl": 300,
17861786
"version": "3.1-RC",
17871787
"data": {
17881788
"name": [
@@ -1813,7 +1813,7 @@ Note that the Android URI and iOS Universal Link URLs do not necessarily use the
18131813
```json
18141814
{
18151815
"last_updated": "2023-07-17T13:34:13+02:00",
1816-
"ttl": 60,
1816+
"ttl": 300,
18171817
"version": "3.1-RC",
18181818
"data": {
18191819
"stations": [
@@ -1844,7 +1844,7 @@ Note that the Android URI and iOS Universal Link URLs do not necessarily use the
18441844
```json
18451845
{
18461846
"last_updated": "2023-07-17T13:34:13+02:00",
1847-
"ttl": 60,
1847+
"ttl": 300,
18481848
"version": "3.1-RC",
18491849
"data": {
18501850
"stations": [

0 commit comments

Comments
 (0)