{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hatchet/json-schema/hatchet-snsintegration-schema.json",
  "title": "SNSIntegration",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hatchet-sns-api-openapi.yml#/components/schemas/SNSIntegration",
  "type": "object",
  "properties": {
    "metadata": {
      "$ref": "#/$defs/APIResourceMeta"
    },
    "tenantId": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier for the tenant that the SNS integration belongs to."
    },
    "topicArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the SNS topic."
    },
    "ingestUrl": {
      "type": "string",
      "description": "The URL to send SNS messages to."
    }
  },
  "required": [
    "metadata",
    "tenantId",
    "topicArn"
  ],
  "$defs": {
    "APIResourceMeta": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "the id of this resource, in UUID format",
          "minLength": 0,
          "maxLength": 36
        },
        "createdAt": {
          "type": "string",
          "description": "the time that this resource was created",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "description": "the time that this resource was last updated",
          "format": "date-time"
        }
      },
      "required": [
        "id",
        "createdAt",
        "updatedAt"
      ]
    }
  }
}