Domain Model
Asset Relationship
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string.uuid | Yes | — | Id |
| createdAt | string.date-time | Yes | — | Created at |
| updatedAt | string.date-time | Yes | — | Updated at |
| sourceAssetId | string | Yes | — | ID of the associated source asset |
| targetAssetId | string | Yes | — | ID of the associated target asset |
| relationshipType | enum(powers, uplinks, communicates_with, backs_up, monitors, controls, houses, connects_to, depends_on) | Yes | — | Relationship type |
| metadata | object | No | — | Metadata |
Create Schema
Fields accepted when creating a new record:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| sourceAssetId | string | Yes | — | ID of the associated source asset |
| targetAssetId | string | Yes | — | ID of the associated target asset |
| relationshipType | enum(powers, uplinks, communicates_with, backs_up, monitors, controls, houses, connects_to, depends_on) | Yes | — | Relationship type |
| metadata | object | No | — | Metadata |