GSMA · Schema
RequestBody
Common request body to allow optional Device object to be passed
TelecommunicationsUnited KingdomStandardsTrade AssociationNetwork APIsCAMARAOpen GatewayMobile Network OperatorsIdentity VerificationSIM SwapMobile MoneyeSIM5GFraud PreventionSpecificationGSMA
Properties
| Name | Type | Description |
|---|---|---|
| device | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/gsma/json-schema/gsma-request-body-schema.json",
"title": "RequestBody",
"description": "Common request body to allow optional Device object to be passed",
"x-generated": "2026-11-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/gsma-discovery-api-openapi.yml#/components/schemas/RequestBody",
"type": "object",
"properties": {
"device": {
"$ref": "#/$defs/Device"
}
},
"$defs": {
"Device": {
"description": "End-user equipment able to connect to a mobile network. Examples of devices include smartphones or IoT sensors/actuators.\nThe developer can choose to provide the below specified device identifiers:\n* `ipv4Address`\n* `ipv6Address`\n* `phoneNumber`\n* `networkAccessIdentifier`\nNOTE 1: the MNO might support only a subset of these options. The API invoker can provide multiple identifiers to be compatible across different MNOs. In this case the identifiers MUST belong to the same device.\nNOTE 2: as for this Commonalities release, we are enforcing that the networkAccessIdentifier is only part of the schema for future-proofing, and CAMARA does not currently allow its use. After the CAMARA meta-release work is concluded and the relevant issues are resolved, its use will need to be explicitly documented in the guidelines.\n",
"type": "object",
"properties": {
"phoneNumber": {
"$ref": "#/$defs/PhoneNumber_3"
},
"networkAccessIdentifier": {
"$ref": "#/$defs/NetworkAccessIdentifier_3"
},
"ipv4Address": {
"$ref": "#/$defs/DeviceIpv4Addr"
},
"ipv6Address": {
"$ref": "#/$defs/DeviceIpv6Address_3"
}
},
"minProperties": 1
},
"DeviceIpv4Addr": {
"type": "object",
"description": "The device should be identified by either the public (observed) IP address and port as seen by the application server, or the private (local) and any public (observed) IP addresses in use by the device (this information can be obtained by various means, for example from some DNS servers).\n\nIf the allocated and observed IP addresses are the same (i.e. NAT is not in use) then the same address should be specified for both publicAddress and privateAddress.\n\nIf NAT64 is in use, the device should be identified by its publicAddress and publicPort, or separately by its allocated IPv6 address (field ipv6Address of the Device object)\n\nIn all cases, publicAddress must be specified, along with at least one of either privateAddress or publicPort, dependent upon which is known. In general, mobile devices cannot be identified by their public IPv4 address alone.\n",
"properties": {
"publicAddress": {
"$ref": "#/$defs/SingleIpv4Addr_3"
},
"privateAddress": {
"$ref": "#/$defs/SingleIpv4Addr_3"
},
"publicPort": {
"$ref": "#/$defs/Port_3"
}
},
"anyOf": [
{
"required": [
"publicAddress",
"privateAddress"
]
},
{
"required": [
"publicAddress",
"publicPort"
]
}
]
},
"DeviceIpv6Address_3": {
"description": "The device should be identified by the observed IPv6 address, or by any single IPv6 address from within the subnet allocated to the device (e.g. adding ::0 to the /64 prefix).\n",
"type": "string",
"format": "ipv6"
},
"NetworkAccessIdentifier_3": {
"description": "A public identifier addressing a subscription in a mobile network. In 3GPP terminology, it corresponds to the GPSI formatted with the External Identifier ({Local Identifier}@{Domain Identifier}). Unlike the telephone number, the network access identifier is not subjected to portability ruling in force, and is individually managed by each operator.\n",
"type": "string"
},
"PhoneNumber_3": {
"description": "A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.\n",
"type": "string",
"pattern": "^\\+[1-9][0-9]{4,14}$"
},
"Port_3": {
"description": "TCP or UDP port number",
"type": "integer",
"minimum": 1024,
"maximum": 65535
},
"SingleIpv4Addr_3": {
"description": "A single IPv4 address with no subnet mask",
"type": "string",
"format": "ipv4"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/gsma-request-body"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.