{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/woopsocial-com/json-schema/woopsocial-com-create-oauth-authorization-request-schema.json",
  "title": "CreateOAuthAuthorizationRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/woopsocial-com-openapi-openapi.yml#/components/schemas/CreateOAuthAuthorizationRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "projectId",
    "platform"
  ],
  "properties": {
    "projectId": {
      "type": "string",
      "description": "Project identifier."
    },
    "platform": {
      "$ref": "#/$defs/SocialPlatform"
    },
    "redirectUrl": {
      "type": "string",
      "format": "uri",
      "description": "Optional URL in your application to return the browser to after OAuth completes.\n\nUse this for multi-user integrations where your users connect their own social\naccounts through your app. WoopSocial appends OAuth result query parameters to\nthis URL so your app can finish the connection flow.\n\nThe redirect does not include tokens or credentials.\n"
    }
  },
  "$defs": {
    "SocialPlatform": {
      "type": "string",
      "enum": [
        "PINTEREST",
        "LINKEDIN",
        "LINKEDIN_PAGES",
        "INSTAGRAM",
        "FACEBOOK",
        "THREADS",
        "TIKTOK",
        "X",
        "YOUTUBE",
        "BLUESKY",
        "WOOPTEST"
      ],
      "description": "Identifies which social media platform this data structure targets.\n"
    }
  }
}