Skip to content

ProvenanceLink

Source code in docs_src/capo_agent_discovery/types/provenance_link.py
class ProvenanceLink(TypedDict, closed=True):
    relation: "capo_agent_discovery.types.provenance_relation.ProvenanceRelation"
    """How the contributor got the record."""
    source_id: "capo_agent_discovery.types.trust_uri.trustUri"
    """The source of the record. Not always a URI. On `publishedFrom` it's the value of the record's `identifier` union member, `identifier.uri` or `identifier.domain`, unchanged. On `discoveredFrom` it's the name the registry gave the partner source when it was configured for crawling, not a URL."""

relation instance-attribute

How the contributor got the record.

source_id instance-attribute

source_id: trustUri

The source of the record. Not always a URI. On publishedFrom it's the value of the record's identifier union member, identifier.uri or identifier.domain, unchanged. On discoveredFrom it's the name the registry gave the partner source when it was configured for crawling, not a URL.