Skip to content

Class: MediaFile

Metadata information pertaining to a particular media resource associated with this product. Contains information about its disposition, content, and processing state. Each individual file is uniquely identified by its MEDIA_FILE_ID value.

URI: brc:MediaFile

classDiagram class MediaFile click MediaFile href "../MediaFile" MediaFile : added_by_user_id MediaFile : checksum MediaFile : date_file_added MediaFile : date_file_updated MediaFile : document_page_count MediaFile : duration_seconds MediaFile : file_size_bytes MediaFile : media_file_id MediaFile : media_id MediaFile : media_source MediaFile : media_type MediaFile : mime_type MediaFile : parent_media_file_id MediaFile : pdf_version MediaFile : pdfa_conformance MediaFile : pdfa_part MediaFile : pdfua_part MediaFile : processing_exceptions MediaFile : revision MediaFile : status MediaFile : subtitle_tracks MediaFile : url MediaFile : url_type MediaFile --> "0..1" MediaLocationEnum : url_type click MediaLocationEnum href "../MediaLocationEnum" MediaFile : video_tracks

Slots

Name Cardinality and Range Description Inheritance
media_file_id 0..1
Integer
Unique identifier for a given MEDIA FILE direct
media_id 0..1
Integer
Link to parent MEDIA SET ID direct
checksum 0..1
String
Calculated hash or checksum value of the physical file as applicable, from me... direct
revision 0..1
Integer
Revision number of this media file, associated with the MEDIA SET direct
parent_media_file_id 0..1
Integer
If non-zero, indicates unique MEDIA FILE ID this MEDIA FILE is derived from direct
status 0..1
String
Indiciates current processing status for this MEDIA FILE direct
media_type 0..1
String
Indicates TYPE of media file, detected or set during media processing direct
url_type 0..1
MediaLocationEnum
Indicates if the file is LOCALLY HOSTED ('L') or OFF-SITE URL ('O') direct
url 0..1
String
Either the file name for local files, or URL path to off-site resource direct
mime_type 0..1
String
Mime type describing the MEDIA FILE content direct
added_by_user_id 0..1
Integer
Indicates the E-Link USER ID that attached this MEDIA FILE direct
media_source 0..1
String
Describes method of file production or association with this media set direct
file_size_bytes 0..1
Integer
If local file, the file size in bytes direct
duration_seconds 0..1
Integer
For audio-visual media, the duration of the resource in seconds direct
document_page_count 0..1
Integer
For document-based media, the number of printed pages if applicable direct
subtitle_tracks 0..1
Integer
Indicates the number of subtitle tracks for audio-visual media direct
video_tracks 0..1
Integer
Indicates the number of video tracks in audio-visual media direct
pdf_version 0..1
String
For PDF media files, indicates the version of PDF direct
pdfa_conformance 0..1
String
For PDF media that is PDF/A compliant, the conformance level, generally A, B,... direct
pdfa_part 0..1
String
For PDF media that is PDF/A compliant, the level of compliance, as a value be... direct
pdfua_part 0..1
String
For PDF media that is PDF/UA compliant, its compliance level, generally 1 or ... direct
processing_exceptions 0..1
String
If present, the reason why media processing failed, or description of problem... direct
date_file_added 0..1
Datetime
Indicates the date and time this media file was created direct
date_file_updated 0..1
Datetime
Indicates the last date and time this media file was modified direct

Usages

used by used in type used
MediaSet files range MediaFile

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/brc/brc_schema

Mappings

Mapping Type Mapped Value
self brc:MediaFile
native brc:MediaFile

LinkML Source

Direct

name: MediaFile
description: Metadata information pertaining to a particular media resource associated
  with this product.  Contains information about its disposition, content, and processing
  state.  Each individual file is uniquely identified by its `MEDIA_FILE_ID` value.
