Type in Supply-chain Levels for Software Artifacts (SLSA)
InTotoTimestamp
A point in time in RFC 3339 format in the UTC time zone, written with a trailing Z, such as 1985-04-12T23:20:50.52Z.
URI: xsd:dateTime
Type Properties#
| Property | Value |
|---|---|
| Type Of | String |
| Base | str |
| Type URI | xsd:dateTime |
Value Constraints#
| Property | Value |
|---|---|
| Regex Pattern | ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ |
Comments#
- It extends string rather than datetime, because the LinkML Python runtime writes a datetime’s Z as +00:00, which the framework does not allow.
See Also#
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lmodel/slsa
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | xsd:dateTime |
| native | slsa:InTotoTimestamp |