LlamaParse · Schema

ExtractResultset

Schema for an extraction resultset.

Document ParsingOCRPDFLLMRAGAIDocument IntelligenceStructured Data Extraction

Properties

Name Type Description
run_id string The id of the extraction run
extraction_agent_id string The id of the extraction agent
data object The data extracted from the file
extraction_metadata object The metadata extracted from the file
View JSON Schema on GitHub

JSON Schema

llamaparse-extractresultset-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/llamaparse/main/json-schema/llamaparse-extractresultset-schema.json",
  "title": "ExtractResultset",
  "description": "Schema for an extraction resultset.",
  "properties": {
    "run_id": {
      "type": "string",
      "format": "uuid",
      "title": "Run Id",
      "description": "The id of the extraction run"
    },
    "extraction_agent_id": {
      "type": "string",
      "format": "uuid",
      "title": "Extraction Agent Id",
      "description": "The id of the extraction agent"
    },
    "data": {
      "anyOf": [
        {
          "additionalProperties": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "integer"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": "object"
        },
        {
          "items": {
            "additionalProperties": {
              "anyOf": [
                {
                  "additionalProperties": true,
                  "type": "object"
                },
                {
                  "items": {},
                  "type": "array"
                },
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "number"
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Data",
      "description": "The data extracted from the file"
    },
    "extraction_metadata": {
      "additionalProperties": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "items": {},
            "type": "array"
          },
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ]
      },
      "type": "object",
      "title": "Extraction Metadata",
      "description": "The metadata extracted from the file"
    }
  },
  "type": "object",
  "required": [
    "run_id",
    "extraction_agent_id",
    "data",
    "extraction_metadata"
  ]
}