Maybe I'm wrong, but this part of the code is correct?
if (data["currency_time"]) {
this.push({ subject: subject, predicate: "http://schema.org/priceCurrency", object : '"' + data["currency_type"] + '"' });
}
I'm not seeing the property "currency_time" on the documentation of gtfs.
If it's correct perhaps we should add a condition, like this:
if (data["currency_time"] && data["currency_type"]) {
this.push({ subject: subject, predicate: "http://schema.org/priceCurrency", object : '"' + data["currency_type"] + '"' });
}
Maybe I'm wrong, but this part of the code is correct?
I'm not seeing the property "currency_time" on the documentation of gtfs.
If it's correct perhaps we should add a condition, like this: