Skip to content

Commit 11f0d6c

Browse files
committed
Add optional timestamp to Annotated
1 parent ce55bba commit 11f0d6c

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

schema/schema.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"maximum": 1,
1919
"minimum": 0,
2020
"type": "number"
21+
},
22+
"timestamp": {
23+
"description": "The timestamp indicating when this annotation was created or last updated.\n\nShould be an ISO 8601 formatted string (e.g., \"2025-01-12T15:00:58Z\").",
24+
"type": "string"
2125
}
2226
},
2327
"type": "object"
@@ -455,6 +459,10 @@
455459
"maximum": 1,
456460
"minimum": 0,
457461
"type": "number"
462+
},
463+
"timestamp": {
464+
"description": "The timestamp indicating when this annotation was created or last updated.\n\nShould be an ISO 8601 formatted string (e.g., \"2025-01-12T15:00:58Z\").",
465+
"type": "string"
458466
}
459467
},
460468
"type": "object"
@@ -557,6 +565,10 @@
557565
"maximum": 1,
558566
"minimum": 0,
559567
"type": "number"
568+
},
569+
"timestamp": {
570+
"description": "The timestamp indicating when this annotation was created or last updated.\n\nShould be an ISO 8601 formatted string (e.g., \"2025-01-12T15:00:58Z\").",
571+
"type": "string"
560572
}
561573
},
562574
"type": "object"
@@ -1489,6 +1501,10 @@
14891501
"maximum": 1,
14901502
"minimum": 0,
14911503
"type": "number"
1504+
},
1505+
"timestamp": {
1506+
"description": "The timestamp indicating when this annotation was created or last updated.\n\nShould be an ISO 8601 formatted string (e.g., \"2025-01-12T15:00:58Z\").",
1507+
"type": "string"
14921508
}
14931509
},
14941510
"type": "object"
@@ -1595,6 +1611,10 @@
15951611
"maximum": 1,
15961612
"minimum": 0,
15971613
"type": "number"
1614+
},
1615+
"timestamp": {
1616+
"description": "The timestamp indicating when this annotation was created or last updated.\n\nShould be an ISO 8601 formatted string (e.g., \"2025-01-12T15:00:58Z\").",
1617+
"type": "string"
15981618
}
15991619
},
16001620
"type": "object"
@@ -1931,6 +1951,10 @@
19311951
"maximum": 1,
19321952
"minimum": 0,
19331953
"type": "number"
1954+
},
1955+
"timestamp": {
1956+
"description": "The timestamp indicating when this annotation was created or last updated.\n\nShould be an ISO 8601 formatted string (e.g., \"2025-01-12T15:00:58Z\").",
1957+
"type": "string"
19341958
}
19351959
},
19361960
"type": "object"

schema/schema.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,13 @@ export interface Annotated {
832832
* @maximum 1
833833
*/
834834
priority?: number;
835+
836+
/**
837+
* The timestamp indicating when this annotation was created or last updated.
838+
*
839+
* Should be an ISO 8601 formatted string (e.g., "2025-01-12T15:00:58Z").
840+
*/
841+
timestamp?: string;
835842
}
836843
}
837844

0 commit comments

Comments
 (0)