Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate item_assets field from extension into core Collection spec #1289

Merged
merged 14 commits into from
Jul 17, 2024

Conversation

emmanuelmathot
Copy link
Collaborator

Related Issue(s): #1275

Proposed Changes:

  1. The item_assets field in Collections are integrated from extension into the core Collection spec. (#1275)

PR Checklist:

  • This PR is made against the dev branch (all proposed changes except releases should be against dev, not master).
  • This PR has no breaking changes.
  • I have added my changes to the CHANGELOG
    or a CHANGELOG entry is not required.
  • This PR affects the STAC API spec,
    and I have opened issue/PR #XXX to track the change.

.vscode/settings.json Outdated Show resolved Hide resolved
@m-mohr m-mohr added this to the 1.1 milestone Jun 27, 2024
Copy link
Collaborator

@m-mohr m-mohr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stac-extensions/item-assets#4 must be clarified before we should merge it into core, I think.

@m-mohr m-mohr linked an issue Jun 28, 2024 that may be closed by this pull request
Comment on lines 138 to 141
"required": [
"title",
"type"
],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not reflected in the Markdown. I think it only says that any two properties are required (minProperties: 2). Maybe this was already wrong in the original spec, but should be fixed here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont you think it is better to reflect in the markdown that title and type are required?

Copy link
Collaborator

@m-mohr m-mohr Jul 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that the intention? I thought the intention is to require at least two properites. I think I'd replace the required fields with minProperties: 2... title is not even always available. See https://github.com/radiantearth/stac-spec/pull/1289/files#r1668474173

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any assumptions about this in pgstac, @bitner or @vincentsarago?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW I checked pystac in the STAC community meeting yesterday and didn't see any baked-in expectations around this.

Copy link
Collaborator

@m-mohr m-mohr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To align better with stac-extensions/item-assets#4 and to make the terminology a bit more clear.

@emmanuelmathot emmanuelmathot requested a review from m-mohr July 8, 2024 11:31
@m-mohr m-mohr requested review from gadomski and matthewhanson July 8, 2024 11:42
@emmanuelmathot emmanuelmathot merged commit 8976aed into dev Jul 17, 2024
2 checks passed
@m-mohr m-mohr deleted the item-assets branch July 17, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move Item Assets to Core
4 participants