trustgraph/trustgraph-base/trustgraph/schema/core/metadata.py
cybermaggedon 34eb083836
Messaging fabric plugins (#592)
* Plugin architecture for messaging fabric

* Schemas use a technology neutral expression

* Schemas strictness has uncovered some incorrect schema use which is fixed
2025-12-17 21:40:43 +00:00

14 lines
287 B
Python

from dataclasses import dataclass, field
from .primitives import Triple
@dataclass
class Metadata:
# Source identifier
id: str = ""
# Subgraph
metadata: list[Triple] = field(default_factory=list)
# Collection management
user: str = ""
collection: str = ""