Skip to content

Commit

Permalink
Merge pull request #6 from l-vincent-l/patch-2
Browse files Browse the repository at this point in the history
Change object_type to collection in url
  • Loading branch information
pietercolpaert committed Aug 28, 2013
2 parents b2ce453 + c479378 commit e1ec12e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Tools must be developped to import the files to easy to use database.

Every object is identified by an URI having the following structure:

http://stations.io/{object_type}/{id}
http://stations.io/{collection}/{id}

This ID must be unique and stable over time.

The object type is defined in https://github.com/OpenTransport/vocabulary
Collection is the name of the collection of object type defined in https://github.com/OpenTransport/vocabulary

The id, is randomly generated hex string. The motivations are the following:

Expand All @@ -38,7 +38,7 @@ Every object can be aliased in order to use the local ID in different systems (A

Aliases have the following structure and are not considered stable.

http://stations.io/{object_type}/{referential}/{id}
http://stations.io/{collection}/{referential}/{id}


## Tables
Expand Down

0 comments on commit e1ec12e

Please sign in to comment.