{ "openapi": "3.0.0", "info": { "title": "Generated by cue.", "version": "no version" }, "paths": {}, "components": { "schemas": { "Duration": { "type": "string" }, "MyStruct": { "type": "object", "required": [ "contains" ], "properties": { "timestamp1": { "type": "string", "format": "date-time" }, "timestamp2": { "type": "string", "format": "date-time" }, "timestamp3": { "type": "string", "format": "date-time" }, "timestamp4": { "type": "string", "format": "date-time" }, "date1": { "type": "string", "format": "date" }, "date2": { "type": "string", "format": "date" }, "timeout": { "$ref": "#/components/schemas/Duration" }, "contains": { "type": "array" } } } } } }