{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Configuration for a piece of audio content, over a stream.",
    "id": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.5/utils/audio_stream.json",
    "properties": {
        "audio_codec": {
            "description": "The codec used to encode the audio stream. (E.g. mpeg)",
            "title": "Audio Codec",
            "type": "string"
        },
        "bitrate": {
            "description": "The bitrate of the audio in kilobytes per second.",
            "title": "Bitrate",
            "type": "number"
        },
        "filesize": {
            "description": "The size of the audio file in bytes.",
            "title": "File size",
            "type": "number"
        },
        "stream_type": {
            "description": "The type of audio (e.g. mp3).",
            "title": "Audio Stream Type",
            "type": "string"
        },
        "url": {
            "_format": "uri",
            "description": "The file location of the stream.",
            "title": "URL",
            "type": "string"
        }
    },
    "required": [
        "url"
    ],
    "title": "A stream of audio.",
    "type": "object"
}