from_schema: https://w3id.org/brc/brc_schema
attributes:
  media_file_id:
    name: media_file_id
    description: Unique identifier for a given MEDIA FILE.
    examples:
    - value: '983445'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: integer
  media_id:
    name: media_id
    description: Link to parent MEDIA SET ID.
    examples:
    - value: '233743'
    from_schema: https://w3id.org/brc/osti_schema
    domain_of:
    - MediaSet
    - MediaFile
    range: integer
  checksum:
    name: checksum
    description: Calculated hash or checksum value of the physical file as applicable,
      from media processing.
    examples:
    - value: 85a88fc60dab52214508631f3dd93f1ada3e6e8cd00d09a58608054d8e5ded38
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: string
  revision:
    name: revision
    description: Revision number of this media file, associated with the MEDIA SET
    examples:
    - value: '1'
    from_schema: https://w3id.org/brc/osti_schema
    domain_of:
    - Record
    - MediaSet
    - MediaFile
    range: integer
  parent_media_file_id:
    name: parent_media_file_id
    description: If non-zero, indicates unique MEDIA FILE ID this MEDIA FILE is derived
      from.
    examples:
    - value: '0'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: integer
  status:
    name: status
    description: Indiciates current processing status for this MEDIA FILE. Other values
      may indicate awaiting additional processing, such as 'OCR', pending text processing.
    examples:
    - value: DONE
    from_schema: https://w3id.org/brc/osti_schema
    domain_of:
    - AuditLog
    - MediaSet
    - MediaFile
    range: string
  media_type:
    name: media_type
    description: Indicates TYPE of media file, detected or set during media processing.
    examples:
    - value: T
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: string
    pattern: ^.{0,1}$
  url_type:
    name: url_type
    description: Indicates if the file is LOCALLY HOSTED ('L') or OFF-SITE URL ('O').
    examples:
    - value: L
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: MediaLocationEnum
    pattern: ^.{0,1}$
  url:
    name: url
    description: Either the file name for local files, or URL path to off-site resource.
    examples:
    - value: report.pdf
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: string
    pattern: ^.{0,255}$
  mime_type:
    name: mime_type
    description: Mime type describing the MEDIA FILE content.
    examples:
    - value: application/pdf
    from_schema: https://w3id.org/brc/osti_schema
    domain_of:
    - MediaSet
    - MediaFile
    range: string
  added_by_user_id:
    name: added_by_user_id
    description: Indicates the E-Link USER ID that attached this MEDIA FILE.
    examples:
    - value: '118678'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: integer
  media_source:
    name: media_source
    description: Describes method of file production or association with this media
      set.
    examples:
    - value: TEXT_FILE_EXTRACTION
    from_schema: https://w3id.org/brc/osti_schema
    domain_of:
    - MediaSet
    - MediaFile
    range: string
  file_size_bytes:
    name: file_size_bytes
    description: If local file, the file size in bytes.
    examples:
    - value: '993834'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: integer
  duration_seconds:
    name: duration_seconds
    description: For audio-visual media, the duration of the resource in seconds.
    examples:
    - value: '77'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: integer
  document_page_count:
    name: document_page_count
    description: For document-based media, the number of printed pages if applicable.
    examples:
    - value: '22'
    from_schema: https://w3id.org/brc/osti_schema
    domain_of:
    - MediaSet
    - MediaFile
    range: integer
  subtitle_tracks:
    name: subtitle_tracks
    description: Indicates the number of subtitle tracks for audio-visual media.
    examples:
    - value: '2'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: integer
  video_tracks:
    name: video_tracks
    description: Indicates the number of video tracks in audio-visual media.
    examples:
    - value: '1'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: integer
  pdf_version:
    name: pdf_version
    description: For PDF media files, indicates the version of PDF.
    examples:
    - value: '1.5'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: string
  pdfa_conformance:
    name: pdfa_conformance
    description: For PDF media that is PDF/A compliant, the conformance level, generally
      A, B, or U.
    examples:
    - value: A
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: string
  pdfa_part:
    name: pdfa_part
    description: For PDF media that is PDF/A compliant, the level of compliance, as
      a value between 1 and 4.
    examples:
    - value: '1'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: string
  pdfua_part:
    name: pdfua_part
    description: For PDF media that is PDF/UA compliant, its compliance level, generally
      1 or 2.
    examples:
    - value: '2'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: string
  processing_exceptions:
    name: processing_exceptions
    description: If present, the reason why media processing failed, or description
      of problem encountered processing this particular file.
    examples:
    - value: Source PDF file is encrypted.
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: string
  date_file_added:
    name: date_file_added
    description: Indicates the date and time this media file was created.
    examples:
    - value: '2012-08-33T15:33:22.504+00:00'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: datetime
  date_file_updated:
    name: date_file_updated
    description: Indicates the last date and time this media file was modified.
    examples:
    - value: '2013-04-22T18:33:28.234+00:00'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    domain_of:
    - MediaFile
    range: datetime

