{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-license-office-office-tenant-native-schema.json",
  "title": "license.office.OfficeTenantNative",
  "description": "Office tenant",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-license-office-openapi.yml#/components/schemas/license.office.OfficeTenantNative",
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "Contact's address line"
    },
    "city": {
      "type": "string",
      "description": "Contact's city"
    },
    "creationDate": {
      "type": "string",
      "description": "Creation date",
      "format": "date-time",
      "readOnly": true
    },
    "displayName": {
      "type": "string",
      "description": "Tenant's display name"
    },
    "firstName": {
      "type": "string",
      "description": "Contact's first name"
    },
    "lastName": {
      "type": "string",
      "description": "Contact's last name"
    },
    "mcaAgreed": {
      "type": "boolean",
      "description": "MCA acceptance status"
    },
    "phone": {
      "allOf": [
        {
          "$ref": "#/$defs/phoneNumber"
        }
      ],
      "description": "Primary phone number"
    },
    "serviceName": {
      "type": "string",
      "description": "Internal service name",
      "readOnly": true
    },
    "serviceType": {
      "allOf": [
        {
          "$ref": "#/$defs/license.office.ServiceTypeEnum"
        }
      ],
      "description": "Tenant's service type",
      "readOnly": true
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/$defs/license.office.ServiceStateEnum"
        }
      ],
      "description": "Tenant's status",
      "readOnly": true
    },
    "zipCode": {
      "type": "string",
      "description": "Contact's zip code"
    }
  },
  "$defs": {
    "license.office.ServiceStateEnum": {
      "type": "string",
      "description": "Office tenant state",
      "enum": [
        "creating",
        "inMaintenance",
        "ok",
        "reopening",
        "suspended",
        "suspending"
      ]
    },
    "license.office.ServiceTypeEnum": {
      "type": "string",
      "description": "Office tenant type",
      "enum": [
        "payAsYouGo",
        "prepaid"
      ]
    },
    "phoneNumber": {
      "type": "string",
      "description": "Phone number",
      "format": "phone-number"
    }
  }
}