{
    "$id": "http://soundon.api/episode",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
        "title",
        "artistName",
        "description",
        "podcastId",
        "coverImage",
        "audioShortVersion",
        "audioFullVersion",
        "publishDate",
        "publishState"
    ],
    "properties": {
        "title": {
            "type": "string"
        },
        "artistName": {
            "type": "string"
        },
        "description": {
            "type": "string"
        },
        "podcastId": {
            "type": "string"
        },
        "coverImage": {
            "type": "string"
        },
        "audioShortVersion": {
            "type": "string"
        },
        "audioFullVersion": {
            "type": "string"
        },
        "publishDate": {
            "type": "number"
        },
        "publishState": {
            "type": "boolean"
        },
        "itunesAuthor": {
            "type": "string"
        },
        "itunesTitle": {
            "type": "string"
        },
        "itunesDuration": {
            "type": "number"
        },
        "itunesEpisode": {
            "type": "number"
        },
        "itunesEpisodeType": {
            "type": "string",
            "enum": ["Full", "Trailer", "Bonus"]
        },
        "itunesExplicit": {
            "type": "boolean"
        },
        "itunesSeason": {
            "type": "number"
        },
        "itunesSubtitle": {
            "type": "string"
        },
        "itunesSummary": {
            "type": "string"
        },
        "importStatus": {
            "type": "string",
            "enum": ["init", "processing", "done", "none"]
        },
        "importFailedReason": {
            "type": "string"
        },
        "guid": {
            "type": "string"
        }
    }
}