Induced

name: MediaFile
description: Metadata information pertaining to a particular media resource associated
  with this product.  Contains information about its disposition, content, and processing
  state.  Each individual file is uniquely identified by its `MEDIA_FILE_ID` value.
from_schema: https://w3id.org/brc/brc_schema
attributes:
  media_file_id:
    name: media_file_id
    description: Unique identifier for a given MEDIA FILE.
    examples:
    - value: '983445'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: media_file_id
    owner: MediaFile
    domain_of:
    - MediaFile
    range: integer
  media_id:
    name: media_id
    description: Link to parent MEDIA SET ID.
    examples:
    - value: '233743'
    from_schema: https://w3id.org/brc/osti_schema
    alias: media_id
    owner: MediaFile
    domain_of:
    - MediaSet
    - MediaFile
    range: integer
  checksum:
    name: checksum
    description: Calculated hash or checksum value of the physical file as applicable,
      from media processing.
    examples:
    - value: 85a88fc60dab52214508631f3dd93f1ada3e6e8cd00d09a58608054d8e5ded38
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: checksum
    owner: MediaFile
    domain_of:
    - MediaFile
    range: string
  revision:
    name: revision
    description: Revision number of this media file, associated with the MEDIA SET
    examples:
    - value: '1'
    from_schema: https://w3id.org/brc/osti_schema
    alias: revision
    owner: MediaFile
    domain_of:
    - Record
    - MediaSet
    - MediaFile
    range: integer
  parent_media_file_id:
    name: parent_media_file_id
    description: If non-zero, indicates unique MEDIA FILE ID this MEDIA FILE is derived
      from.
    examples:
    - value: '0'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: parent_media_file_id
    owner: MediaFile
    domain_of:
    - MediaFile
    range: integer
  status:
    name: status
    description: Indiciates current processing status for this MEDIA FILE. Other values
      may indicate awaiting additional processing, such as 'OCR', pending text processing.
    examples:
    - value: DONE
    from_schema: https://w3id.org/brc/osti_schema
    alias: status
    owner: MediaFile
    domain_of:
    - AuditLog
    - MediaSet
    - MediaFile
    range: string
  media_type:
    name: media_type
    description: Indicates TYPE of media file, detected or set during media processing.
    examples:
    - value: T
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: media_type
    owner: MediaFile
    domain_of:
    - MediaFile
    range: string
    pattern: ^.{0,1}$
  url_type:
    name: url_type
    description: Indicates if the file is LOCALLY HOSTED ('L') or OFF-SITE URL ('O').
    examples:
    - value: L
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: url_type
    owner: MediaFile
    domain_of:
    - MediaFile
    range: MediaLocationEnum
    pattern: ^.{0,1}$
  url:
    name: url
    description: Either the file name for local files, or URL path to off-site resource.
    examples:
    - value: report.pdf
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: url
    owner: MediaFile
    domain_of:
    - MediaFile
    range: string
    pattern: ^.{0,255}$
  mime_type:
    name: mime_type
    description: Mime type describing the MEDIA FILE content.
    examples:
    - value: application/pdf
    from_schema: https://w3id.org/brc/osti_schema
    alias: mime_type
    owner: MediaFile
    domain_of:
    - MediaSet
    - MediaFile
    range: string
  added_by_user_id:
    name: added_by_user_id
    description: Indicates the E-Link USER ID that attached this MEDIA FILE.
    examples:
    - value: '118678'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: added_by_user_id
    owner: MediaFile
    domain_of:
    - MediaFile
    range: integer
  media_source:
    name: media_source
    description: Describes method of file production or association with this media
      set.
    examples:
    - value: TEXT_FILE_EXTRACTION
    from_schema: https://w3id.org/brc/osti_schema
    alias: media_source
    owner: MediaFile
    domain_of:
    - MediaSet
    - MediaFile
    range: string
  file_size_bytes:
    name: file_size_bytes
    description: If local file, the file size in bytes.
    examples:
    - value: '993834'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: file_size_bytes
    owner: MediaFile
    domain_of:
    - MediaFile
    range: integer
  duration_seconds:
    name: duration_seconds
    description: For audio-visual media, the duration of the resource in seconds.
    examples:
    - value: '77'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: duration_seconds
    owner: MediaFile
    domain_of:
    - MediaFile
    range: integer
  document_page_count:
    name: document_page_count
    description: For document-based media, the number of printed pages if applicable.
    examples:
    - value: '22'
    from_schema: https://w3id.org/brc/osti_schema
    alias: document_page_count
    owner: MediaFile
    domain_of:
    - MediaSet
    - MediaFile
    range: integer
  subtitle_tracks:
    name: subtitle_tracks
    description: Indicates the number of subtitle tracks for audio-visual media.
    examples:
    - value: '2'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: subtitle_tracks
    owner: MediaFile
    domain_of:
    - MediaFile
    range: integer
  video_tracks:
    name: video_tracks
    description: Indicates the number of video tracks in audio-visual media.
    examples:
    - value: '1'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: video_tracks
    owner: MediaFile
    domain_of:
    - MediaFile
    range: integer
  pdf_version:
    name: pdf_version
    description: For PDF media files, indicates the version of PDF.
    examples:
    - value: '1.5'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: pdf_version
    owner: MediaFile
    domain_of:
    - MediaFile
    range: string
  pdfa_conformance:
    name: pdfa_conformance
    description: For PDF media that is PDF/A compliant, the conformance level, generally
      A, B, or U.
    examples:
    - value: A
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: pdfa_conformance
    owner: MediaFile
    domain_of:
    - MediaFile
    range: string
  pdfa_part:
    name: pdfa_part
    description: For PDF media that is PDF/A compliant, the level of compliance, as
      a value between 1 and 4.
    examples:
    - value: '1'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: pdfa_part
    owner: MediaFile
    domain_of:
    - MediaFile
    range: string
  pdfua_part:
    name: pdfua_part
    description: For PDF media that is PDF/UA compliant, its compliance level, generally
      1 or 2.
    examples:
    - value: '2'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: pdfua_part
    owner: MediaFile
    domain_of:
    - MediaFile
    range: string
  processing_exceptions:
    name: processing_exceptions
    description: If present, the reason why media processing failed, or description
      of problem encountered processing this particular file.
    examples:
    - value: Source PDF file is encrypted.
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: processing_exceptions
    owner: MediaFile
    domain_of:
    - MediaFile
    range: string
  date_file_added:
    name: date_file_added
    description: Indicates the date and time this media file was created.
    examples:
    - value: '2012-08-33T15:33:22.504+00:00'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: date_file_added
    owner: MediaFile
    domain_of:
    - MediaFile
    range: datetime
  date_file_updated:
    name: date_file_updated
    description: Indicates the last date and time this media file was modified.
    examples:
    - value: '2013-04-22T18:33:28.234+00:00'
    from_schema: https://w3id.org/brc/osti_schema
    rank: 1000
    alias: date_file_updated
    owner: MediaFile
    domain_of:
    - MediaFile
    range: datetime