{ "openapi": "3.0.1", "info": { "title": "Event Utils API", "version": "2.0.0", "description": "API for managing events." }, "servers": [ { "url": "https://api.yourdomain.com" } ], "paths": { "/meetings": { "put": { "summary": "Create a meeting", "description": "Creates a new meeting.", "operationId": "createMeeting", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "subject": { "type": "string", "description": "The subject or title of the meeting." }, "start": { "type": "object", "description": "The start details of the meeting, including date and time.", "properties": { "dateTime": { "type": "string", "format": "date-time", "description": "The start date and time of the meeting in ISO 8601 format." }, "timeZone": { "type": "string", "description": "The time zone in which the meeting starts." } }, "required": [ "dateTime", "timeZone" ] }, "end": { "type": "object", "description": "The end details of the meeting, including date and time.", "properties": { "dateTime": { "type": "string", "format": "date-time", "description": "The end date and time of the meeting in ISO 8601 format." }, "timeZone": { "type": "string", "description": "The time zone in which the meeting ends." } }, "required": [ "dateTime", "timeZone" ] }, "tags": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "The name of the tag associated with the meeting." } }, "required": [ "name" ] }, "description": "A list of tags associated with the meeting for categorization." } }, "required": [ "subject", "start", "end", "tags" ] } } } }, "responses": { "200": { "description": "Meeting created successfully.", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "string", "description": "The unique identifier for the meeting." } }, "required": [ "id" ] } } } } } } } } }