

# OntologyValidationIssue

One reason an uploaded ontology was rejected, or a non-fatal warning about a construct that could not be fully represented in the derived template, also in the draft of an induced ontology.

## Contents
<a name="API_OntologyValidationIssue_Contents"></a>

 ** code **   <a name="context-Type-OntologyValidationIssue-code"></a>
A code that identifies the issue, such as `RDF_PARSE_ERROR` or `UNMAPPABLE_CLASS`. New codes can be added, so handle a code that you don't recognize.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[A-Z][A-Z0-9_]*`   
Required: Yes

 ** message **   <a name="context-Type-OntologyValidationIssue-message"></a>
A human-readable description of the issue.  
Type: String  
Required: Yes

 ** line **   <a name="context-Type-OntologyValidationIssue-line"></a>
1-based line in the uploaded source, when the failure is attributable to a specific triple.  
Type: Integer  
Required: No

 ** subject **   <a name="context-Type-OntologyValidationIssue-subject"></a>
What the issue is about, when attributable. From an ontology operation, such as GetOntology: the offending subject/predicate IRI. In the draft of an induced ontology, the IRI of a term.  
Type: String  
Required: No

## See Also
<a name="API_OntologyValidationIssue_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/context-2022-07-26/OntologyValidationIssue) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/OntologyValidationIssue) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/OntologyValidationIssue) 