Convention for namespacing 'type'


#1

Is there a convention for namespacing in the type attribute. For example:

type: 'animals/pets’
type: 'animals:livestock’
type: ‘animals_reptiles’

??


How to deal with namespaces?
#2

There is not currently. https://github.com/json-api/json-api/issues/850 is open as a feature request for this.


#3

Also, this is part of a larger issue about defining a standard way to communicate types that are part of a hierarchy. There’s been a bit of discussion on that in the past, but no resolution yet. I’ve been thinking about this a lot lately and want to make it a key part of the 1.2 release (along with hypermedia stuff).