{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bouygues-telecom/json-schema/bouygues-telecom-check-eligibility-for-portability-in-schema.json",
  "title": "CheckEligibilityForPortabilityIn",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bouygues-telecom-check-portability-openapi.yml#/components/schemas/CheckEligibilityForPortabilityIn",
  "type": "object",
  "required": [
    "phoneNumber",
    "rioCode"
  ],
  "properties": {
    "phoneNumber": {
      "description": "Phone number to be ported",
      "pattern": "['+']33[0-9]{9}",
      "maxLength": 15,
      "minLength": 12,
      "type": "string"
    },
    "rioCode": {
      "description": "RIO code of the phone number to be ported  RIO a unique identifier (normally 12 characters long) used by  mobile network operators to facilitate mobile number portability (MNP). This allows users to retain their mobile telephone number when switching operators.",
      "maxLength": 12,
      "minLength": 12,
      "type": "string"
    }
  }
}