Initializer
init(id:source:details:)
Creates a new annotation.
init(id: EUUID = EUUID(), source: String, details: [String : String] = [:])
Parameters
id-
Unique identifier (generates a new UUID if not provided).
source-
The source URI identifying the annotation’s purpose.
details-
Key-value pairs of annotation metadata (empty by default).