Skip to content

Commit 0d0752b

Browse files
authored
Update relation.md
1 parent 1456e95 commit 0d0752b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/open_asset_model/relation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The `Relation` interface consists of the following methods:
2222

2323
- `RelationType() RelationType`: This method returns the general type or category of the relationship as a `RelationType`. The `RelationType` itself is defined as a string type.
2424

25-
- `JSON() ([]byte, error)`: Similar to the Asset interface in `asset.go`, this method handles the serialization of the relation's data into JSON format. It returns a byte slice representing the JSON encoding and an error if the serialization fails
25+
- `JSON() ([]byte, error)`: Similar to the `Asset` interface in `asset.go`, this method handles the serialization of the relation's data into JSON format. It returns a byte slice representing the JSON encoding and an error if the serialization fails
2626

2727
The `relation.go` file defines `RelationType` as a string type. It also declares several constants of `RelationType`, which represent the predefined categories of relationships supported by the model:
2828

0 commit comments

Comments
 (0)