Smile · Schema

Beta Maw Get Response

CompanyEmployment VerificationCredit ScoringKYCFraud PreventionPhilippines

Properties

Name Type Description
code object
message object
requestId object
data object
View JSON Schema on GitHub

JSON Schema

getsmileapi-beta-maw-get-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getsmileapi/json-schema/getsmileapi-beta-maw-get-response-schema.json",
  "title": "Beta Maw Get Response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getsmileapi-maws-beta-api-openapi.yml#/components/schemas/BetaMawGetResponse",
  "type": "object",
  "properties": {
    "code": {
      "$ref": "#/$defs/ObjectMetadataRefCode"
    },
    "message": {
      "$ref": "#/$defs/ObjectMetadataRefMessage"
    },
    "requestId": {
      "$ref": "#/$defs/ObjectMetadataRefRequestID"
    },
    "data": {
      "$ref": "#/$defs/BetaMaw"
    }
  },
  "$defs": {
    "BetaMaw": {
      "type": "object",
      "required": [
        "id",
        "createdAt",
        "status",
        "requestMeta"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique ID for the Beta Maw."
        },
        "createdAt": {
          "$ref": "#/$defs/RefDateTime"
        },
        "status": {
          "type": "string",
          "description": "The current status of the Maw.",
          "enum": [
            "PROCESSING",
            "ERROR",
            "COMPLETED"
          ]
        },
        "resultCode": {
          "type": "string",
          "description": "The final result of the Maw.",
          "enum": [
            "SUCCESS",
            "NO_DATA",
            "SYSTEM_ERROR",
            "SERVICE_UNAVAILABLE"
          ]
        },
        "resultMessage": {
          "type": "string",
          "description": "A detailed description of the final result of the Maw."
        },
        "type": {
          "$ref": "#/$defs/MawType"
        },
        "requestMeta": {
          "$ref": "#/$defs/BetaMawRequestMeta"
        },
        "maw2Items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BetaMaw2Item"
          }
        },
        "maw3Items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BetaMaw3Item"
          }
        }
      }
    },
    "BetaMaw2Item": {
      "type": "object",
      "required": [
        "platformId",
        "source",
        "date"
      ],
      "properties": {
        "date": {
          "$ref": "#/$defs/RefDate"
        },
        "level": {
          "type": "string",
          "description": "The level of the item. 1 - whitelist 2 - secondary whitelist, 3 - normal, 4 - greylist, 5 - blacklist"
        },
        "platformId": {
          "type": "string",
          "description": "Unique ID for the platform."
        },
        "duration": {
          "type": "string",
          "description": "The duration of the item. It will have value if source is seat."
        },
        "source": {
          "type": "string",
          "description": "The source of the item. Possible values are: seat, voice, sms."
        },
        "platformTags": {
          "type": "array",
          "default": [],
          "items": {
            "type": "string",
            "description": "A tag associated with the item. Possible values are: finance, other, etc."
          }
        }
      }
    },
    "BetaMaw2PostRequest": {
      "oneOf": [
        {
          "$ref": "#/$defs/BetaMaw2PostRequest1"
        },
        {
          "$ref": "#/$defs/BetaMaw2PostRequest2"
        }
      ]
    },
    "BetaMaw2PostRequest1": {
      "type": "object",
      "required": [
        "consent",
        "templateId",
        "mobileNumber",
        "countryCode"
      ],
      "properties": {
        "mobileNumber": {
          "type": "string",
          "description": "Subject's mobile number. Must start with country code i.e. 639178912345, and no leading zeros. MD5‑encrypted input is accepted with the format `MD5(countryCode + mobileNumber)` i.e. `MD5(529559991234)`."
        },
        "countryCode": {
          "$ref": "#/$defs/RefCountry"
        },
        "templateId": {
          "type": "string",
          "description": "Fixed to `tpl-maw002001`. You can request the specific templateId from Smile if need."
        },
        "consent": {
          "$ref": "#/$defs/Consent"
        }
      }
    },
    "BetaMaw2PostRequest2": {
      "type": "object",
      "required": [
        "consent",
        "templateId",
        "mobileNumber",
        "countryCode"
      ],
      "properties": {
        "mobileNumber": {
          "type": "string",
          "description": "Subject's mobile number. Must start with country code i.e. 639178912345, and no leading zeros. MD5‑encrypted input is accepted with the format `MD5(countryCode + mobileNumber)` i.e. `MD5(529559991234)`."
        },
        "countryCode": {
          "$ref": "#/$defs/RefCountry"
        },
        "templateId": {
          "type": "string",
          "description": "Fixed to `mawTpl-bfc93eb72d24860bf62429a1dd06708d`. You can request the specific templateId from Smile if need."
        },
        "consent": {
          "$ref": "#/$defs/Consent"
        }
      }
    },
    "BetaMaw3Item": {
      "type": "object",
      "required": [
        "name",
        "value",
        "valueType"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "A unique name for the item."
        },
        "value": {
          "type": "string",
          "description": "The value associated with the item."
        },
        "valueType": {
          "type": "string",
          "enum": [
            "STRING",
            "NUMBER",
            "BOOLEAN"
          ]
        }
      }
    },
    "BetaMaw3Tpl1PostRequest": {
      "type": "object",
      "required": [
        "consent",
        "templateId",
        "fullName",
        "idNumber",
        "idType",
        "mobileNumber",
        "countryCode"
      ],
      "properties": {
        "mobileNumber": {
          "type": "string",
          "description": "Subject's mobile number. `Required`. Must start with country code i.e. 529559991234, and no leading zeros. MD5‑encrypted input is accepted with the format `MD5(countryCode + mobileNumber)` i.e. `MD5(529559991234)`."
        },
        "fullName": {
          "type": "string",
          "description": "Subject's full name.  `Required`."
        },
        "idNumber": {
          "type": "string",
          "description": "Subject's ID number.  `Required`. Must be a valid Mexico CURP."
        },
        "idType": {
          "$ref": "#/$defs/MawIdType"
        },
        "gaid": {
          "type": "string",
          "description": "Subject's Google Ad ID. `Optional`. If provided will returned the items that are related to the Google Ad ID."
        },
        "countryCode": {
          "$ref": "#/$defs/RefCountry"
        },
        "templateId": {
          "type": "string",
          "description": "Fixed to `tpl-maw004001`."
        },
        "consent": {
          "$ref": "#/$defs/Consent"
        }
      }
    },
    "BetaMaw3Tpl2PostRequest": {
      "type": "object",
      "required": [
        "consent",
        "templateId",
        "gaid"
      ],
      "properties": {
        "gaid": {
          "type": "string",
          "description": "Subject's Google Ad ID. `Required`."
        },
        "templateId": {
          "type": "string",
          "description": "Fixed to `tpl-maw004002`."
        },
        "consent": {
          "$ref": "#/$defs/Consent"
        }
      }
    },
    "BetaMaw3Tpl3PostRequest": {
      "type": "object",
      "required": [
        "consent",
        "templateId",
        "fullName",
        "idNumber",
        "idType",
        "mobileNumber",
        "countryCode"
      ],
      "properties": {
        "mobileNumber": {
          "type": "string",
          "description": "Subject's mobile number. `Required`. Must start with country code i.e. 639559991234, and no leading zeros. MD5‑encrypted input is accepted with the format `MD5(countryCode + mobileNumber)` i.e. `MD5(639559991234)`."
        },
        "fullName": {
          "type": "string",
          "description": "Subject's full name.  `Required`."
        },
        "idNumber": {
          "type": "string",
          "description": "Subject's ID number.  `Required`. Must be a valid Philippines ID number, it supports SSS,UMID,TIN,PRC,PHILHEALTH,PHILSYS,PASSPORT,DRIVER_LICENSE."
        },
        "idType": {
          "$ref": "#/$defs/MawIdType"
        },
        "gaid": {
          "type": "string",
          "description": "Subject's Google Ad ID. `Optional`."
        },
        "countryCode": {
          "$ref": "#/$defs/RefCountry"
        },
        "templateId": {
          "type": "string",
          "description": "Fixed to `tpl-maw004003`."
        },
        "consent": {
          "$ref": "#/$defs/Consent"
        }
      }
    },
    "BetaMawRequestMeta": {
      "oneOf": [
        {
          "$ref": "#/$defs/BetaMaw2PostRequest"
        },
        {
          "$ref": "#/$defs/BetaMaw2PostRequest2"
        },
        {
          "$ref": "#/$defs/BetaMaw3Tpl1PostRequest"
        },
        {
          "$ref": "#/$defs/BetaMaw3Tpl2PostRequest"
        },
        {
          "$ref": "#/$defs/BetaMaw3Tpl3PostRequest"
        }
      ]
    },
    "Consent": {
      "type": "object",
      "required": [
        "consentedAt",
        "consentedWith"
      ],
      "properties": {
        "type": {
          "type": "string",
          "description": "The internal name of your consent document (e.g. \"Terms and Conditions\" or \"Privacy Policy\"); your own reference label"
        },
        "version": {
          "type": "string",
          "description": "Your internal version identifier for this consent document (e.g. \"1.0.0\")"
        },
        "consentedAt": {
          "allOf": [
            {
              "$ref": "#/$defs/RefDateTime"
            }
          ],
          "description": "The date and time the subject accepted your consent document, typically when they tapped \"I agree\" in your app. Not the time of this API call. Use ISO 8601 format, e.g. \"2024-04-14T09:30:24Z\""
        },
        "consentedWith": {
          "type": "string",
          "description": "The exact text of the button or checkbox the user clicked to give consent, e.g. \"I agree to the Terms and Conditions\""
        },
        "consentTemplateId": {
          "type": "string",
          "description": "ID of a stored Consent Template. Retrieve from the Developer Portal or GET /consentTemplates. Overrides any inline fields above when provided."
        }
      }
    },
    "MawIdType": {
      "type": "string",
      "description": "Subject's ID type.  `Required`.",
      "enum": [
        "NATIONAL_ID",
        "SSS",
        "UMID",
        "TIN",
        "PRC",
        "PHILHEALTH",
        "PASSPORT",
        "DRIVER_LICENSE",
        "PHILSYS"
      ]
    },
    "MawType": {
      "type": "string",
      "description": "The type of the Maw.",
      "enum": [
        "MAW2",
        "MAW3"
      ]
    },
    "ObjectMetadataRefCode": {
      "type": "string",
      "title": "ObjectMetadataRefCode",
      "description": "Request status code",
      "enum": [
        "OK",
        "CREATED",
        "INVALID_CREDENTIALS",
        "INVALID_PARAMETERS",
        "INVALID_TOKEN",
        "UNAUTHORIZED_ACCESS",
        "MISSING_RESOURCE",
        "REQUEST_LIMIT_EXCEEDED",
        "SERVER_ERROR",
        "UNSUPPORTED_METHOD",
        "SERVER_UNAVAILABLE",
        "TIME_LIMIT_EXCEEDED"
      ],
      "x-internal": false
    },
    "ObjectMetadataRefMessage": {
      "type": "string",
      "title": "ObjectMetadataRefMessage",
      "description": "Message response to the request",
      "x-internal": false
    },
    "ObjectMetadataRefRequestID": {
      "type": "string",
      "title": "ObjectMetadataRefRequestID",
      "description": "Unique ID that is added to the body of every response for easy traceability of the request in our logs.",
      "x-internal": false
    },
    "RefCountry": {
      "type": [
        "string",
        "null"
      ],
      "title": "Country ISO Codes",
      "enum": [
        "AF",
        "AX",
        "AL",
        "DZ",
        "AS",
        "AD",
        "AO",
        "AI",
        "AQ",
        "AG",
        "AR",
        "AM",
        "AW",
        "AU",
        "AT",
        "AZ",
        "BS",
        "BH",
        "BD",
        "BB",
        "BY",
        "BE",
        "BZ",
        "BJ",
        "BM",
        "BT",
        "BO",
        "BQ",
        "BA",
        "BW",
        "BV",
        "BR",
        "IO",
        "BN",
        "BG",
        "BF",
        "BI",
        "KH",
        "CM",
        "CA",
        "CV",
        "KY",
        "CF",
        "TD",
        "CL",
        "CN",
        "CX",
        "CC",
        "CO",
        "KM",
        "CG",
        "CD",
        "CK",
        "CR",
        "CI",
        "HR",
        "CU",
        "CW",
        "CY",
        "CZ",
        "DK",
        "DJ",
        "DM",
        "DO",
        "EC",
        "EG",
        "SV",
        "GQ",
        "ER",
        "EE",
        "ET",
        "FK",
        "FO",
        "FJ",
        "FI",
        "FR",
        "GF",
        "PF",
        "TF",
        "GA",
        "GM",
        "GE",
        "DE",
        "GH",
        "GI",
        "GR",
        "GL",
        "GD",
        "GP",
        "GU",
        "GT",
        "GG",
        "GN",
        "GW",
        "GY",
        "HT",
        "HM",
        "VA",
        "HN",
        "HK",
        "HU",
        "IS",
        "IN",
        "ID",
        "IR",
        "IQ",
        "IE",
        "IM",
        "IL",
        "IT",
        "JM",
        "JP",
        "JE",
        "JO",
        "KZ",
        "KE",
        "KI",
        "KP",
        "KR",
        "XK",
        "KW",
        "KG",
        "LA",
        "LV",
        "LB",
        "LS",
        "LR",
        "LY",
        "LI",
        "LT",
        "LU",
        "MO",
        "MK",
        "MG",
        "MW",
        "MY",
        "MV",
        "ML",
        "MT",
        "MH",
        "MQ",
        "MR",
        "MU",
        "YT",
        "MX",
        "FM",
        "MD",
        "MC",
        "MN",
        "ME",
        "MS",
        "MA",
        "MZ",
        "MM",
        "NA",
        "NR",
        "NP",
        "NL",
        "AN",
        "NC",
        "NZ",
        "NI",
        "NE",
        "NG",
        "NU",
        "NF",
        "MP",
        "NO",
        "OM",
        "PK",
        "PW",
        "PS",
        "PA",
        "PG",
        "PY",
        "PE",
        "PH",
        "PN",
        "PL",
        "PT",
        "PR",
        "QA",
        "RS",
        "RE",
        "RO",
        "RU",
        "RW",
        "BL",
        "SH",
        "KN",
        "LC",
        "MF",
        "PM",
        "VC",
        "WS",
        "SM",
        "ST",
        "SA",
        "SN",
        "CS",
        "SC",
        "SL",
        "SG",
        "SX",
        "SK",
        "SI",
        "SB",
        "SO",
        "ZA",
        "GS",
        "SS",
        "ES",
        "LK",
        "SD",
        "SR",
        "SJ",
        "SZ",
        "SE",
        "CH",
        "SY",
        "TW",
        "TJ",
        "TZ",
        "TH",
        "TL",
        "TG",
        "TK",
        "TO",
        "TT",
        "TN",
        "TR",
        "XT",
        "TM",
        "TC",
        "TV",
        "UG",
        "UA",
        "AE",
        "GB",
        "US",
        "UM",
        "UY",
        "UZ",
        "VU",
        "VE",
        "VN",
        "VG",
        "VI",
        "WF",
        "EH",
        "YE",
        "ZM",
        "ZW",
        null
      ],
      "description": "2 character alpha ISO-3166 codes"
    },
    "RefDate": {
      "type": "string",
      "format": "date",
      "description": "The date, yyyy-MM-dd"
    },
    "RefDateTime": {
      "type": "string",
      "title": "Date and Time string",
      "format": "date-time",
      "description": "Date and time"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/getsmileapi-beta-maw-get-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.