# Schema: FileLinkOriginDataModel
---
type: object
required:
  - id
  - name
properties:
  id:
    type: string
    description: Linked file's id on the origin
  name:
    type: string
    description: Linked file's name on the origin
  mimeType:
    type: string
    minLength: 0
    description: |-
      MIME type of the linked file.

      To link a folder entity, the custom MIME type `application/x-op-directory` MUST be provided. Otherwise it defaults back to
      an unknown MIME type.
  size:
    type: integer
    minimum: 0
    description: file size on origin in bytes
  createdAt:
    type: string
    format: date-time
    description: Timestamp of the creation datetime of the file on the origin
  lastModifiedAt:
    type: string
    format: date-time
    description: Timestamp of the datetime of the last modification of the file on the origin
  createdByName:
    type: string
    description: Display name of the author that created the file on the origin
  lastModifiedByName:
    type: string
    description: Display name of the author that modified the file on the origin last
