{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bouygues-telecom/json-schema/bouygues-telecom-check-eligibility-for-portability-out-schema.json",
  "title": "CheckEligibilityForPortabilityOut",
  "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/CheckEligibilityForPortabilityOut",
  "type": "object",
  "required": [
    "eligibleForPortability"
  ],
  "properties": {
    "eligibleForPortability": {
      "description": "TRUE if the phone number is eligible for portability  otherwise FALSE",
      "default": false,
      "type": "boolean"
    },
    "ineligibilityMessage": {
      "description": "a message explaining why the couple RIO/Phone Number is not eligible for portability",
      "type": "string",
      "enum": [
        "IN_PROGRESS_PORTABILITY_REQUEST",
        "UNAUTHORIZED_PORTABILITY_REQUEST"
      ]
    }
  }
}