json-api-validator icon indicating copy to clipboard operation
json-api-validator copied to clipboard

[QUEST] First Release!

Open runspired opened this issue 7 years ago • 0 comments

Each of the below needs to be filled out and tested per spec. If you are working on one, claim it below and I will update the list with the person who has claimed it and the associated PR.

  • [x] validate document members
  • [x] validate meta
  • [x] validate jsonapi member
  • [ ] validate links (#5)
  • [ ] validate resources
    • [ ] validate type is correctly normalized and id is a string
    • [ ] validate attributes (warn for unknown, error for those that should be relationships, configurable error for missing attributes, error for missing attributes that are present as non-normalized members)
    • [ ] validate relationships (error for unknown, configurable error for missing relationships, error for missing relationships that are present as non-normalized members)
      • [ ] validate resource-identifiers only have type id and optional meta
      • [ ] validate type is correctly normalized, and a valid type (check polymorphic)
  • [ ] validate absence of resource identifiers in data and included

Additional chores:

  • [ ] Strip all code in production builds (#6)

runspired avatar Sep 09 '18 05:09 runspired