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

GSoC: Data Transformation Utilities Using JSON Schemas #318

Closed
jdesrosiers opened this issue Feb 3, 2023 · 1 comment
Closed

GSoC: Data Transformation Utilities Using JSON Schemas #318

jdesrosiers opened this issue Feb 3, 2023 · 1 comment
Labels
gsoc Google Summer of Code Project Idea

Comments

@jdesrosiers
Copy link
Member

Data Transformation Utilities Using JSON Schemas

Brief Description
JSON Schema is designed for validation, but the information in a schema can be used to for a number of other purposes. One of those purposes is data transformation. This

Expected Outcomes

Provide an implementation of the following utilities in any language. They should work with at least the latest version of JSON Schema. Tests should be described in JSON so others who want to write a similar tool in a different language can easily use your tests to ensure compatibility.

  • Provide a utility that takes a JSON Schema and a JSON document and adds to the document any values that are missing but have a default specified for that value in the JSON Schema.
  • Provide a utility that takes a JSON Schema and a JSON document and removes properties in the JSON document that are not described in the JSON Schema.
  • Provide a utility that takes a JSON Schema and a query string from a form post (application/x-www-form-urlencoded) and convert the string to JSON using the JSON Schema to know the types for the values.
    • For example, the string ?foo=1 with schema { "properties": { "foo": { "type": "number" } } } should return { "foo": 1 } rather than { "foo": "1" }.

Skills Required

  • A basic understanding of JSON Schema

Mentors
@jdesrosiers

Expected Difficulty
Easy

Expected Time Commitment
175

@jdesrosiers jdesrosiers added the gsoc Google Summer of Code Project Idea label Feb 3, 2023
@benjagm
Copy link
Collaborator

benjagm commented Mar 13, 2023

Closed and replaced by: postman-open-technologies/gsoc-2023#16

@benjagm benjagm closed this as completed Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gsoc Google Summer of Code Project Idea
Projects
None yet
Development

No branches or pull requests

2 participants