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

Implementation of schema build functionality that enable the maintenance of schema modules instead of a single large schema specification #143

Closed
6 tasks done
jh-RLI opened this issue May 30, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jh-RLI
Copy link
Contributor

jh-RLI commented May 30, 2024

Description of the issue

The schema.json that is part of each oemetadata release becomes more and more complex. It would be better to introduce modules that only hold parts of the schema content. Therefore we need a process that can resolve & merge the modules into its complete state by assembling the parts.

Ideas of solution

  • introduce a new folder / folders to implement the build process
  • devide the current schema into modules
  • each part should (of the modul) should only contain one level of nesting (maybe except for lists)
  • the result must be equal to the current schema.json
  • there must be a test that check if every schema within a release is valid with the result of the build.

Workflow checklist

@jh-RLI jh-RLI added the enhancement New feature or request label May 30, 2024
@jh-RLI jh-RLI self-assigned this May 30, 2024
jh-RLI added a commit that referenced this issue Jun 5, 2024
jh-RLI added a commit that referenced this issue Jun 5, 2024
jh-RLI added a commit that referenced this issue Jun 5, 2024
jh-RLI added a commit that referenced this issue Jun 5, 2024
…l of the schema: describe the oemetadata collection/resources (includes 1:n resources) #143
jh-RLI added a commit that referenced this issue Jun 5, 2024
jh-RLI added a commit that referenced this issue Jun 5, 2024
jh-RLI added a commit that referenced this issue Jun 5, 2024
jh-RLI added a commit that referenced this issue Jun 5, 2024
@jh-RLI
Copy link
Contributor Author

jh-RLI commented Jun 5, 2024

image

@jh-RLI
Copy link
Contributor Author

jh-RLI commented Oct 23, 2024

The implementation is now complete with #180

@jh-RLI jh-RLI closed this as completed Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant