{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-hosting-web-local-seo-visibility-check-result-response-schema.json",
  "title": "hosting.web.localSeo.VisibilityCheckResultResponse",
  "description": "Struct describing a visibility check result",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-hosting-web-openapi.yml#/components/schemas/hosting.web.localSeo.VisibilityCheckResultResponse",
  "type": "object",
  "properties": {
    "city": {
      "type": [
        "string",
        "null"
      ],
      "description": "City of the location"
    },
    "cityStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "City of the location (sync status)",
      "nullable": true
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "Country of the location"
    },
    "countryStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "Country of the location (sync status)",
      "nullable": true
    },
    "dateCreated": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date and time the listing was created in database",
      "format": "date-time"
    },
    "directoryType": {
      "type": [
        "string",
        "null"
      ],
      "description": "The directory where this listing appears"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "A contact email for the location"
    },
    "emailStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "A contact email for the location (sync status)",
      "nullable": true
    },
    "flowStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FlowStatusEnum"
        }
      ],
      "description": "The status of the current listing",
      "nullable": true
    },
    "listingId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The listing id in the directory database"
    },
    "listingUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "The listing url on the directory website"
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The location's name used for this listing"
    },
    "nameStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "The location's name used for this listing (sync status)",
      "nullable": true
    },
    "phone": {
      "type": [
        "string",
        "null"
      ],
      "description": "The location's contact phone number"
    },
    "phoneStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "The location's contact phone number (sync status)",
      "nullable": true
    },
    "province": {
      "type": [
        "string",
        "null"
      ],
      "description": "Province of the location"
    },
    "provinceStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "Province of the location (sync status)",
      "nullable": true
    },
    "street": {
      "type": [
        "string",
        "null"
      ],
      "description": "The location's street address"
    },
    "streetAndNo": {
      "type": [
        "string",
        "null"
      ],
      "description": "A localized combination of street and streetNo"
    },
    "streetAndNoStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "A localized combination of street and streetNo (sync status)",
      "nullable": true
    },
    "streetNo": {
      "type": [
        "string",
        "null"
      ],
      "description": "The location's street number"
    },
    "streetNoStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "The location's street number (sync status)",
      "nullable": true
    },
    "streetStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "The location's street address (sync status)",
      "nullable": true
    },
    "streetType": {
      "type": [
        "string",
        "null"
      ],
      "description": "The street type for Spain"
    },
    "streetTypeStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "The street type for Spain (sync status)",
      "nullable": true
    },
    "syncStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.ListingStatusEnum"
        }
      ],
      "description": "The sync status of the listing",
      "nullable": true
    },
    "website": {
      "type": [
        "string",
        "null"
      ],
      "description": "A valid url for the location's website"
    },
    "websiteStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "A valid url for the location's website (sync status)",
      "nullable": true
    },
    "zip": {
      "type": [
        "string",
        "null"
      ],
      "description": "Zipcode of the location"
    },
    "zipStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/hosting.web.localSeo.FieldStatusEnum"
        }
      ],
      "description": "Zipcode of the location (sync status)",
      "nullable": true
    }
  },
  "$defs": {
    "hosting.web.localSeo.FieldStatusEnum": {
      "type": "string",
      "description": "Sync status of a location field",
      "enum": [
        "MATCH",
        "MISMATCH",
        "MISSING",
        "NOT_APPLICABLE",
        "PRESENT"
      ]
    },
    "hosting.web.localSeo.FlowStatusEnum": {
      "type": "string",
      "description": "Status of a listing",
      "enum": [
        "ALL_INFORMATION_SUBMITTED",
        "DONT_REMOVE",
        "INACTIVE",
        "MANUALLY_DEACTIVATED",
        "NEEDS_REVIEW",
        "NOT_SUPPORTED",
        "NO_ACTION_NEEDED",
        "REMOVAL_NEEDED",
        "REMOVAL_REVIEW_NEEDED",
        "REMOVAL_SUBMITTED",
        "REMOVED",
        "SUBMISSION_NEEDED",
        "WAITING_DIRECTORY_ACTION",
        "WAITING_USER_ACTION"
      ]
    },
    "hosting.web.localSeo.ListingStatusEnum": {
      "type": "string",
      "description": "Sync status of a listing",
      "enum": [
        "IN_SYNC",
        "NOT_FOUND",
        "NOT_IN_SYNC",
        "NOT_SUPPORTED",
        "NO_ONLINE_LISTING",
        "TECHNICAL_PROBLEMS"
      ]
    }
  }
}