{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-email-domain-migration-service-schema.json",
  "title": "email.domain.MigrationService",
  "description": "Migration service",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-email-domain-openapi.yml#/components/schemas/email.domain.MigrationService",
  "type": "object",
  "properties": {
    "contactAdmin": {
      "type": "string",
      "description": "Admin contact of service",
      "readOnly": true
    },
    "contactBilling": {
      "type": "string",
      "description": "Billing contact of service",
      "readOnly": true
    },
    "contactTech": {
      "type": "string",
      "description": "Tech contact of service",
      "readOnly": true
    },
    "creation": {
      "type": "string",
      "description": "Creation date of service",
      "format": "date",
      "readOnly": true
    },
    "destinationServiceName": {
      "type": "string",
      "description": "Service name allowed as migration destination",
      "readOnly": true
    },
    "expiration": {
      "type": "string",
      "description": "Expiration date of service",
      "format": "date",
      "readOnly": true
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/$defs/email.domain.MigrationServiceType"
        }
      ],
      "description": "Offer type of service",
      "readOnly": true
    }
  },
  "$defs": {
    "email.domain.MigrationServiceType": {
      "type": "string",
      "description": "Types of migration service",
      "enum": [
        "EMAIL PRO",
        "HOSTED EXCHANGE",
        "PRIVATE EXCHANGE",
        "PROVIDER EXCHANGE"
      ]
    }
  }
}