{
    "$id": "https://example.com/restapi/HasFormats.json",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "HasFormats",
    "type": "object",
    "definitions": {
        "MyDateTime": {
            "type": "string",
            "format": "date-time"
        },
        "MyUtcMillisec": {
            "type": "number",
            "format": "utc-millisec"
        },
        "MyObj": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string"
                }
            }
        }
    },
    "properties": {
        "TheDateAndTime": {
            "$ref": "#/definitions/MyDateTime"
        },
        "TheDateAndTimeArray": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/MyDateTime"
            }
        },
        "TheDateAndTimeArray2": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/MyObj"
            }
        },
        "TheTimestamp": {
            "$ref": "#/definitions/MyUtcMillisec"
        },
        "TheDate": {
            "type": "string",
            "format": "date"
        },
        "TheTime": {
            "type": "string",
            "format": "time"
        },
        "AnotherDateTime": {
            "type": "string",
            "format": "date-time"
        },
        "int64": {
            "type": "integer",
            "format": "int64"
        },
        "UnhandledFormat": {
            "type": "string",
            "format": "chickenbutt"
        }
    }
}