Zeplin Components API

The Components API from Zeplin — 10 operation(s) for components.

OpenAPI Specification

zeplin-components-api-openapi.yml Raw ↑
openapi: 3.0.2
info:
  title: Zeplin Authorization Components API
  description: Access your resources in Zeplin
  version: 1.38.0
  contact:
    name: Zeplin
    url: https://zeplin.io
    email: support@zeplin.io
servers:
- url: https://api.zeplin.dev
security:
- PersonalAccessToken: []
- OAuth2: []
tags:
- name: Components
paths:
  /v1/projects/{project_id}/components:
    get:
      tags:
      - Components
      summary: Get project components
      description: List all components of a project
      operationId: GetProjectComponents
      parameters:
      - $ref: '#/components/parameters/project_id'
      - $ref: '#/components/parameters/filter_by_section_id'
      - $ref: '#/components/parameters/sort_components'
      - $ref: '#/components/parameters/include_latest_version'
      - $ref: '#/components/parameters/include_linked_styleguides'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Component'
              examples:
                Project Components:
                  value:
                  - $ref: '#/components/examples/component/value'
        '404':
          $ref: '#/components/responses/projectNotFound'
        '422':
          $ref: '#/components/responses/projectArchived'
  /v1/projects/{project_id}/components/{component_id}:
    get:
      tags:
      - Components
      summary: Get a single project component
      description: Get a project component by id
      operationId: GetProjectComponent
      parameters:
      - $ref: '#/components/parameters/project_id'
      - $ref: '#/components/parameters/component_id'
      - $ref: '#/components/parameters/include_latest_version'
      - $ref: '#/components/parameters/include_linked_styleguides'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Component'
              examples:
                response:
                  $ref: '#/components/examples/component'
        '404':
          $ref: '#/components/responses/projectOrComponentNotFound'
        '422':
          $ref: '#/components/responses/projectArchived'
    patch:
      tags:
      - Components
      summary: Update a project component
      description: Update a component's description in a project
      operationId: UpdateProjectComponent
      parameters:
      - $ref: '#/components/parameters/project_id'
      - $ref: '#/components/parameters/component_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ComponentUpdateBody'
      responses:
        '204':
          $ref: '#/components/responses/noContent'
        '403':
          $ref: '#/components/responses/cannotUpdateProjectComponent'
        '404':
          $ref: '#/components/responses/projectOrComponentNotFound'
        '422':
          $ref: '#/components/responses/notAProjectMemberOrArchived'
  /v1/projects/{project_id}/components/{component_id}/versions/latest:
    get:
      tags:
      - Components
      summary: Get latest project component version
      description: Get latest version of the component in a project
      operationId: GetProjectComponentLatestVersion
      parameters:
      - $ref: '#/components/parameters/project_id'
      - $ref: '#/components/parameters/component_id'
      - $ref: '#/components/parameters/include_linked_styleguides'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComponentVersion'
              examples:
                response:
                  $ref: '#/components/examples/componentVersion'
        '403':
          $ref: '#/components/responses/cannotGetVersionInProject'
        '404':
          $ref: '#/components/responses/projectComponentOrComponentVersionNotFound'
        '422':
          $ref: '#/components/responses/projectArchived'
  /v1/projects/{project_id}/component_sections:
    get:
      tags:
      - Components
      summary: Get project component sections
      description: List all component sections of the project
      operationId: GetProjectComponentSections
      parameters:
      - $ref: '#/components/parameters/project_id'
      - $ref: '#/components/parameters/filter_by_page_id'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ComponentSection'
              examples:
                Project Component Sections:
                  value:
                  - $ref: '#/components/examples/componentSection/value'
        '404':
          $ref: '#/components/responses/projectNotFound'
        '422':
          $ref: '#/components/responses/projectArchived'
  /v1/projects/{project_id}/pages:
    get:
      tags:
      - Components
      summary: Get project pages
      description: List all pages of the project
      operationId: GetProjectPages
      parameters:
      - $ref: '#/components/parameters/project_id'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Page'
              examples:
                Project Pages:
                  value:
                  - $ref: '#/components/examples/page/value'
        '404':
          $ref: '#/components/responses/projectNotFound'
        '422':
          $ref: '#/components/responses/projectArchived'
  /v1/styleguides/{styleguide_id}/components:
    get:
      tags:
      - Components
      summary: Get styleguide components
      description: 'Returns components in a styleguide that user has access.


        See [Styleguide docs](#getstyleguide) for more details about how `linked_project` and `linked_styleguide` parameters can be used to retrieve resources from styleguides that user is eligible to access.

        '
      operationId: GetStyleguideComponents
      parameters:
      - $ref: '#/components/parameters/styleguide_id'
      - $ref: '#/components/parameters/filter_by_section_id'
      - $ref: '#/components/parameters/sort_components'
      - $ref: '#/components/parameters/linked_project'
      - $ref: '#/components/parameters/linked_styleguide'
      - $ref: '#/components/parameters/include_linked_styleguides'
      - $ref: '#/components/parameters/include_latest_version'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Component'
              examples:
                Styleguide Components:
                  value:
                  - $ref: '#/components/examples/component/value'
        '404':
          $ref: '#/components/responses/styleguideNotFound'
        '422':
          $ref: '#/components/responses/styleguideArchived'
  /v1/styleguides/{styleguide_id}/components/{component_id}:
    get:
      tags:
      - Components
      summary: Get a single styleguide component
      description: 'Returns the component in a styleguide that user has access.


        See [Styleguide docs](#getstyleguide) for more details about how `linked_project` and `linked_styleguide` parameters can be used to retrieve resources from styleguides that user is eligible to access.

        '
      operationId: GetStyleguideComponent
      parameters:
      - $ref: '#/components/parameters/styleguide_id'
      - $ref: '#/components/parameters/component_id'
      - $ref: '#/components/parameters/linked_project'
      - $ref: '#/components/parameters/linked_styleguide'
      - $ref: '#/components/parameters/include_latest_version'
      - $ref: '#/components/parameters/include_linked_styleguides'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Component'
              examples:
                response:
                  $ref: '#/components/examples/component'
        '404':
          $ref: '#/components/responses/styleguideOrComponentNotFound'
        '422':
          $ref: '#/components/responses/styleguideArchived'
    patch:
      tags:
      - Components
      summary: Update a styleguide component
      description: Update a component's description in a styleguide
      operationId: UpdateStyleguideComponent
      parameters:
      - $ref: '#/components/parameters/styleguide_id'
      - $ref: '#/components/parameters/component_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ComponentUpdateBody'
      responses:
        '204':
          $ref: '#/components/responses/noContent'
        '403':
          $ref: '#/components/responses/cannotUpdateStyleguideComponent'
        '404':
          $ref: '#/components/responses/styleguideOrComponentNotFound'
        '422':
          $ref: '#/components/responses/notAStyleguideMemberOrArchived'
  /v1/styleguides/{styleguide_id}/components/{component_id}/versions/latest:
    get:
      tags:
      - Components
      summary: Get latest styleguide component version
      description: 'Returns the latest version of the component in a styleguide that user has access.


        See [Styleguide docs](#getstyleguide) for more details about how `linked_project` and `linked_styleguide` parameters can be used to retrieve resources from styleguides that user is eligible to access.

        '
      operationId: GetStyleguideComponentLatestVersion
      parameters:
      - $ref: '#/components/parameters/styleguide_id'
      - $ref: '#/components/parameters/component_id'
      - $ref: '#/components/parameters/linked_project'
      - $ref: '#/components/parameters/linked_styleguide'
      - $ref: '#/components/parameters/include_linked_styleguides'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComponentVersion'
              examples:
                response:
                  $ref: '#/components/examples/componentVersion'
        '403':
          $ref: '#/components/responses/forbiddenStyleguideComponentVersion'
        '404':
          $ref: '#/components/responses/styleguideComponentOrComponentVersionNotFound'
        '422':
          $ref: '#/components/responses/styleguideArchived'
  /v1/styleguides/{styleguide_id}/component_sections:
    get:
      tags:
      - Components
      summary: Get styleguide component sections
      description: 'Returns the component sections of a styleguide that user has access.


        See [Styleguide docs](#getstyleguide) for more details about how `linked_project` and `linked_styleguide` parameters can be used to retrieve resources from styleguides that user is eligible to access.

        '
      operationId: GetStyleguideComponentSections
      parameters:
      - $ref: '#/components/parameters/styleguide_id'
      - $ref: '#/components/parameters/filter_by_page_id'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/linked_project'
      - $ref: '#/components/parameters/linked_styleguide'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ComponentSection'
              examples:
                response:
                  $ref: '#/components/examples/componentSection'
        '404':
          $ref: '#/components/responses/styleguideNotFound'
        '422':
          $ref: '#/components/responses/styleguideArchived'
  /v1/styleguides/{styleguide_id}/pages:
    get:
      tags:
      - Components
      summary: Get styleguide pages
      description: List all pages of the styleguide
      operationId: GetStyleguidePages
      parameters:
      - $ref: '#/components/parameters/styleguide_id'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Page'
              examples:
                Styleguide Pages:
                  value:
                  - $ref: '#/components/examples/page/value'
        '404':
          $ref: '#/components/responses/styleguideNotFound'
        '422':
          $ref: '#/components/responses/styleguideArchived'
components:
  schemas:
    Thumbnails:
      title: Thumbnails
      description: Thumbnail image URLs in various sizes. The aspect ratio of the original image is preserved. If the width of original image is lower than the desired width then the original width is used.
      type: object
      required:
      - small
      - medium
      - large
      properties:
        small:
          type: string
          description: URL of the thumbnail image with a width of at most 256 pixels
        medium:
          type: string
          description: URL of the thumbnail image with a width of at most 512 pixels
        large:
          type: string
          description: URL of the thumbnail image with a width of at most 1024 pixels
      example:
        $ref: '#/components/examples/thumbnails'
    ComponentUpdateBody:
      title: Component Update Body
      required:
      - description
      type: object
      properties:
        description:
          type: string
          description: New description for component
    BoundingRectangle:
      title: Bounding Rectangle
      type: object
      required:
      - width
      - height
      - x
      - y
      - absolute
      properties:
        width:
          type: integer
        height:
          type: integer
        x:
          type: number
        y:
          type: number
        absolute:
          $ref: '#/components/schemas/LayerPosition'
          description: Absolute position of the bounding rectangle
      example:
        $ref: '#/components/examples/boundingRectangle'
    SourceEnum:
      title: Source
      type: string
      description: Source application of the design
      enum:
      - sketch
      - xd
      - figma
      - psd
      - bitmap
    HotspotBoundingRectangle:
      title: Hotspot Bounding Rectangle
      type: object
      required:
      - width
      - height
      - x
      - y
      properties:
        width:
          type: integer
        height:
          type: integer
        x:
          type: number
        y:
          type: number
      example:
        $ref: '#/components/examples/hotspotBoundingRectangle'
    LayerFill:
      title: Layer Fill
      type: object
      required:
      - type
      properties:
        type:
          type: string
          enum:
          - color
          - gradient
          description: Type of the fill
        color:
          $ref: '#/components/schemas/ColorData'
        gradient:
          $ref: '#/components/schemas/Gradient'
        blend_mode:
          $ref: '#/components/schemas/BlendModeEnum'
      example:
        $ref: '#/components/examples/layerFill'
    ComponentSection:
      title: Component Section
      type: object
      required:
      - id
      - created
      - name
      - groups
      properties:
        id:
          type: string
          description: The unique id of the component section
        created:
          type: integer
          format: timestamp
          description: The unix timestamp when the component section was created
        name:
          type: string
          description: The name of the component section
        description:
          type: string
          description: The description of the component section
        groups:
          type: array
          items:
            $ref: '#/components/schemas/ComponentGroup'
        variant:
          $ref: '#/components/schemas/ComponentSectionVariant'
      example:
        $ref: '#/components/examples/componentSection'
    LayerPosition:
      title: Layer Position
      type: object
      required:
      - x
      - y
      properties:
        x:
          type: number
        y:
          type: number
      example:
        $ref: '#/components/examples/layerPosition'
    ResourceStyleguideSource:
      title: Source Styleguide
      type: object
      description: The source styleguide of the resource
      required:
      - id
      - name
      - platform
      properties:
        id:
          type: string
          description: The unique id of the source styleguide
        name:
          type: string
          description: The name of the source styleguide
        platform:
          type: string
          enum:
          - base
          - web
          - ios
          - android
          - macos
          description: The target platform of the source styleguide
        parent:
          $ref: '#/components/schemas/EntityReference'
          description: Reference of the parent styleguide of the source styleguide
      example:
        $ref: '#/components/examples/resourceStyleguideSource'
    Page:
      title: Page
      type: object
      required:
      - id
      - name
      - type
      - componentSections
      properties:
        id:
          type: string
          description: The unique id of the page
        name:
          type: string
          description: The name of the page
        type:
          type: string
          description: The type of the page
        description:
          type: string
          description: The description of the page
        componentSections:
          type: array
          description: Array of component section IDs
          items:
            type: string
      example:
        $ref: '#/components/examples/page'
    Component:
      title: Component
      type: object
      required:
      - id
      - name
      - image
      - created
      properties:
        id:
          type: string
          description: The unique id of the component
        name:
          type: string
          description: The name of the component
        description:
          type: string
          description: The description of the component
        image:
          $ref: '#/components/schemas/SnapshotImage'
        created:
          type: integer
          format: timestamp
          description: The unix timestamp when the component was created
        updated:
          type: integer
          format: timestamp
          description: The unix timestamp when the component was updated
        section:
          $ref: '#/components/schemas/ComponentSectionReference'
        variant_properties:
          type: array
          items:
            $ref: '#/components/schemas/ComponentVariantProperty'
          description: Variant properties of the component
        source:
          $ref: '#/components/schemas/ResourceSource'
          description: Source of the text style. Either `project` or `styleguide`.
        latest_version:
          $ref: '#/components/schemas/ComponentVersion'
          description: Design data in the latest version of the component. This exists if the related endpoint parameter (`include_latest_version=true`) is provided in component endpoints.
      example:
        $ref: '#/components/examples/component'
    VerticalGrid:
      title: Vertical Grid
      type: object
      required:
      - gutter_width
      - column_width
      - number_of_cols
      - gutters_on_outside
      properties:
        gutter_width:
          type: number
        column_width:
          type: number
        number_of_cols:
          type: number
        gutters_on_outside:
          type: boolean
      example:
        $ref: '#/components/examples/verticalGrid'
    LayerTextStyleRange:
      title: Layer Text Style Range
      type: object
      properties:
        location:
          type: number
          description: Start of the range
        length:
          type: number
          description: Length of the range
      example:
        $ref: '#/components/examples/layerTextStyle'
    Asset:
      title: Asset
      type: object
      description: 'Assets are automatically generated while exporting designs based on the platform the design is exported. Asset formats and densities change according to these platforms.


        Platform | Formats

        ---|---|---

        Base | PNG (1.0, 1.5, 2.0, 3.0, 4.0), and PDF

        Web | PNG (1.0, 2.0, 3.0), SVG, and JPG (bitmap image)

        iOS | PNG (1.0, 2.0, 3.0), and PDF

        Android | PNG (1.0, 1.5, 2.0, 3.0, 4.0), and SVG

        '
      required:
      - display_name
      - contents
      properties:
        layer_source_id:
          type: string
          description: Layer's identifier in the design tool
        display_name:
          type: string
          description: Display name of the asset
        layer_name:
          type: string
          description: Name of the layer containing the asset
        contents:
          type: array
          items:
            $ref: '#/components/schemas/AssetContent'
      example:
        $ref: '#/components/examples/asset'
    ComponentGroup:
      title: Component Group
      type: object
      required:
      - id
      - created
      - name
      properties:
        id:
          type: string
          description: The unique id of the component section
        created:
          type: integer
          format: timestamp
          description: The unix timestamp when the component group was created
        name:
          type: string
          description: The name of the component section
        description:
          type: string
          description: The description of the component section
      example:
        $ref: '#/components/examples/componentGroup'
    Gradient:
      title: Gradient
      type: object
      properties:
        type:
          type: string
          enum:
          - linear
          - radial
          - angular
          description: Type of the gradient
        angle:
          type: number
          description: Angle of the gradient
        scale:
          type: number
          description: Scale of the gradient
        color_stops:
          type: array
          items:
            $ref: '#/components/schemas/ColorStop'
        opacity:
          type: number
          description: Opacity of the gradient
      example:
        $ref: '#/components/examples/gradient'
    HorizontalGrid:
      title: Horizontal Grid
      type: object
      required:
      - gutter_height
      - row_height
      properties:
        gutter_height:
          type: number
        row_height:
          type: number
        number_of_rows:
          type: number
      example:
        $ref: '#/components/examples/horizontalGrid'
    EntityReference:
      title: Object Reference
      type: object
      required:
      - id
      properties:
        id:
          type: string
          description: Id of the entity
      example:
        $ref: '#/components/examples/entityReference'
    ColorData:
      title: Color Data
      type: object
      required:
      - r
      - g
      - b
      - a
      properties:
        source_id:
          type: string
          description: Color's identifier in the design tool
        r:
          type: integer
          description: Red component of the color
        g:
          type: integer
          description: Green component of the color
        b:
          type: integer
          description: Blue component of the color
        a:
          type: number
          description: Alpha component of the color
      example:
        $ref: '#/components/examples/colorData'
    ErrorResponse:
      title: Error Response
      type: object
      required:
      - message
      properties:
        message:
          type: string
          description: A user readable descriptive message for the error
        detail:
          type: string
          description: A detailed message describing the error
        code:
          type: string
          description: The unique code for the error
      example:
        $ref: '#/components/examples/error'
    LinkDestination:
      title: Link Destination
      type: object
      required:
      - name
      - type
      properties:
        name:
          type: string
        type:
          type: string
          enum:
          - component
          - previous
          description: Type of the link (`component` or `previous`)
      example:
        $ref: '#/components/examples/linkDestination'
    ColorStop:
      title: Color Stop
      type: object
      required:
      - color
      - position
      properties:
        color:
          $ref: '#/components/schemas/ColorData'
        position:
          type: number
      example:
        $ref: '#/components/examples/colorStop'
    User:
      title: User
      description: 'Basic info about Zeplin users.


        Zeplin API does not expose any personal information to third-party clients. For this reason, the `email` field is a Zeplin-only alias by default.


        You can get the original email addresses of members of your workspace by using a personal access token created with admin rights. Third-party (OAuth) applications are not allowed to access this information.


        ☝️*Only organization admins (or higher) can retrieve the original email addresses using an admin token.*

        '
      type: object
      required:
      - id
      - email
      - username
      properties:
        id:
          type: string
          description: User's unique id
        email:
          type: string
          description: Zeplin-only alias for the user's email (original)
        username:
          type: string
          description: Username of the user
        emotar:
          type: string
          format: emoji
          description: Emotar of the user
        avatar:
          type: string
          description: Avatar of the user
        last_seen:
          type: number
          description: The unix timestamp when the user was last seen
      example:
        $ref: '#/components/examples/user'
      x-examples:
        User:
          $ref: '#/components/examples/user'
        My User:
          $ref: '#/components/examples/me'
    Link:
      title: Link
      type: object
      required:
      - rect
      - destination
      properties:
        rect:
          $ref: '#/components/schemas/HotspotBoundingRectangle'
          description: Bounding rectangle of the link's hotspot
        destination:
          $ref: '#/components/schemas/LinkDestination'
      example:
        $ref: '#/components/examples/link'
    Grid:
      title: Grid
      type: object
      properties:
        horizontal_offset:
          type: number
        vertical_offset:
          type: number
        vertical:
          $ref: '#/components/schemas/VerticalGrid'
        horizontal:
          $ref: '#/components/schemas/HorizontalGrid'
      example:
        $ref: '#/components/examples/grid'
    AssetContent:
      title: Asset Content
      type: object
      required:
      - url
      - format
      properties:
        url:
          type: string
          description: URL of the asset content
        format:
          type: string
          description: Format of the asset content
          enum:
          - png
          - jpg
          - svg
          - pdf
        density:
          type: number
          description: Density of the asset content
          enum:
          - 1
          - 1.5
          - 2
          - 3
          - 4
      example:
        $ref: '#/components/examples/assetContent'
    ComponentSectionReference:
      title: Component Section Reference
      type: object
      required:
      - id
      properties:
        id:
          type: string
          description: Unique id of the section that contains the component
        group:
          allOf:
          - $ref: '#/components/schemas/EntityReference'
          - description: Unique id of the group that contains the component
      example:
        $ref: '#/components/examples/componentSectionReference'
    BlendModeEnum:
      title: Blend Mode
      type: string
      enum:
      - normal
      - darken
      - multiply
      - color-burn
      - lighten
      - screen
      - color-dodge
      - overlay
      - soft-light
      - hard-light
      - difference
      - exclusion
      - hue
      - saturation
      - color
      - luminosity
      - source-in
      - source-out
      - source-atop
      - destination-over
      - destination-in
      - destination-out
      - destination-atop
      - dissolve
      - linear-burn
      - linear-dodge
      - darker-color
      - lighter-color
      - vivid-light
      - linear-light
      - pin-light
      - hard-mix
      - subtract
      - divide
    LayerBlur:
      title: Layer Blur
      type: object
      description: Blur applied to the layer
      properties:
        type:
          type: string
          enum:
          - gaussian
          - background
          description: Type of the blur
        radius:
          type: number
          description: Radius of the blur
      example:
        $ref: '#/components/examples/layerBlur'
    SnapshotImage:
      title: Snapshot Image
      type: object
      required:
      - width
      - height
      - original_url
      - thumbnails
      properties:
        width:
          type: number
          description: Width of the component image
        height:
          type: number
          description: Height of the component image
        thumbnails:
          $ref: '#/components/schemas/Thumbnails'
        original_url:
          type: string
          description: URL of the original image for the component (from the latest version)
      example:
        $ref: '#/components/examples/snapshotImage'
    ResourceSource:
      title: Resource Source
      type: object
      description: Source details for resource. It has to be either `project` or `styleguide`.
      properties:
        project:
          $ref: '#/components/schemas/ResourceProjectSource'
        styleguide:
          $ref: '#/components/schemas/ResourceStyleguideSource'
      example:
        $ref: '#/components/examples/resourceSourceForProject'
      x-examples:
        Project:
          $ref: '#/components/examples/resourceSourceForProject'
        Styleguide:
          $ref: '#/components/examples/resourceSourceForStyleguide'
    ComponentSectionVariantProperty:
      title: Component Section Variant Property
      type: object
      required:
      - id
      - name
      - values
      properties:
        id:
          type: string
          description: Unique id of the variant property
        name:
          type: string
          description: Name of the variant property (e.g. `“type”`, `“state”`, etc.)
        values:
          type: array
          items:
            type: string
          description: Possible values that the property can take (e.g. `["default", "hover", "pressed"]`)
      example:
        $ref: '#/components/examples/componentSectionVariantProperty'
    ComponentVersion:
      title: Component Version
      type: object
      required:
      - id
      - source
      - width
      - height
      - density_scale
      - links
      - layers
      - assets
      - created
      properties:
        id:
          type: string
          description: The unique id of the version
     

# --- truncated at 32 KB (57 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/zeplin/refs/heads/main/openapi/zeplin-components-api-openapi.yml