There is no social media schema type
The name is a misnomer that has stuck. schema.org has no type for a social profile; what people mean is the sameAs property, which takes an array of URLs that identify the same entity elsewhere on the web.
It attaches to whatever the entity is — an Organization for a company, a Person for an author — and its job is disambiguation. It says: this company and that X account and that GitHub organisation are one thing, not three.
{
"@context": "https://schema.org",
"@type": "Organization",
"@id": "https://example.com/#org",
"name": "Example",
"url": "https://example.com",
"sameAs": [
"https://x.com/example",
"https://www.linkedin.com/company/example",
"https://github.com/example"
]
}