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

adding JSON schema for pointcloud extension #861

Merged
merged 4 commits into from
Jul 1, 2020

Conversation

mccarthyryanc
Copy link
Contributor

Noticed there hadn't been any updates on this for a few months and thought I would give it a try (Sorry @adamsteer. If you already have something put together, I'm happy removing this PR.) I'm new to JSON schema so happy to get feedback.

One thing that I wasn't quite sure about was adding Property Dependencies on Statistics. So if a stats object is given, there should also be a schema object with the same name.

Related Issue(s): #391

Proposed Changes:

  1. Adding schema file for pointcloud extension.

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.

@adamsteer
Copy link

No worries @mccarthyryanc - my time to work on this has been less than zero, so it’s great to see someone else jump in!

@m-mohr m-mohr added this to the 1.0.0-beta.2 milestone Jun 27, 2020
@m-mohr m-mohr linked an issue Jun 27, 2020 that may be closed by this pull request
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.

Great to see someone working on this to complete the extension schemas!

I reviewed the Schema and request some changes. There are some more general questions regarding the extension included, maybe one of you can also improve these points. Maybe @hobu can give some additional information on how the things were meant to be?

Oh and after those changes, maybe run the whole schema through https://jsonformatter.org/ for consistency.

package.json Outdated Show resolved Hide resolved
extensions/pointcloud/json-schema/schema.json Show resolved Hide resolved
extensions/pointcloud/json-schema/schema.json Outdated Show resolved Hide resolved
extensions/pointcloud/json-schema/schema.json Outdated Show resolved Hide resolved
extensions/pointcloud/json-schema/schema.json Outdated Show resolved Hide resolved
extensions/pointcloud/json-schema/schema.json Outdated Show resolved Hide resolved
extensions/pointcloud/json-schema/schema.json Outdated Show resolved Hide resolved
extensions/pointcloud/json-schema/schema.json Show resolved Hide resolved
extensions/pointcloud/json-schema/schema.json Outdated Show resolved Hide resolved
extensions/pointcloud/json-schema/schema.json Outdated Show resolved Hide resolved
…pdating pointcloud json schema based on PR comments.
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.

Looks good, thanks. Only thing you could still change is #861 (comment)

Copy link
Contributor

@cholmes cholmes left a comment

Choose a reason for hiding this comment

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

Awesome work, thanks!

@cholmes cholmes merged commit ee6f642 into radiantearth:dev Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add JSON Schema for Point Cloud extension
4 participants