public-api
Validate Extract Schema
Validate an Extract schema without creating a job or consuming credits.
post/api/v1/extract/schema/validate
Request
- Base URLhttps://ndi-api.nace.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"schema": {
"additionalProperties": false,
"properties": {
"invoice_number": {
"description": "Invoice identifier.",
"type": "string"
},
"inspection_year": {
"description": "Inspection year, or null when the document does not establish one.",
"type": [
"integer",
"null"
]
}
},
"type": "object"
}
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.