> ## Documentation Index
> Fetch the complete documentation index at: https://www.datalegion.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Schema & Example Record

> Complete example JSON record showing all 100+ fields in the Data Legion person data schema, including nested objects and arrays.

This page shows a complete example record with all available fields. Arrays are truncated to 2 items and strings to 100 characters in this example.

## Example Record

```json theme={null}
{
  "legion_id": "a1b2c3d4-e5f6-5a1b-8c3d-4e5f6a1b2c3d",
  "full_name": "jane marie doe",
  "first_name": "jane",
  "middle_name": "marie",
  "middle_initial": "m",
  "last_name": "doe",
  "last_initial": "d",
  "suffix": "jr",
  "prefix": "dr",
  "sex": "female",
  "birth_date": "1985-03-15",
  "birth_year": 1985,
  "birth_month": 3,
  "birth_day": 15,
  "age": 40,
  "job_title": "senior product manager",
  "company_legion_id": "b2c3d4e5-f6a1-5b2c-9d4e-5f6a1b2c3d4e",
  "company_name": "tech company",
  "company_domain": "techcompany.com",
  "company_linkedin_url": "https://www.linkedin.com/company/techcompany",
  "company_linkedin_id": "12345678",
  "company_industry": "technology, information and internet",
  "company_size": "1001-5000",
  "seniority_level": "senior",
  "job_function": "product",
  "expense_category": "research_and_development",
  "is_decision_maker": false,
  "is_platform_worker": false,
  "years_of_experience": 12,
  "avg_tenure_months": 24.5,
  "highest_degree_level": "masters",
  "work_email": "jane.doe@techcompany.com",
  "mobile_phone": "+15551234567",
  "city": "san francisco",
  "state": "california",
  "state_code": "US-CA",
  "country": "united states",
  "country_code": "US",
  "linkedin_url": "https://www.linkedin.com/in/janedoe",
  "linkedin_id": "556230244",
  "linkedin_followers": 500,
  "linkedin_connections": 450,
  "headline": {
    "cleaned": "senior product manager at tech company",
    "raw": [
      "Senior Product Manager at Tech Company"
    ]
  },
  "summary": {
    "cleaned": "experienced product leader with 10+ years in technology...",
    "raw": [
      "Experienced product leader with 10+ years in technology..."
    ]
  },
  "skills": [
    {
      "raw": [
        "Project Management",
        "PM"
      ],
      "cleaned": "project management"
    },
    {
      "raw": [
        "Data Analysis"
      ],
      "cleaned": "data analysis"
    }
  ],
  "languages": [
    {
      "raw": [
        "English"
      ],
      "cleaned": "english",
      "proficiency": "native"
    },
    {
      "raw": [
        "Spanish",
        "Español"
      ],
      "cleaned": "spanish",
      "proficiency": "fluent"
    }
  ],
  "phones": [
    {
      "type": "mobile",
      "number": "+15551234567",
      "current": true,
      "confidence": "high",
      "num_sources": 3,
      "last_seen": "2026-01-15"
    },
    {
      "type": "landline",
      "number": "+15559876543",
      "current": false,
      "confidence": "low",
      "num_sources": 1,
      "last_seen": "2024-06-01"
    }
  ],
  "emails": [
    {
      "address": "jane.doe@company.com",
      "type": "professional",
      "current": true,
      "validated": true,
      "validation_status": "valid",
      "confidence": "high",
      "num_sources": 2,
      "last_seen": "2026-01-20",
      "hash_sha256": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",
      "hash_sha1": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",
      "hash_md5": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
    },
    {
      "address": "janedoe@gmail.com",
      "type": "personal",
      "current": null,
      "validated": false,
      "validation_status": null,
      "confidence": "high",
      "num_sources": 2,
      "last_seen": "2024-12-01",
      "hash_sha256": "b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",
      "hash_sha1": "b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",
      "hash_md5": "b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
    }
  ],
  "locations": [
    {
      "street_address": "123 main st",
      "address_line_2": "apt 4b",
      "city": "san francisco",
      "state": "california",
      "state_code": "US-CA",
      "country": "united states",
      "country_code": "US",
      "postal_code": "94102",
      "postal_code_4": "5678",
      "continent": "north america",
      "continent_code": "NA",
      "geo": "37.7749,-122.4194",
      "raw": [
        "123 Main St, Apt 4B, San Francisco, CA 94102"
      ],
      "current": true,
      "confidence": "high",
      "num_sources": 2,
      "last_seen": "2026-01-10"
    }
  ],
  "experience": [
    {
      "title": {
        "cleaned": "senior product manager",
        "raw": [
          "Senior Product Manager",
          "Sr. PM"
        ]
      },
      "organization": {
        "legion_id": "b2c3d4e5-f6a1-5b2c-9d4e-5f6a1b2c3d4e",
        "name": {
          "cleaned": "tech company inc",
          "raw": [
            "Tech Company Inc",
            "Tech Company"
          ]
        },
        "website": "techcompany.com",
        "linkedin_url": "https://www.linkedin.com/company/tech-company-inc",
        "linkedin_id": "12345678",
        "industry": "technology, information and internet",
        "size": "1001-5000"
      },
      "start_date": "2020-06-01",
      "end_date": null,
      "current": true,
      "tenure_months": 68,
      "seniority_level": "senior",
      "job_function": "product",
      "expense_category": "research_and_development",
      "is_decision_maker": false,
      "is_platform_worker": false,
      "description": {
        "cleaned": "leading product strategy for enterprise platform...",
        "raw": [
          "Leading product strategy for enterprise platform..."
        ]
      }
    },
    {
      "title": {
        "cleaned": "product manager",
        "raw": [
          "Product Manager"
        ]
      },
      "organization": {
        "legion_id": null,
        "name": {
          "cleaned": "startup corp",
          "raw": [
            "Startup Corp"
          ]
        },
        "website": null,
        "linkedin_url": null,
        "linkedin_id": null,
        "industry": null,
        "size": null
      },
      "start_date": "2017-03-01",
      "end_date": "2020-05-31",
      "current": false,
      "tenure_months": 38,
      "seniority_level": "manager",
      "job_function": "product",
      "expense_category": "research_and_development",
      "is_decision_maker": false,
      "is_platform_worker": false,
      "description": {
        "cleaned": "managed b2b saas product from concept to launch...",
        "raw": [
          "Managed B2B SaaS product from concept to launch..."
        ]
      }
    }
  ],
  "education": [
    {
      "organization": {
        "name": {
          "cleaned": "stanford university",
          "raw": [
            "Stanford University"
          ]
        },
        "website": "stanford.edu",
        "linkedin_url": "https://www.linkedin.com/school/stanford-university"
      },
      "degree": {
        "cleaned": "master of business administration",
        "raw": [
          "Master of Business Administration",
          "MBA"
        ]
      },
      "degree_level": "masters",
      "field_of_study": {
        "cleaned": "business administration",
        "raw": [
          "Business Administration"
        ]
      },
      "start_date": "2015",
      "end_date": "2017",
      "current": false
    },
    {
      "organization": {
        "name": {
          "cleaned": "university of california berkeley",
          "raw": [
            "University of California, Berkeley",
            "UC Berkeley"
          ]
        },
        "website": null,
        "linkedin_url": null
      },
      "degree": {
        "cleaned": "bachelor of science in computer science",
        "raw": [
          "Bachelor of Science in Computer Science",
          "BS CS"
        ]
      },
      "degree_level": "bachelors",
      "field_of_study": {
        "cleaned": "computer science",
        "raw": [
          "Computer Science"
        ]
      },
      "start_date": "2003",
      "end_date": "2007",
      "current": false
    }
  ],
  "certifications": [
    {
      "name": {
        "cleaned": "project management professional",
        "raw": [
          "Project Management Professional",
          "PMP"
        ]
      },
      "institution": {
        "cleaned": "project management institute",
        "raw": [
          "Project Management Institute",
          "PMI"
        ]
      },
      "credential_id": "1234567",
      "issue_date": "2018-06",
      "expiration_date": "2024-06"
    },
    {
      "name": {
        "cleaned": "aws certified solutions architect",
        "raw": [
          "AWS Certified Solutions Architect — Associate"
        ]
      },
      "institution": {
        "cleaned": "amazon web services",
        "raw": [
          "Amazon Web Services"
        ]
      },
      "credential_id": null,
      "issue_date": "2021-03",
      "expiration_date": "2024-03"
    }
  ],
  "socials": [
    {
      "network": "linkedin",
      "url": "https://www.linkedin.com/in/janedoe",
      "id": null,
      "username": "janedoe",
      "current": true,
      "confidence": "high",
      "num_sources": 2,
      "last_seen": "2026-01-20"
    },
    {
      "network": "github",
      "url": "https://github.com/janedoe",
      "id": "12345678",
      "username": "janedoe",
      "current": true,
      "confidence": "moderate",
      "num_sources": 1,
      "last_seen": "2026-01-20"
    }
  ],
  "num_sources": 3,
  "current_jobs_last_updated": "2026-01-15",
  "current_jobs_last_confirmed": "2026-01-20",
  "current_location_last_updated": "2025-09-01",
  "current_location_last_confirmed": "2026-01-10",
  "last_seen": "2026-01-20",
  "build_version": "1.3.2_2026-07-12"
}
```

## Key Features

### Stable Identifier

Every record has a `legion_id` that remains stable across deliveries, allowing you to track the same person over time.

### Cleaned and Raw Variants

Text fields include both `cleaned` (normalized) and `raw[]` (source) variants. The cleaned version is standardized for consistent filtering, while raw preserves original source formatting.

### Quality Scoring

Contact data (phones, emails, locations, socials) includes:

* `confidence`: Quality score (high, moderate, low)

### Array Ordering

All arrays in the output are sorted deterministically so the most relevant items appear first:

* **`phones[]`, `emails[]`**: current items first, then by confidence (highest first)
* **`locations[]`**: most recently seen first (by `last_seen`)
* **`socials[]`**: current items first
* **`experience[]`**: current entries first, then by start date (most recent first)
* **`education[]`**: by start date, most recent first
* **Skills & Languages**: alphabetical
* **Certifications**: by issue date, most recent first

## Next Steps

* **[Dataset Statistics](/docs/person-data/stats)** - Coverage statistics and field fill rates
* **[Field Reference](/docs/person-data/fields)** - Detailed descriptions of all fields
* **[Enum Values](/docs/enums)** - All possible enum values
* **[Data Quality](/docs/data-quality/overview)** - Learn about our quality processes
