{"action":"created","issue":{"url":"https://api.github.com/repos/radiantearth/stac-spec/issues/365","repository_url":"https://api.github.com/repos/radiantearth/stac-spec","labels_url":"https://api.github.com/repos/radiantearth/stac-spec/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/radiantearth/stac-spec/issues/365/comments","events_url":"https://api.github.com/repos/radiantearth/stac-spec/issues/365/events","html_url":"https://github.com/radiantearth/stac-spec/issues/365","id":392163262,"node_id":"MDU6SXNzdWUzOTIxNjMyNjI=","number":365,"title":"Question on Uniqueness of Catalog ID's","user":{"login":"brianbancroft","id":6225122,"node_id":"MDQ6VXNlcjYyMjUxMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/6225122?v=4","gravatar_id":"","url":"https://api.github.com/users/brianbancroft","html_url":"https://github.com/brianbancroft","followers_url":"https://api.github.com/users/brianbancroft/followers","following_url":"https://api.github.com/users/brianbancroft/following{/other_user}","gists_url":"https://api.github.com/users/brianbancroft/gists{/gist_id}","starred_url":"https://api.github.com/users/brianbancroft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianbancroft/subscriptions","organizations_url":"https://api.github.com/users/brianbancroft/orgs","repos_url":"https://api.github.com/users/brianbancroft/repos","events_url":"https://api.github.com/users/brianbancroft/events{/privacy}","received_events_url":"https://api.github.com/users/brianbancroft/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-18T13:45:43Z","updated_at":"2018-12-18T15:55:01Z","closed_at":"2018-12-18T15:55:01Z","author_association":"NONE","body":"Hi there, this is a quick question:\r\n\r\nFor [ID's in a collection](https://github.com/radiantearth/stac-spec/blob/v0.6.0/collection-spec/collection-spec.md#collection-fields), they are intended to be unique. Same with [items](https://github.com/radiantearth/stac-spec/blob/v0.6.0/item-spec/item-spec.md#item-fields). \r\n\r\nBut for [catalogs](https://github.com/radiantearth/stac-spec/blob/v0.6.0/catalog-spec/catalog-spec.md#catalog-fields), this appears not to be the case. \r\n\r\nIs this intentional? \r\n\r\nThanks. Any answer will go towards building a node-based validator. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/radiantearth/stac-spec/issues/comments/448269375","html_url":"https://github.com/radiantearth/stac-spec/issues/365#issuecomment-448269375","issue_url":"https://api.github.com/repos/radiantearth/stac-spec/issues/365","id":448269375,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODI2OTM3NQ==","user":{"login":"matthewhanson","id":1416900,"node_id":"MDQ6VXNlcjE0MTY5MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1416900?v=4","gravatar_id":"","url":"https://api.github.com/users/matthewhanson","html_url":"https://github.com/matthewhanson","followers_url":"https://api.github.com/users/matthewhanson/followers","following_url":"https://api.github.com/users/matthewhanson/following{/other_user}","gists_url":"https://api.github.com/users/matthewhanson/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewhanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewhanson/subscriptions","organizations_url":"https://api.github.com/users/matthewhanson/orgs","repos_url":"https://api.github.com/users/matthewhanson/repos","events_url":"https://api.github.com/users/matthewhanson/events{/privacy}","received_events_url":"https://api.github.com/users/matthewhanson/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T15:55:01Z","updated_at":"2018-12-18T15:55:01Z","author_association":"COLLABORATOR","body":"I concur with @m-mohr, collection IDs should be unique, and item IDs should be unique within a collection, or else it wouldn't work with a dynamic API.\r\n\r\nHowever, for static catalogs there really isn't a requirement that any of them are unique. Catalogs, especially sub-catalogs, are not unique in the Landsat catalog right now. These two catalogs both have an ID of 41. One is row 41 in path 180, and the other is row 41 in path 179. \r\n\r\nhttp://landsat-stac.s3.amazonaws.com/landsat-8-l1/180/41/catalog.json\r\nhttp://landsat-stac.s3.amazonaws.com/landsat-8-l1/179/41/catalog.json\r\n\r\nThe catalogs each have a unique *path*, but not necessarily an ID (although maybe in this case I should update the ID to be path-row).\r\n\r\nWhen a static catalog is ingested into a dynamic API, those sub-catalogs are ignored, at least they are in [sat-api](https://github.com/sat-utils/sat-api/tree/develop). Only Collections and Items are ingested so there is no conflict with non-unique IDs."}}
{"actor":{"display_login":"matthewhanson"}}