The generator makes every field "standard JSON" i.e.
{ "keywords":"this, that, the other" }
This is not compliant with the standard, which has more specific requirements for how to represent the objects. For example:
{ "keywords": ["this", "that", "the other"] }
See @dwcaraway's helpful schema: https://github.com/dwcaraway/podschema/blob/master/schema/schema.json
Because the JSON generated by this tool isn't in the right format, I'm not sure it will be that useful? I guess better than nothing.
I wonder if the generator could be made to make better output? Specifically:
- handle date conversions into the proper format
- parse comma separated values into an array of values
- validate URIs
I can try to help with this, but I'm having a hard time figuring where in the library this is done. I'm a little familiar with Backbone, but not enough to quickly identify where "the work" of processing the input into JSON is happening. Can you point me in the right direction?
The generator makes every field "standard JSON" i.e.
{ "keywords":"this, that, the other" }This is not compliant with the standard, which has more specific requirements for how to represent the objects. For example:
{ "keywords": ["this", "that", "the other"] }See @dwcaraway's helpful schema: https://github.com/dwcaraway/podschema/blob/master/schema/schema.json
Because the JSON generated by this tool isn't in the right format, I'm not sure it will be that useful? I guess better than nothing.
I wonder if the generator could be made to make better output? Specifically:
I can try to help with this, but I'm having a hard time figuring where in the library this is done. I'm a little familiar with Backbone, but not enough to quickly identify where "the work" of processing the input into JSON is happening. Can you point me in the right direction?