Skip to content

Class: SupportingMedia

Supporting media data for a description such as markdown, diagrams, etc. Similar to RFC 2397, each media object has a media type, data value, and an optional base64 flag.

URI: cve:SupportingMedia

 classDiagram
    class SupportingMedia
    click SupportingMedia href "../SupportingMedia/"
      SupportingMedia : base64_encoded

      SupportingMedia : media_type

      SupportingMedia : media_value

Slots

Name Cardinality and Range Description Inheritance
media_type 1
String
RFC2046 compliant IANA Media type (e direct
base64_encoded 0..1
Boolean
If true, the media_value field contains the media data encoded in base64 direct
media_value 1
String
Supporting media content, up to 16K characters direct

Usages

used by used in type used
MultiLangDescription supporting_media range SupportingMedia

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self cve:SupportingMedia
native cve:SupportingMedia

LinkML Source

Direct

name: SupportingMedia
description: Supporting media data for a description such as markdown, diagrams, etc.
  Similar to RFC 2397, each media object has a media type, data value, and an optional
  base64 flag.
from_schema: https://w3id.org/lmodel/cve
slots:
- media_type
- base64_encoded
- media_value
slot_usage:
  media_type:
    name: media_type
    required: true
  media_value:
    name: media_value
    required: true

Induced

name: SupportingMedia
description: Supporting media data for a description such as markdown, diagrams, etc.
  Similar to RFC 2397, each media object has a media type, data value, and an optional
  base64 flag.
from_schema: https://w3id.org/lmodel/cve
slot_usage:
  media_type:
    name: media_type
    required: true
  media_value:
    name: media_value
    required: true
attributes:
  media_type:
    name: media_type
    description: RFC2046 compliant IANA Media type (e.g., text/markdown, text/html,
      image/png, image/svg, audio/mp3).
    from_schema: https://w3id.org/lmodel/cve
    aliases:
    - type
    rank: 1000
    alias: media_type
    owner: SupportingMedia
    domain_of:
    - SupportingMedia
    range: string
    required: true
  base64_encoded:
    name: base64_encoded
    description: If true, the media_value field contains the media data encoded in
      base64. If false, the media_value field contains UTF-8 media content.
    from_schema: https://w3id.org/lmodel/cve
    aliases:
    - base64
    rank: 1000
    ifabsent: 'False'
    alias: base64_encoded
    owner: SupportingMedia
    domain_of:
    - SupportingMedia
    range: boolean
  media_value:
    name: media_value
    description: Supporting media content, up to 16K characters. If base64_encoded
      is true, this stores base64 encoded data.
    from_schema: https://w3id.org/lmodel/cve
    aliases:
    - value
    rank: 1000
    alias: media_value
    owner: SupportingMedia
    domain_of:
    - SupportingMedia
    range: string
    required: true