openapi: 3.0.3
info:
  title: Authorix
  version: 0.1.0
  description: In a world of AI slop and bots, we index the voices that actually matter.
paths:
  /api/v1/index:
    get:
      operationId: index
      summary: Search for authorities
      parameters:
      - in: header
        name: Authorization
        schema:
          type: Bearer <api_key>
        description: Bearer <api_key>
        required: true
      - in: query
        name: countries
        schema:
          type: array
          items:
            type: string
        description: Alpha-2 country codes. Repeat the parameter for several. Supersedes
          `alpha2`, which takes a single code.
      - in: query
        name: entity_type
        schema:
          type: string
          enum:
          - non-persons
          - persons
        description: Restrict to individual people or to organisations.
      - in: query
        name: has_authority_score
        schema:
          type: boolean
        description: Only return authorities that have a scored authority rating.
      - in: query
        name: has_social
        schema:
          type: array
          items:
            type: string
            enum:
            - x
            - instagram
            - youtube
            - linkedin
            - tiktok
            - facebook
            - twitch
            - bluesky
            - mastodon
            - threads
            - discord
            - reddit
            - pinterest
            - snapchat
            - spotify
            - substack
            - github
            - orcid
            - telegram
            - wikipedia
            - soundcloud
            - medium
            - googlescholar
        description: Only return authorities with a resolved account on EVERY listed
          platform. Repeat the parameter for several.
      - in: query
        name: limit
        schema:
          type: integer
          minimum: 5
          maximum: 1000
        description: Limit
      - in: query
        name: location
        schema:
          type: string
        description: Free-text place (city or region), narrower than a country.
      - in: query
        name: order_by
        schema:
          type: string
          enum:
          - combined_score
          - raw_semantic_score
          - reach
        description: 'Ranking: `raw_semantic_score` closest match to the query (default),
          `combined_score` the authority score, `reach` total audience across all
          channels.'
      - in: query
        name: query
        schema:
          type: string
        description: Search query
        required: true
      tags:
      - Authorities
      security:
      - bearerAuthentication: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvelopedAuthorityIndex'
              examples:
                Formula1AuthoritySearch:
                  value:
                    duration: 0.123
                    costs:
                      unit: index
                      count: 1
                    request_id: 123e4567-e89b-12d3-a456-426614174000
                    results:
                    - sdu: '294152247252684609194428744833146550207'
                      name: Lewis Hamilton
                      pic: https://pbs.twimg.com/profile_images/1874472051517296640/anm3Q000_normal.jpg
                      rank: 1
                      bio: Seven-time Formula 1 World Champion, driving for Scuderia
                        Ferrari.
                      country_name: United Kingdom
                      location: Monaco
                      topic: Formula 1
                      topics:
                      - Formula 1
                      - Motorsports
                      - Sustainability
                      authority_score: 99.2
                      combined_score: 99.2
                      raw_semantic_score: 0.94
                      reach: 87400000
                    - sdu: '310920314388429788970855127831760636182'
                      name: Formula 1
                      pic: https://pbs.twimg.com/profile_images/1612433922733887489/7f5XFklA_normal.jpg
                      rank: 2
                      bio: The official account of Formula 1, the highest class of
                        international motorsport.
                      country_name: United Kingdom
                      location: London
                      topic: Formula 1
                      topics:
                      - Formula 1
                      - Motorsports
                      authority_score: 98.7
                      combined_score: 98.7
                      raw_semantic_score: 0.97
                      reach: 61200000
                    - sdu: '88640502273534443173088476745876762106'
                      name: Fernando Alonso
                      pic: https://pbs.twimg.com/profile_images/1894450651058356224/HlKYFuSm_normal.jpg
                      rank: 3
                      bio: Two-time Formula 1 World Champion racing for Aston Martin.
                      country_name: Spain
                      location: Oviedo
                      topic: Formula 1
                      topics:
                      - Formula 1
                      - Motorsports
                      - Endurance Racing
                      authority_score: 97.5
                      combined_score: 97.5
                      raw_semantic_score: 0.91
                      reach: 24800000
                    - sdu: '71300195771380492381684629107406813474'
                      name: Scuderia Ferrari HP
                      pic: https://pbs.twimg.com/profile_images/947659786555940865/P5eYYYIx_normal.jpg
                      rank: 4
                      bio: The oldest and most successful team in Formula 1, racing
                        from Maranello since 1950.
                      country_name: Italy
                      location: Maranello
                      topic: Motorsports
                      topics:
                      - Formula 1
                      - Motorsports
                      - Automotive
                      authority_score: 96.8
                      combined_score: 96.8
                      raw_semantic_score: 0.89
                      reach: 32100000
                    - sdu: '16724552394669931343874914053947544429'
                      name: McLaren Formula 1 Team
                      pic: https://pbs.twimg.com/profile_images/2009686309229441024/YAoyori-_normal.jpg
                      rank: 5
                      bio: British Formula 1 team based in Woking, competing since
                        1966.
                      country_name: United Kingdom
                      location: Woking
                      topic: Mclaren
                      topics:
                      - Formula 1
                      - Motorsports
                      - Automotive
                      authority_score: 96.2
                      combined_score: 96.2
                      raw_semantic_score: 0.87
                      reach: 18900000
                  summary: Search for Formula 1 authorities
                  description: 'Retrieving a list of authorities with query="Formula
                    1" and limit=5. The three scores answer different questions: `authority_score`
                    and `combined_score` are how much authority the entity holds,
                    `raw_semantic_score` is how closely it matches THIS query (so
                    it does not compare across searches), and `reach` is total audience
                    across all of its channels.'
          description: ''
        '502':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                _AuthorityServiceUnavailable:
                  value:
                    detail: Error communicating with the Authority Service.
                  summary: Authority Service Unavailable Example
          description: Error communicating with the Authority Service.
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                AuthorityNotFound:
                  value:
                    detail: Authority not found.
                  summary: Authority Not Found Example
          description: The requested resource was not found.
        '429':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                RateLimitExceeded:
                  value:
                    detail: Request was throttled.
                  summary: Rate Limit Exceeded Example
          description: Rate limit exceeded. Maximum allowed rate is 20 requests per
            second.
        '403':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                Forbidden:
                  value:
                    detail: Your balance is too low to make this request.
                  summary: Forbidden Example
          description: Forbidden. Your balance is too low to make this request.
  /api/v1/detail:
    get:
      operationId: detail
      summary: Retrieve detailed authority
      parameters:
      - in: header
        name: Authorization
        schema:
          type: Bearer <api_key>
        description: Bearer <api_key>
        required: true
      - in: query
        name: sdus
        schema:
          type: array
          items:
            type: string
        description: List of SDU ids
        required: true
      tags:
      - Authorities
      security:
      - bearerAuthentication: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvelopedAuthorityDetail'
              examples:
                LewisHamiltonDetail:
                  value:
                    duration: 0.456
                    costs:
                      unit: detail
                      count: 1
                    request_id: 123e4567-e89b-12d3-a456-426614174000
                    results:
                    - sdu: '294152247252684609194428744833146550207'
                      name: Lewis Hamilton
                      bio: Lewis Hamilton British Formula One driver for Scuderia
                        Ferrari is a seventime World Champion and record holder for
                        wins pole positions and podiums Known for speed flair and
                        activism he cofounded Mission 44 to combat social injustice
                        and promote STEM education
                      country: United Kingdom
                      topics:
                      - Formula 1
                      - Motorsports
                      socials:
                        x:
                          handle: '@LewisHamilton'
                          followers: 8608690
                        facebook:
                          handle: LewisHamilton
                          followers: 6400000
                        instagram:
                          handle: lewishamilton
                          followers: 41200000
                        linkedin:
                          handle: in/sirlewishamilton
                          followers: null
                        reddit:
                          handle: null
                          followers: 0
                        tiktok:
                          handle: '@lewishamilton'
                          followers: 2300000
                        snapchat:
                          handle: null
                          followers: null
                        youtube:
                          handle: '@lewishamilton'
                          followers: 222000
                        discord:
                          handle: null
                          followers: null
                        twitch:
                          handle: null
                          followers: null
                        spotify:
                          handle: null
                          followers: null
                        pinterest:
                          handle: null
                          followers: null
                      site: https://www.lewishamilton.com/
                  summary: Retrieve details for Lewis Hamilton
                  description: Retrieving detailed information for authority with
                    uuid=294152247252684609194428744833146550207.
          description: ''
        '502':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                _AuthorityServiceUnavailable:
                  value:
                    detail: Error communicating with the Authority Service.
                  summary: Authority Service Unavailable Example
          description: Error communicating with the Authority Service.
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                AuthorityNotFound:
                  value:
                    detail: Authority not found.
                  summary: Authority Not Found Example
          description: The requested resource was not found.
        '429':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                RateLimitExceeded:
                  value:
                    detail: Request was throttled.
                  summary: Rate Limit Exceeded Example
          description: Rate limit exceeded. Maximum allowed rate is 20 requests per
            second.
        '403':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                Forbidden:
                  value:
                    detail: Your balance is too low to make this request.
                  summary: Forbidden Example
          description: Forbidden. Your balance is too low to make this request.
  /api/v1/peers:
    get:
      operationId: peers
      summary: Get peers by social media handles
      parameters:
      - in: header
        name: Authorization
        schema:
          type: string
        description: Bearer <api_key>
        required: true
      - in: query
        name: handles
        schema:
          type: array
          items:
            type: string
        description: Social media handles (e.g. @user1, @user2). Pass one or multiple
          handles.
        required: true
      tags:
      - Authorities
      security:
      - bearerAuthentication: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvelopedAuthority'
              examples:
                NASAAndESAPeers:
                  value:
                    duration: 0.123
                    costs:
                      unit: index
                      count: 1
                    request_id: 123e4567-e89b-12d3-a456-426614174000
                    results:
                    - sdu: '112847391029384756102938475610293847561'
                      name: SpaceX
                      pic: https://pbs.twimg.com/profile_images/1082744382585856001/qboxIpSX_normal.jpg
                      rank: 1
                      country_name: United States
                      topic: Space Exploration
                    - sdu: '209384756102938475610293847561029384756'
                      name: JAXA
                      pic: https://pbs.twimg.com/profile_images/875344919597461504/Go3GhPAO_normal.jpg
                      rank: 2
                      country_name: Japan
                      topic: Space Exploration
                    - sdu: '301928374651029384756102938475610293847'
                      name: Roscosmos
                      pic: https://pbs.twimg.com/profile_images/1637840342981890048/1LQB3rh0_normal.jpg
                      rank: 3
                      country_name: Russia
                      topic: Space Exploration
                    - sdu: '418273645910293847561029384756102938475'
                      name: ISRO
                      pic: https://pbs.twimg.com/profile_images/875086534218792960/YwTGMRop_normal.jpg
                      rank: 4
                      country_name: India
                      topic: Space Exploration
                    - sdu: '529384756102938475610293847561029384756'
                      name: Blue Origin
                      pic: https://pbs.twimg.com/profile_images/1082744382585856002/qboxIpSY_normal.jpg
                      rank: 5
                      country_name: United States
                      topic: Space Exploration
                  summary: Find peers for NASA and ESA
                  description: Retrieving a list of peers similar to ["nasa", "esa"].
          description: ''
        '502':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                _AuthorityServiceUnavailable:
                  value:
                    detail: Error communicating with the Authority Service.
                  summary: Authority Service Unavailable Example
          description: Error communicating with the Authority Service.
        '403':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                Forbidden:
                  value:
                    detail: Your balance is too low to make this request.
                  summary: Forbidden Example
          description: Forbidden. Your balance is too low to make this request.
        '429':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                RateLimitExceeded:
                  value:
                    detail: Request was throttled.
                  summary: Rate Limit Exceeded Example
          description: Rate limit exceeded. Maximum allowed rate is 20 requests per
            second.
  /api/v1/match:
    get:
      operationId: match
      summary: Match authorities by social media handles
      parameters:
      - in: header
        name: Authorization
        schema:
          type: string
        description: Bearer <api_key>
        required: true
      - in: query
        name: handles
        schema:
          type: array
          items:
            type: string
        description: Social media handles (e.g. @user1, @user2). Pass one or multiple
          handles.
        required: true
      tags:
      - Authorities
      security:
      - bearerAuthentication: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnvelopedAuthority'
              examples:
                MatchASocialHandle:
                  value:
                    duration: 0.087
                    costs:
                      unit: match
                      count: 1
                    request_id: 123e4567-e89b-12d3-a456-426614174000
                    results:
                    - sdu: '294152247252684609194428744833146550207'
                      name: Lewis Hamilton
                      pic: https://pbs.twimg.com/profile_images/1874472051517296640/anm3Q000_normal.jpg
                      rank: 1
                      country_name: United Kingdom
                      topic: Formula 1
                      authority_score: 99.2
                  summary: Look up authorities by handle
                  description: Identity and ranking only. Match tells you WHO an account
                    belongs to; pass the returned `sdu` to `/api/v1/detail` for the
                    bio, topics and social handles.
          description: ''
        '502':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                _AuthorityServiceUnavailable:
                  value:
                    detail: Error communicating with the Authority Service.
                  summary: Authority Service Unavailable Example
          description: Error communicating with the Authority Service.
        '403':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                Forbidden:
                  value:
                    detail: Your balance is too low to make this request.
                  summary: Forbidden Example
          description: Forbidden. Your balance is too low to make this request.
        '429':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                RateLimitExceeded:
                  value:
                    detail: Request was throttled.
                  summary: Rate Limit Exceeded Example
          description: Rate limit exceeded. Maximum allowed rate is 20 requests per
            second.
  /api/v1/content:
    get:
      operationId: content
      description: |-
        Latest content (posts) for up to MAX_CONTENT_SDUS authorities.

        `sdus` is comma-separated. Newest-first, last 14 days, max 10 per authority
        (trimmed in ServiceClient.fetch_content). Powers the "Latest content" drawer
        in Verify, which asks for one, and the MCP `content` tool, which may batch.
      summary: Latest content for authorities
      parameters:
      - in: header
        name: Authorization
        schema:
          type: Bearer <api_key>
        description: Bearer <api_key>
        required: true
      - in: query
        name: sdus
        schema:
          type: string
        description: Comma-separated SDU identifiers, up to 20. Billed per authority
          asked for, so a batch costs the same as the calls it replaces.
        required: true
      tags:
      - Authorities
      security:
      - bearerAuthentication: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentListResponse'
              examples:
                LatestContentForOneAuthority:
                  value:
                    duration: 0.204
                    results:
                    - sdu: '294152247252684609194428744833146550207'
                      corpus: bluesky
                      created_at: '2026-08-20T09:14:02+00:00'
                      title: null
                      body: Great work from the team this weekend. On to the next
                        one.
                      url: https://bsky.app/profile/example.bsky.social/post/3l2abcxyz
                      metrics:
                        likes: 48210
                        reposts: 5120
                        replies: 1830
                    - sdu: '294152247252684609194428744833146550207'
                      corpus: bluesky
                      created_at: '2026-08-18T17:41:55+00:00'
                      title: null
                      body: Testing the new floor upgrade today. Feels promising.
                      url: https://bsky.app/profile/example.bsky.social/post/3l2defuvw
                      metrics:
                        likes: 31044
                        reposts: 2967
                        replies: 902
                  summary: Recent posts for a single SDU
                  description: Newest first, last 14 days, at most 10 per authority.
                    Every item carries the `sdu` it belongs to, so a request for several
                    authorities can be split back apart. `metrics` is whatever the
                    platform reports, so its keys vary by `corpus`.
          description: ''
        '429':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                RateLimitExceeded:
                  value:
                    detail: Request was throttled.
                  summary: Rate Limit Exceeded Example
          description: Rate limit exceeded. Maximum allowed rate is 20 requests per
            second.
        '403':
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                Forbidden:
                  value:
                    detail: Your balance is too low to make this request.
                  summary: Forbidden Example
          description: Forbidden. Your balance is too low to make this request.
