{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-analytics/json-schema/google-analytics-validation-response-schema.json",
  "title": "ValidationResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-analytics-validation-api-openapi.yml#/components/schemas/ValidationResponse",
  "type": "object",
  "properties": {
    "validationMessages": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ValidationMessage"
      }
    }
  },
  "$defs": {
    "ValidationMessage": {
      "type": "object",
      "properties": {
        "fieldPath": {
          "type": "string",
          "description": "Path to the field that caused the validation error."
        },
        "description": {
          "type": "string",
          "description": "Description of the validation error."
        },
        "validationCode": {
          "type": "string",
          "description": "A code identifying the type of validation error.",
          "enum": [
            "VALUE_INVALID",
            "VALUE_REQUIRED",
            "NAME_INVALID",
            "NAME_RESERVED",
            "VALUE_OUT_OF_BOUNDS",
            "EXCEEDED_MAX_ENTITIES",
            "NAME_DUPLICATED"
          ]
        }
      }
    }
  }
}