@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:data_uri a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "data_uri" ;
    skos:prefLabel "Data URI (data: URL)"@en ;
    skos:definition "URI of the data: scheme that carries a small file inline instead of pointing to it (RFC 2397): data:, an optional media type with parameters, an optional ;base64 flag, a comma and the data, percent-encoded or in Base64. HTML and CSS use it to embed images and fonts. Without a media type the data is text/plain;charset=US-ASCII. Browsers parse it as the WHATWG Fetch Standard describes, which is more lenient than RFC 2397."@en ;
    skos:prefLabel "Data URI"@ru ;
    skos:definition "URI схемы data:, который содержит небольшой файл прямо в адресе, например изображение в Base64 (RFC 2397)."@ru ;
    skos:broader dt:uri ;
    skos:example "data:,A%20brief%20note" ;
    skos:example "data:text/plain;base64,SGVsbG8sIFdvcmxkIQ==" ;
    skos:example "data:application/vnd-xxx-query,select_vcount,fcol_from_fieldtable/local" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:regexp "^data:(?:[A-Za-z0-9!#$&^_.+-]+/[A-Za-z0-9!#$&^_.+-]+)?(?:;[A-Za-z0-9!#$&^_.+-]+=[^;,\\s]+)*(?:;base64)?,\\S*$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Data_URI_scheme> ;
    rdfs:seeAlso <https://www.rfc-editor.org/rfc/rfc2397> ;
    rdfs:seeAlso <https://fetch.spec.whatwg.org/#data-urls> .
