"Fossies" - the Fresh Open Source Software Archive

Member "mkvtoolnix-40.0.0/doc/json-schema/mkvmerge-identification-output-schema-v3.json" (9 Nov 2019, 10303 Bytes) of package /linux/misc/mkvtoolnix-40.0.0.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2   "$schema": "http://json-schema.org/draft-04/schema#",
    3   "id": "https://mkvtoolnix.download/doc/mkvmerge-identification-output-schema-v3.json",
    4   "title": "mkvmerge identification output",
    5   "description": "The JSON output produced by mkvmerge's file identification mode",
    6   "type": "object",
    7   "properties": {
    8     "attachments": {
    9       "description": "an array describing the attachments found if any",
   10       "type": "array",
   11       "items": {
   12         "type": "object",
   13         "properties": {
   14           "content_type": {
   15             "type": "string",
   16             "minLength": 1
   17           },
   18           "description": {
   19             "type": "string"
   20           },
   21           "file_name": {
   22             "type": "string"
   23           },
   24           "id": {
   25             "type": "integer",
   26             "minimum": 0
   27           },
   28           "size": {
   29             "type": "integer",
   30             "minimum": 0
   31           },
   32           "properties": {
   33             "type": "object",
   34             "properties": {
   35               "uid": {
   36                 "type": "integer",
   37                 "minimum": 0
   38               }
   39             },
   40             "additionalProperties": false
   41           },
   42           "type": {
   43             "type": "string"
   44           }
   45         },
   46         "additionalProperties": false,
   47         "required": [
   48           "file_name",
   49           "id",
   50           "properties",
   51           "size"
   52         ]
   53       }
   54     },
   55     "chapters": {
   56       "type": "array",
   57       "items": {
   58         "type": "object",
   59         "properties": {
   60           "num_entries": {
   61             "type": "integer"
   62           }
   63         },
   64         "additionalProperties": false,
   65         "required": [
   66           "num_entries"
   67         ]
   68       }
   69     },
   70     "container": {
   71       "description": "information about the identified container",
   72       "type": "object",
   73       "properties": {
   74         "properties": {
   75           "description": "additional properties for the container varying by container format",
   76           "type": "object",
   77           "properties": {
   78             "container_type": {
   79               "description": "A unique number identifying the container type that's supposed to stay constant over all future releases of MKVToolNix",
   80               "type": "integer",
   81               "minLength": 1
   82             },
   83             "duration": {
   84               "description": "The file's/segment's duration in nanoseconds",
   85               "type": "integer",
   86               "minimum": 0
   87             },
   88             "is_providing_timecodes": {
   89               "description": "States whether or not the container has timestamps for the packets (e.g. Matroska, MP4) or not (e.g. SRT, MP3)",
   90               "type": "boolean"
   91             },
   92             "segment_uid": {
   93               "description": "A hexadecimal string of the segment's UID (only for Matroska files)",
   94               "type": "string",
   95               "minLength": 32,
   96               "maxLength": 32
   97             },
   98             "next_segment_uid": {
   99               "description": "A hexadecimal string of the next segment's UID (only for Matroska files)",
  100               "type": "string",
  101               "minLength": 32,
  102               "maxLength": 32
  103             },
  104             "previous_segment_uid": {
  105               "description": "A hexadecimal string of the previous segment's UID (only for Matroska files)",
  106               "type": "string",
  107               "minLength": 32,
  108               "maxLength": 32
  109             },
  110             "other_file": {
  111               "description": "An array of names of additional files processed as well",
  112               "type": "array",
  113               "items": {
  114                 "type": "string"
  115               }
  116             },
  117             "playlist": {
  118               "description": "States whether or not the identified file is a playlist (e.g. MPLS) referring to several other files",
  119               "type": "boolean"
  120             },
  121             "playlist_chapters": {
  122               "description": "The number of chapters in a playlist if it is a one",
  123               "type": "integer",
  124               "minimum": 0
  125             },
  126             "playlist_duration": {
  127               "description": "The total duration in nanoseconds of all files referenced by the playlist if it is a one",
  128               "type": "integer",
  129               "minimum": 0
  130             },
  131             "playlist_file": {
  132               "description": "An array of file names the playlist contains",
  133               "type": "array",
  134               "items": {
  135                 "type": "string"
  136               }
  137             },
  138             "playlist_size": {
  139               "description": "The total size in bytes of all files referenced by the playlist if it is a one",
  140               "type": "integer",
  141               "minimum": 0
  142             },
  143             "title": {
  144               "type": "string"
  145             }
  146           },
  147           "additionalProperties": false
  148         },
  149         "recognized": {
  150           "description": "States whether or not mkvmerge knows about the format",
  151           "type": "boolean"
  152         },
  153         "supported": {
  154           "description": "States whether or not mkvmerge can read the format",
  155           "type": "boolean"
  156         },
  157         "type": {
  158           "description": "A human-readable description/name for the container format",
  159           "type": "string",
  160           "minLength": 1
  161         }
  162       },
  163       "additionalProperties": false,
  164       "required": [
  165         "recognized",
  166         "supported"
  167       ]
  168     },
  169     "errors": {
  170       "type": "array",
  171       "items": {
  172         "type": "string"
  173       }
  174     },
  175     "file_name": {
  176       "description": "the identified file's name",
  177       "type": "string",
  178       "minLength": 1
  179     },
  180     "global_tags": {
  181       "type": "array",
  182       "items": {
  183         "type": "object",
  184         "properties": {
  185           "num_entries": {
  186             "type": "integer"
  187           }
  188         },
  189         "additionalProperties": false,
  190         "required": [
  191           "num_entries"
  192         ]
  193       }
  194     },
  195     "identification_format_version": {
  196       "description": "The output format's version",
  197       "type": "integer",
  198       "minimum": 3,
  199       "maximum": 3
  200     },
  201     "track_tags": {
  202       "type": "array",
  203       "items": {
  204         "type": "object",
  205         "properties": {
  206           "num_entries": {
  207             "type": "integer"
  208           },
  209           "track_id": {
  210             "type": "integer"
  211           }
  212         },
  213         "additionalProperties": false,
  214         "required": [
  215           "num_entries",
  216           "track_id"
  217         ]
  218       }
  219     },
  220     "tracks": {
  221       "type": "array",
  222       "items": {
  223         "type": "object",
  224         "properties": {
  225           "codec": {
  226             "type": "string",
  227             "minLength": 1
  228           },
  229           "id": {
  230             "type": "integer",
  231             "minLength": 0
  232           },
  233           "type": {
  234             "type": "string"
  235           },
  236           "properties": {
  237             "type": "object",
  238             "properties": {
  239               "aac_is_sbr": {
  240                 "type": "string",
  241                 "enum": [
  242                   "true",
  243                   "false",
  244                   "unknown"
  245                 ]
  246               },
  247               "audio_bits_per_sample": {
  248                 "type": "integer",
  249                 "minimum": 0
  250               },
  251               "audio_channels": {
  252                 "type": "integer",
  253                 "minimum": 0
  254               },
  255               "audio_sampling_frequency": {
  256                 "type": "integer",
  257                 "minimum": 0
  258               },
  259               "codec_id": {
  260                 "type": "string"
  261               },
  262               "codec_private_data": {
  263                 "type": "string"
  264               },
  265               "codec_private_length": {
  266                 "type": "integer",
  267                 "minimum": 0
  268               },
  269               "content_encoding_algorithms": {
  270                 "type": "string",
  271                 "minLength": 1
  272               },
  273               "default_duration": {
  274                 "type": "integer",
  275                 "minimum": 0
  276               },
  277               "default_track": {
  278                 "type": "boolean"
  279               },
  280               "display_dimensions": {
  281                 "type": "string",
  282                 "pattern": "^[0-9]+x[0-9]+$"
  283               },
  284               "enabled_track": {
  285                 "type": "boolean"
  286               },
  287               "forced_track": {
  288                 "type": "boolean"
  289               },
  290               "language": {
  291                 "type": "string"
  292               },
  293               "number": {
  294                 "type": "integer",
  295                 "minimum": 0
  296               },
  297               "packetizer": {
  298                 "type": "string",
  299                 "minLength": 1
  300               },
  301               "pixel_dimensions": {
  302                 "type": "string",
  303                 "pattern": "^[0-9]+x[0-9]+$"
  304               },
  305               "stereo_mode": {
  306                 "type": "integer",
  307                 "minimum": 0
  308               },
  309               "stream_id": {
  310                 "type": "string",
  311                 "pattern": "^[0-9a-f]{2}$"
  312               },
  313               "sub_stream_id": {
  314                 "type": "string",
  315                 "pattern": "^[0-9a-f]{2}$"
  316               },
  317               "tag_artist": {
  318                 "type": "string"
  319               },
  320               "tag_bitsps": {
  321                 "type": "string"
  322               },
  323               "tag_bps": {
  324                 "type": "string"
  325               },
  326               "tag_fps": {
  327                 "type": "string"
  328               },
  329               "tag_title": {
  330                 "type": "string"
  331               },
  332               "text_subtitles": {
  333                 "type": "boolean"
  334               },
  335               "track_name": {
  336                 "type": "string"
  337               },
  338               "ts_pid": {
  339                 "type": "integer",
  340                 "minimum": 0
  341               },
  342               "uid": {
  343                 "type": "integer",
  344                 "minimum": 0
  345               }
  346             },
  347             "additionalProperties": false
  348           }
  349         },
  350         "additionalProperties": false,
  351         "required": [
  352           "codec",
  353           "id",
  354           "type"
  355         ]
  356       }
  357     },
  358     "warnings": {
  359       "type": "array",
  360       "items": {
  361         "type": "string"
  362       }
  363     }
  364   }
  365 }