{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/honcho-dev/json-schema/honcho-dev-metamessage-schema.json",
  "title": "Metamessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/honcho-dev-openapi.json#/components/schemas/Metamessage",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "label": {
      "type": "string",
      "title": "Label"
    },
    "content": {
      "type": "string",
      "title": "Content"
    },
    "user_id": {
      "type": "string",
      "title": "User Id"
    },
    "app_id": {
      "type": "string",
      "title": "App Id"
    },
    "session_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Session Id"
    },
    "message_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Message Id"
    },
    "metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Metadata",
      "default": {}
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "metamessage_type": {
      "type": "string",
      "title": "Metamessage Type",
      "readOnly": true
    }
  },
  "type": "object",
  "required": [
    "id",
    "label",
    "content",
    "user_id",
    "app_id",
    "session_id",
    "message_id",
    "created_at",
    "metamessage_type"
  ]
}