{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-api-required-field-validation-result-schema.json",
  "title": "Required Field Validation Result",
  "description": "Validation information for required fields.",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-voice-company-profiles-v1-openapi.yml#/components/schemas/ApiRequiredFieldValidationResult",
  "type": "object",
  "properties": {
    "field": {
      "type": [
        "string",
        "null"
      ],
      "description": "The key of the required field to which this validation result applies."
    },
    "isValid": {
      "type": "boolean",
      "description": "Whether or not the given value is valid."
    },
    "invalidReason": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the given value is invalid, this field gives an explanation on why its validation failed."
    }
  },
  "additionalProperties": false
}