{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seenpaid-com/json-schema/seenpaid-com-social-account-schema.json",
  "title": "SocialAccount",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seenpaid-com-openapi.json#/components/schemas/SocialAccount",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "platform": {
      "$ref": "#/$defs/Platform"
    },
    "handle": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "connected",
        "needs_reconnect",
        "disconnected"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "Platform": {
      "type": "string",
      "enum": [
        "x",
        "bluesky",
        "linkedin",
        "instagram",
        "facebook",
        "tiktok",
        "discord",
        "telegram",
        "mastodon",
        "nostr",
        "devto",
        "hashnode",
        "medium",
        "reddit",
        "threads",
        "tumblr",
        "pinterest",
        "vk",
        "slack",
        "wordpress",
        "ghost",
        "lemmy",
        "webhook",
        "microblog",
        "matrix"
      ]
    }
  }
}