{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cherami-to/json-schema/cherami-to-created-inbox-schema.json",
  "title": "CreatedInbox",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cherami-to-inboxes-api-openapi.yml#/components/schemas/CreatedInbox",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Cherami resource ID."
    },
    "local_part": {
      "type": "string"
    },
    "address": {
      "type": "string"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "sender_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "description": "UTC timestamp with milliseconds.",
      "format": "date-time",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
    },
    "replayed": {
      "type": "boolean",
      "description": "true when a retry matched an earlier request: the result is that request's, and nothing new was created or sent."
    },
    "idempotency_expires_at": {
      "type": "string",
      "description": "When the key stops protecting retries.",
      "format": "date-time",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
    }
  },
  "required": [
    "id",
    "local_part",
    "address",
    "name",
    "sender_name",
    "created_at"
  ]
}