The general concept of the Things Library is that every library item has a series of key-value attributes that describe the item. Every item can have attachments which are other items that have key/value attributes. Attributes are library global to the item type to which they belong and help explain what the value is and how to parse it such as a pick list item, a date, time or decimal number.
One of the goals is to make the general data structure as simple as possible at the item level. In order to have a proper item data structure, it must have a name amd a type.
The library schema is designed to be a robust schema to hold many items that are all tied together in various ways such as item attributes are tied to type attributes.
The telemetry schema is designed similar to the library schema where each telemetry message has a type that explains the key/value attributes that follow. This data structure can be outputted as a string sentence or JSON.
The latest schema documents are always found in the /latest folder but within the document will refer to the actual version it represents: