github.com/storacha/go-ucanto@v0.7.2/ucan/datamodel/payload/payload.ipldsch (about)

     1  type Payload struct {
     2    # String representation of a DID.
     3    iss String
     4    # String representation of a DID.
     5    aud String
     6    att [Capability]
     7    # String representation of a link to a UCAN.
     8    prf [String] (implied [])
     9    exp nullable Int
    10    fct optional [Fact]
    11    nnc optional String
    12    nbf optional Int
    13  }
    14  
    15  type Capability struct {
    16    # The resource pointer in URI format.
    17    with String
    18    # Must be all lower-case `/` delimeted with at least one path segment.
    19    can String
    20    # Any additional domain specific details and/or restrictions of the capability
    21    nb optional Any
    22  }
    23  
    24  type Fact { String: Any }