Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

The JSON generated by tool does not conform to the standard #20

Description

@cew821

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions