Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

support google timestamps, use date-time format in json schema #12

Closed
wants to merge 1 commit into from
Closed

Conversation

huttotw
Copy link

@huttotw huttotw commented Jul 29, 2019

The well known type google/protobuf/timestamp.proto will now be represented as:

{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "properties": {
        "timestamp": {
            "type": "string",
            "format": "date-time"
        }
    },
    "additionalProperties": true,
    "type": "object"
}

@chrusty
Copy link
Owner

chrusty commented Jun 23, 2020

@huttotw I'm sorry this slipped through the cracks. I guess one of the refactoring PRs made this too difficult to resurrect, so I raised a new PR from your work: #25

I'll credit you in the release notes, sorry to have missed it. I think I disabled GitHub notifications because I belong to some busy GitHub orgs from time to time which spam my inbox.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants