Amazon Q · Schema

Message

Message schema from openapi

Artificial IntelligenceAssistantEnterpriseGenerative AI

Properties

Name Type Description
messageId string The unique identifier of the message.
body string The content of the message.
type string The type of message.
time string The time the message was sent.
View JSON Schema on GitHub

JSON Schema

amazon-q-openapi-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-q/refs/heads/main/json-schema/amazon-q-openapi-message-schema.json",
  "title": "Message",
  "description": "Message schema from openapi",
  "type": "object",
  "properties": {
    "messageId": {
      "type": "string",
      "description": "The unique identifier of the message."
    },
    "body": {
      "type": "string",
      "description": "The content of the message."
    },
    "type": {
      "type": "string",
      "enum": [
        "USER",
        "SYSTEM"
      ],
      "description": "The type of message."
    },
    "time": {
      "type": "string",
      "format": "date-time",
      "description": "The time the message was sent."
    }
  }
}