{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-create-messaging-service-request-schema.json",
  "title": "CreateMessagingServiceRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-messaging-services-api-openapi.yml#/components/schemas/CreateMessagingServiceRequest",
  "type": "object",
  "required": [
    "FriendlyName"
  ],
  "properties": {
    "FriendlyName": {
      "type": "string",
      "description": "Descriptive name for the messaging service"
    },
    "InboundRequestUrl": {
      "type": "string",
      "format": "uri"
    },
    "InboundMethod": {
      "type": "string",
      "enum": [
        "GET",
        "POST"
      ]
    },
    "FallbackUrl": {
      "type": "string",
      "format": "uri"
    },
    "FallbackMethod": {
      "type": "string",
      "enum": [
        "GET",
        "POST"
      ]
    },
    "StatusCallback": {
      "type": "string",
      "format": "uri"
    },
    "StickySender": {
      "type": "boolean"
    },
    "SmartEncoding": {
      "type": "boolean"
    },
    "AreaCodeGeomatch": {
      "type": "boolean"
    },
    "ValidityPeriod": {
      "type": "integer"
    }
  }
}