message TIMESTAMP {
// Represents seconds of UTC time since Unix epoch
required int64 seconds = 1;
// Non-negative fractions of a second at millisecond resolution
required int32 millis = 2;
}
JSON SCHEMA:
"TIMESTAMP": {
"title": "TIMESTAMP",
"type": "object",
"properties": {
"seconds": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"$comment" : "Represents seconds of UTC time since Unix epoch"
},
"millis": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647,
"$comment" : "Non-negative fractions of a second at millisecond resolution",
}
},
"required": [
"seconds",
"millis"
]
}
i.e. PROTO:
JSON SCHEMA: