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

JSON Export #431

Open
kennethbruskiewicz opened this issue Apr 22, 2024 · 3 comments
Open

JSON Export #431

kennethbruskiewicz opened this issue Apr 22, 2024 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@kennethbruskiewicz
Copy link
Collaborator

kennethbruskiewicz commented Apr 22, 2024

Ensure that data can be exported in JSON format:

{
    "GRDI_Sample": [ /* list items*/ ],
    "AMR_Test": [ /* list items*/ ]
}

Is this for all templates?

@kennethbruskiewicz kennethbruskiewicz added bug Something isn't working enhancement New feature or request labels Apr 22, 2024
@ddooley
Copy link
Collaborator

ddooley commented Apr 22, 2024

And since we can, priming this data to mention the schema and version it conforms to. In future this can be adapted to include language of content too. E.g.
image

@kennethbruskiewicz
Copy link
Collaborator Author

@ddooley Should this be distinct from the "Save as..." functionality? It seems like the most natural place for this.

@ddooley
Copy link
Collaborator

ddooley commented Apr 25, 2024

Indeed the "save as" json option is the place that triggers writing of this data structure.
I believe the structure of this would match exactly the Container class of any particular standard - so plural GRDI_Samples etc. with the schema, version, and in_language annotation added since that's the minimum info needed to retrieve appropriate schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants