Service class for Property Schemas.
| async getSchemaByShortId |
( |
| shortid, |
|
|
| cb ) |
Load a property schema document from InfoHub by its short ID.
On success, the callback receives an ApiResponse with status 200 and a PropertySchema instance as its data. If the document cannot be loaded, the response returned by NodeServices#getDocument is passed to the callback unchanged.
The schema is delivered through the callback; the promise returned by this async method does not resolve with the schema.
- Parameters
-
| {string} | shortid - Short ID of the schema document. |
| {function(ApiResponse) | void} cb - Called with the schema response or an error response. |
- Returns
- {Promise<void>} Resolves after the document request has been started. @updated 06.2026