GitHub · Schema
validation-error
Validation Error
CodePipelinesPlatformSoftware DevelopmentSource ControlT1
Properties
| Name | Type | Description |
|---|---|---|
| message | string | |
| documentation_url | string | |
| errors | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-users-api-validation-error-schema.json",
"title": "validation-error",
"description": "Validation Error",
"type": "object",
"properties": {
"message": {
"type": "string",
"example": "Example body text"
},
"documentation_url": {
"type": "string",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"code"
],
"properties": {
"resource": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
},
"index": {
"type": "integer"
},
"value": {
"oneOf": [
{
"type": "string",
"nullable": true
},
{
"type": "integer",
"nullable": true
},
{
"type": "array",
"nullable": true,
"items": {
"type": "string"
}
}
]
}
}
}
}
},
"required": [
"message",
"documentation_url"
]
}