Data for the returned vocabulary.
For a resource, this is the last time that particular resource was updated.
A unique number identifying the vocabulary.
The kind of object returned.
The URL of the requested resource.
Optional
codeA resource will never have a code
property.
Optional
errorA resource will never have an error
property.
The exact structure of a subject depends on the subject type. The available subject types are
kana_vocabulary
,kanji
,radical
, andvocabulary
. Note that any attributes called out for the specific subject type behaves differently than the common attribute of the same name.This type asserts the subject type is a vocabulary subject, and provides better type assertions requiring less type checking in code.
See
https://docs.api.wanikani.com/20170710/#subjects