{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smstunnel-io/json-schema/smstunnel-io-verify-service-schema.json",
  "title": "VerifyService",
  "description": "Twilio's Service resource. Everything SMSTunnel does not have is off or `null`.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smstunnel-io-openapi.json#/components/schemas/VerifyService",
  "type": "object",
  "required": [
    "sid",
    "account_sid",
    "friendly_name",
    "code_length",
    "lookup_enabled",
    "psd2_enabled",
    "skip_sms_to_landlines",
    "dtmf_input_required",
    "tts_name",
    "do_not_share_warning_enabled",
    "custom_code_enabled",
    "push",
    "totp",
    "whatsapp",
    "passkeys",
    "default_template_sid",
    "verify_event_subscription_enabled",
    "date_created",
    "date_updated",
    "url",
    "links"
  ],
  "properties": {
    "sid": {
      "type": "string",
      "pattern": "^VA[0-9a-f]{32}$"
    },
    "account_sid": {
      "type": "string",
      "description": "The Basic user name when it is an Account SID (`AC` + 32 hex); otherwise a stable `AC…` value for your account."
    },
    "friendly_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "`null` for a Service made on first use."
    },
    "code_length": {
      "type": "integer",
      "minimum": 4,
      "maximum": 10
    },
    "lookup_enabled": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "psd2_enabled": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "skip_sms_to_landlines": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "dtmf_input_required": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "tts_name": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        null
      ]
    },
    "do_not_share_warning_enabled": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "custom_code_enabled": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "push": {
      "type": "object",
      "required": [
        "include_date",
        "apn_credential_sid",
        "fcm_credential_sid"
      ],
      "properties": {
        "include_date": {
          "type": "boolean",
          "enum": [
            false
          ]
        },
        "apn_credential_sid": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        },
        "fcm_credential_sid": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        }
      }
    },
    "totp": {
      "type": "object",
      "required": [
        "issuer",
        "time_step",
        "code_length",
        "skew"
      ],
      "properties": {
        "issuer": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        },
        "time_step": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        },
        "code_length": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        },
        "skew": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        }
      }
    },
    "whatsapp": {
      "type": "object",
      "required": [
        "msg_service_sid",
        "from"
      ],
      "properties": {
        "msg_service_sid": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        },
        "from": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        }
      }
    },
    "passkeys": {
      "type": "object",
      "required": [
        "relying_party",
        "authenticator_attachment",
        "discoverable_credentials",
        "user_verification"
      ],
      "properties": {
        "relying_party": {
          "type": "object",
          "required": [
            "id",
            "name",
            "origins"
          ],
          "properties": {
            "id": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                null
              ]
            },
            "name": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                null
              ]
            },
            "origins": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                null
              ]
            }
          }
        },
        "authenticator_attachment": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        },
        "discoverable_credentials": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        },
        "user_verification": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        }
      }
    },
    "default_template_sid": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        null
      ]
    },
    "verify_event_subscription_enabled": {
      "type": "boolean",
      "enum": [
        false
      ]
    },
    "date_created": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
    },
    "date_updated": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "links": {
      "type": "object",
      "required": [
        "verification_checks",
        "verifications",
        "rate_limits",
        "messaging_configurations",
        "entities",
        "webhooks",
        "access_tokens"
      ],
      "properties": {
        "verification_checks": {
          "type": "string",
          "format": "uri"
        },
        "verifications": {
          "type": "string",
          "format": "uri"
        },
        "rate_limits": {
          "type": "string",
          "format": "uri"
        },
        "messaging_configurations": {
          "type": "string",
          "format": "uri"
        },
        "entities": {
          "type": "string",
          "format": "uri"
        },
        "webhooks": {
          "type": "string",
          "format": "uri"
        },
        "access_tokens": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}