| 1 |
$$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition" |
| 2 |
$id: "https://schemas.optimade.org/defs/v1.2/properties/optimade/files/mtime" |
| 3 |
title: "modification time" |
| 4 |
x-optimade-type: "timestamp" |
| 5 |
x-optimade-definition: |
| 6 |
label: "mtime_optimade_files" |
| 7 |
kind: "property" |
| 8 |
version: "1.2.0" |
| 9 |
format: "1.2" |
| 10 |
name: "mtime" |
| 11 |
type: |
| 12 |
- "string" |
| 13 |
- "null" |
| 14 |
format: "date-time" |
| 15 |
description: |- |
| 16 |
Time of last modification of a file as per POSIX standard. |
| 17 |
|
| 18 |
**Requirements/Conventions:** |
| 19 |
|
| 20 |
- It should be noted that the values of `last_modified`, `modification_timestamp` and `mtime` do not necessary match. |
| 21 |
`last_modified` pertains to the modification of the OPTIMADE metadata, `modification_timestamp` pertains to file contents and `mtime` pertains to the modification of the file (not necessary changing its contents). |
| 22 |
For example, appending an empty string to a file would result in the change of `mtime` in some operating systems, but this would not be deemed as a modification of its contents. |
| 23 |
examples: |
| 24 |
- "2007-04-05T14:30:20Z" |
| 25 |
x-optimade-unit: "inapplicable" |