{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ploid/json-schema/ploid-socials-request-schema.json",
  "title": "SocialsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ploid-social-api-openapi.yml#/components/schemas/SocialsRequest",
  "type": "object",
  "required": [
    "platform",
    "identifier"
  ],
  "additionalProperties": false,
  "properties": {
    "platform": {
      "type": "string",
      "enum": [
        "linkedin",
        "x",
        "twitter",
        "instagram",
        "tiktok",
        "youtube",
        "github",
        "reddit",
        "facebook"
      ],
      "description": "Use x for new integrations; twitter remains a compatibility alias."
    },
    "identifier": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Handle, vanity slug, or a profile URL belonging to the selected platform."
    }
  }
}