Type alias SuccessfulRepresentationResolutionMetadata<ContentType>

SuccessfulRepresentationResolutionMetadata<ContentType>: {
    contentType: ContentType;
}

Type Parameters

  • ContentType extends string = string

Type declaration

  • contentType: ContentType

    The Media Type of the returned didDocumentStream. This property is REQUIRED if resolution is successful and if the resolveRepresentation function was called. This property MUST NOT be present if the resolve function was called. The value of this property MUST be an ASCII string that is the Media Type of the conformant representations. The caller of the resolveRepresentation function MUST use this value when determining how to parse and process the didDocumentStream returned by this function into the data model.