basic example added
Type.type field renamed to Type.id