media type (property)

This page documents an OPTIMADE Property Definition. See https://schemas.optimade.org/ for more information.

ID: https://schemas.optimade.org/defs/v1.2/properties/optimade/files/media_type
Definition name: media_type

Property name: media type
Description: Media type identifier (also known as MIME type), for a file as per RFC 6838 Media Type Specifications and Registration Procedures.
Type: string

Examples:

Formats: [JSON] [MD]

JSON definition:

{
    "$id": "https://schemas.optimade.org/defs/v1.2/properties/optimade/files/media_type",
    "$schema": "https://schemas.optimade.org/meta/v1.2/optimade/property_definition.json",
    "title": "media type",
    "x-optimade-type": "string",
    "x-optimade-definition": {
        "label": "media_type_optimade_files",
        "kind": "property",
        "version": "1.2.0",
        "format": "1.2",
        "name": "media_type"
    },
    "type": [
        "string",
        "null"
    ],
    "description": "Media type identifier (also known as MIME type), for a file as per [RFC 6838 Media Type Specifications and Registration Procedures](https://datatracker.ietf.org/doc/html/rfc6838).",
    "examples": [
        "chemical/x-cif"
    ],
    "x-optimade-unit": "inapplicable"
}