@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:mimetype a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "mimetype" ;
    skos:prefLabel "Media type (MIME type)"@en ;
    skos:definition "Two-part identifier of a data format, type/subtype, such as text/html, image/png or application/vnd.ms-excel, defined by RFC 6838 and registered by IANA. Email (MIME), the HTTP Content-Type header, file metadata and data catalogs use it. The top-level type is one of application, audio, example, font, haptics, image, message, model, multipart, text and video; vendor subtypes start with vnd., personal ones with prs., and unregistered ones often with x-. A value may carry parameters after a semicolon, as in text/html; charset=utf-8. Type names are case-insensitive, but the regexp accepts only the usual lowercase top-level type."@en ;
    skos:prefLabel "Тип медиа (MIME-тип)"@ru ;
    skos:definition "Идентификатор формата данных вида тип/подтип, например text/html (RFC 6838)."@ru ;
    skos:altLabel "mime_type" ;
    skos:exactMatch <http://www.wikidata.org/entity/P1163> ;
    skos:exactMatch <https://schema.org/encodingFormat> ;
    skos:example "text/html" ;
    skos:example "image/jpeg" ;
    skos:example "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ;
    skos:example "text/html; charset=utf-8" ;
    mcr:status "stable" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:application|audio|example|font|haptics|image|message|model|multipart|text|video)/[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}(?:[ \\t]*;[ \\t]*[A-Za-z0-9!#$%&'*+.^_`|~-]+=(?:[A-Za-z0-9!#$%&'*+.^_`|~-]+|\"[^\"]*\"))*$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Media_type> ;
    rdfs:seeAlso <https://www.wikidata.org/wiki/Property:P1163> ;
    rdfs:seeAlso <https://www.rfc-editor.org/rfc/rfc6838> ;
    rdfs:seeAlso <https://www.iana.org/assignments/media-types/media-types.xhtml> .
