{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/botnotice-app/json-schema/botnotice-app-voice-policy-schema.json",
  "title": "VoicePolicy",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/botnotice-app-openapi.json#/components/schemas/VoicePolicy",
  "type": "object",
  "properties": {
    "business": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "disclosure": {
      "type": "string",
      "description": "The line to speak at the start of the call"
    },
    "timing": {
      "type": "string",
      "enum": [
        "start"
      ]
    },
    "repeatEveryHours": {
      "type": [
        "integer",
        "null"
      ]
    },
    "askForHuman": {
      "type": "boolean"
    },
    "minorsNotice": {
      "type": "boolean"
    },
    "inProfile": {
      "type": "boolean"
    },
    "laws": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "string"
          },
          "timing": {
            "type": "string"
          },
          "effective": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "policyVersion": {
      "type": [
        "integer",
        "null"
      ]
    }
  }
}