Skip to content

Commit 5efaa54

Browse files
committed
add the format of licensed_table_name
1 parent 55e4cd7 commit 5efaa54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gtfs/spec/en/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,6 @@ This file defines the licenses that apply to the feed or to specific files.
916916
| Field Name | Type | Presence | Description |
917917
| :---- | :---- | :---- | :---- |
918918
| `license_for_whole_feed` | Enum | Conditionally Required | Whether the license applies to the whole feed.<br>Valid options are:<br>`0` or empty: The license does not apply to the whole feed. In this case, the license applies to the file specified in `licensed_table_name`. <br>`1`: The license applies to the whole feed except any files specified in other rows.<br><br>**Conditionally Required:<br>- Required** if the license applies to the whole feed.<br> - **Optional** otherwise. |
919-
| `licensed_table_name` | Text | Conditionally Forbidden | The table which the license applies to. <br><br>**Conditionally Forbidden:**<br> - **Required** if `license_for_whole_feed = 0`.<br> - **Forbidden** if `license_for_whole_feed = 1`. |
919+
| `licensed_table_name` | Text | Conditionally Forbidden | Defines the table which the license applies to.<br><br>Allowed values include any file added to GTFS. In that case, it will have a `licensed_table_name` value equivalent to the file name, not including the `.txt` file extension.<br><br>_Example: The value `shapes` stands for `shapes.txt`_<br><br>**Conditionally Forbidden:**<br> - **Required** if `license_for_whole_feed = 0`.<br> - **Forbidden** if `license_for_whole_feed = 1`. |
920920
| `license_spdx_id` | SPDX ID | Conditionally Forbidden | The SPDX identifier of the license. <br><br>**Conditionally Forbidden**: <br>- **Required** if `custom_license_url` is empty.<br> - **Forbidden** otherwise. |
921921
| `custom_license_url` | URL | Conditionally Forbidden | The URL that contains the terms of the custom license.<br><br>**Conditionally Forbidden:**<br> - **Required** if `license_spdx_id` is empty.<br> - **Forbidden** otherwise. |

0 commit comments

Comments
 (0)