{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/name-ai/json-schema/name-ai-batch-result-schema.json",
  "title": "BatchResult",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/name-ai-openapi.json#/components/schemas/BatchResult",
  "type": "object",
  "required": [
    "id",
    "op",
    "status",
    "body"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "op": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "integer",
      "description": "The status the equivalent single call would have returned."
    },
    "body": {
      "description": "The body that call would have returned. search_domain streams NDJSON when called directly; here its body is {\"records\": [...]}, the same lines collected in order."
    }
  }
}