{
  "description": "This file is auto-generated by scripts/prep. Do not edit manually.",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "$schema": { "type": "string" },
    "data": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "bibleAudioId": { "type": "string" },
          "audioSource": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "enum": ["dbl", "youVersion", "bibleBrain", "custom"]
                },
                "sourceId": { "type": "string" },
                "scope": {
                  "type": "string",
                  "enum": ["all", "OT", "NT"],
                  "description": "The scope of chapters this audio source covers. 'all' means the source covers the entire bible. 'OT' or 'NT' means it only covers that testament. Use multiple entries with different scopes when a bible has separate audio recordings for OT and NT."
                }
              },
              "required": ["source", "scope"],
              "additionalProperties": false
            },
            "description": "Audio source(s) for this bible. Most bibles have a single source with scope \"all\". Bibles with separate OT/NT recordings have two entries with scope \"OT\" and \"NT\"."
          },
          "canDownload": {
            "type": "boolean",
            "description": "Whether or not the audio can be downloaded for offline use on the web. Most likely false, unless the translation is creative commons."
          },
          "copyright": {
            "type": "string",
            "description": "Any copyright attribution text required to be added to the app for this translation for legal purposes."
          },
          "disableStar": {
            "type": "boolean",
            "description": "Star refers to adding a <star> string before the first line passed to mms forced alignment. Disabling it means that there is not any content read out before the start of verse 1. Most translations read out names of chapters or section headings, which is why adding <star> is the default behavior."
          }
        },
        "required": ["bibleAudioId", "audioSource", "canDownload"],
        "additionalProperties": false
      }
    }
  },
  "required": ["$schema", "data"]
}
