{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-social-account-schema.json",
  "title": "SocialAccount",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-ads-api-openapi.yml#/components/schemas/SocialAccount",
  "type": "object",
  "properties": {
    "object": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "platform": {
      "type": "string",
      "enum": [
        "twitter",
        "linkedin",
        "instagram",
        "facebook",
        "youtube",
        "tiktok",
        "pinterest",
        "threads",
        "reddit",
        "bluesky",
        "googlebusiness",
        "metaads",
        "tiktokads",
        "googleads",
        "linkedinads",
        "pinterestads",
        "xads",
        "openaiads"
      ]
    },
    "username": {
      "type": [
        "string",
        "null"
      ]
    },
    "display_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "avatar_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "external_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "inactive",
        "error"
      ]
    }
  },
  "required": [
    "object",
    "id",
    "platform",
    "username",
    "display_name",
    "avatar_url",
    "external_id",
    "label",
    "status"
  ]
}