SriString
search: boost: 1.0 ---# Type: SriString
Subresource Integrity digest (for example sha384-…), as defined by the Verifiable Credentials Data Model v2.0. Same datatype as the digestSRI term of the W3C credentials context, so that both contexts can be used together.
URI: [cred:sriString](https://www.w3.org/2018/credentials#sriString)
## Type Properties
| Property | Value |
| --- | --- |
| Type Of | [String](String.md) |
| Base | `str` |
| Type URI | [cred:sriString](https://www.w3.org/2018/credentials#sriString) |
## Value Constraints
| Property | Value |
| --- | --- |
| Regex Pattern | `^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$` |
## Identifier and Mapping Information
### Schema Source
* from schema: https://schema-registry.dataspacelab-demo.org/seed/v1.0
## Mappings
| Mapping Type | Mapped Value |
| --- | --- |
| self | cred:sriString |
| native | seed:SriString |