components:
  schemas:
    Authority:
      type: object
      description: |-
        Identity and ranking only: what `peers` and `match` return.

        Those two endpoints answer "who is this / who is near this", not "tell me
        about them", and upstream sends nothing richer for them. The caller goes to
        `detail` for a profile. The index endpoint returns considerably more, which
        is why it has its own subclass below rather than widening this one: a
        serializer emits only what it declares, so widening here would have peers
        and match advertise fields that are always empty.
      properties:
        sdu:
          type: string
          format: uuid
        name:
          type: string
          maxLength: 255
        pic:
          type: string
          format: uri
        country_name:
          type: string
          maxLength: 255
        topic:
          type: string
          maxLength: 255
        rank:
          type: integer
          nullable: true
        authority_score:
          type: number
          format: double
          nullable: true
      required:
      - name
      - sdu
    AuthorityDetail:
      type: object
      properties:
        sdu:
          type: string
          format: uuid
        name:
          type: string
          maxLength: 255
        bio:
          type: string
        country:
          type: string
          maxLength: 255
        topics:
          type: array
          items:
            type: string
        socials:
          allOf:
          - $ref: '#/components/schemas/Socials'
          nullable: true
        site:
          type: string
          format: uri
          nullable: true
        authority_score:
          type: number
          format: double
          nullable: true
      required:
      - name
      - sdu
    AuthorityIndex:
      type: object
      description: |-
        What the index search returns: identity, plus enough to judge a result.

        `/api/v1/index` and the MCP `search` tool share this, so an agent filtering
        results by bio, topics or score sees exactly what the REST API does.

        The three scores are distinct and easy to confuse:
          - authority_score / combined_score: how much authority the entity holds.
            `combined_score` is the name upstream uses for the same idea the product
            labels "authority score".
          - raw_semantic_score: how closely this result matches THIS query. It says
            nothing about the entity in general and is not comparable across
            searches.
          - reach: total audience across all of the entity's channels.

        Everything is optional: upstream does not populate every field for every
        entity, and an absent field is better than a fabricated null.
      properties:
        sdu:
          type: string
          format: uuid
        name:
          type: string
          maxLength: 255
        pic:
          type: string
          format: uri
        country_name:
          type: string
          maxLength: 255
        topic:
          type: string
          maxLength: 255
        rank:
          type: integer
          nullable: true
        authority_score:
          type: number
          format: double
          nullable: true
        bio:
          type: string
        location:
          type: string
          nullable: true
          maxLength: 255
        topics:
          type: array
          items:
            type: string
        combined_score:
          type: number
          format: double
          nullable: true
        raw_semantic_score:
          type: number
          format: double
          nullable: true
        reach:
          type: integer
          nullable: true
      required:
      - name
      - sdu
    ContentItem:
      type: object
      description: |-
        One post from an authority's recent content.

        Must stay in step with `_CONTENT_FIELDS` in entities/views.py, which is what
        actually trims the upstream payload. This declares the same set so the shape
        is documented rather than implied.
      properties:
        sdu:
          type: string
          description: The authority this post belongs to.
        corpus:
          type: string
          description: Which platform the post came from.
        created_at:
          type: string
          description: When it was posted (ISO-8601).
        title:
          type: string
          nullable: true
        body:
          type: string
          nullable: true
        url:
          type: string
          nullable: true
        metrics:
          type: object
          additionalProperties: {}
          nullable: true
          description: Engagement counts, as the platform reports them.
      required:
      - sdu
    ContentListResponse:
      type: object
      description: Response shape for the content endpoint.
      properties:
        duration:
          type: number
          format: double
          default: 0.0
        results:
          type: array
          items:
            $ref: '#/components/schemas/ContentItem'
      required:
      - results
    Cost:
      type: object
      properties:
        unit:
          type: string
        count:
          type: integer
          nullable: true
    EnvelopedAuthority:
      type: object
      properties:
        duration:
          type: number
          format: double
          default: 0.0
        results:
          type: array
          items:
            $ref: '#/components/schemas/Authority'
        costs:
          allOf:
          - $ref: '#/components/schemas/Cost'
          nullable: true
        request_id:
          type: string
      required:
      - results
    EnvelopedAuthorityDetail:
      type: object
      properties:
        duration:
          type: number
          format: double
          default: 0.0
        results:
          type: array
          items:
            $ref: '#/components/schemas/AuthorityDetail'
        costs:
          allOf:
          - $ref: '#/components/schemas/Cost'
          nullable: true
        request_id:
          type: string
      required:
      - results
    EnvelopedAuthorityIndex:
      type: object
      properties:
        duration:
          type: number
          format: double
          default: 0.0
        results:
          type: array
          items:
            $ref: '#/components/schemas/AuthorityIndex'
        costs:
          allOf:
          - $ref: '#/components/schemas/Cost'
          nullable: true
        request_id:
          type: string
      required:
      - results
    SocialPlatform:
      type: object
      properties:
        handle:
          type: string
          nullable: true
        followers:
          type: integer
          nullable: true
    Socials:
      type: object
      description: |-
        Typed socials: one optional field per platform, generated from
        PLATFORM_KEYS (see that list for the sync contract).
      properties:
        x:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        instagram:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        youtube:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        linkedin:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        tiktok:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        facebook:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        twitch:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        bluesky:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        mastodon:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        threads:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        discord:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        reddit:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        pinterest:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        snapchat:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        spotify:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        substack:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        github:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        orcid:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        telegram:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        wikipedia:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        soundcloud:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        medium:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
        googlescholar:
          allOf:
          - $ref: '#/components/schemas/SocialPlatform'
          nullable: true
  securitySchemes:
    bearerAuthentication:
      type: http
      scheme: bearer
      description: Enter your API key in the format **Bearer <api_key>**
servers:
- url: https://api.authorix.com
  description: API server
