Skip to content
Novus Examples
json2 KB

Tern Client Services — Numeric expected results

Numeric expected results for Tern Client Services. Exact table counts, metric formulas, 4 chart points and three negative-test outcomes. Total deal value=34,500.00 USD; Weighted deal value=15,825.00 USD; Recorded activity time=720.00 minutes.

Preview, first 50 linesjson
{
  "schemaVersion": 1,
  "kitId": "business-crm-services",
  "asOf": "2026-09-08",
  "tableCounts": {
    "companies": 4,
    "contacts": 8,
    "deals": 12,
    "activities": 24,
    "leads": 8,
    "quotes": 12,
    "projects": 3,
    "timesheets": 24,
    "invoices": 3
  },
  "primaryKeyDuplicates": 0,
  "foreignKeyFailures": 0,
  "metrics": [
    {
      "id": "deals-amount",
      "label": "Total deal value",
      "value": 34500.0,
      "unit": "USD",
      "calculation": "Sum deals.amount over the included records.",
      "formula": {
        "op": "sum",
        "table": "deals",
        "column": "amount"
      }
    },
    {
      "id": "deals-weighted_amount",
      "label": "Weighted deal value",
      "value": 15825.0,
      "unit": "USD",
      "calculation": "Sum deals.weighted_amount over the included records.",
      "formula": {
        "op": "sum",
        "table": "deals",
        "column": "weighted_amount"
      }
    },
    {
      "id": "activities-minutes",
      "label": "Recorded activity time",
      "value": 720.0,
      "unit": "minutes",
      "calculation": "Sum activities.minutes over the included records.",
      "formula": {
        "op": "sum",
94 lines total: download for the full file.

Specifications

Kit
crm-services
Industry
professional-services
Schema Version
1
Synthetic
true
As Of
2026-09-08

Testing contract

Reference control
Scenario
Use numeric expected results in the Tern Client Services contacts, sales-pipeline, activities, leads, quotes, projects, timesheets, invoicing workflow.
Expected result
Exact table counts, metric formulas, 4 chart points and three negative-test outcomes. Total deal value=34,500.00 USD; Weighted deal value=15,825.00 USD; Recorded activity time=720.00 minutes.

What is a .json file?

JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.

How to use this file

Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.

How to use this file for testing

“Tern Client Services — Numeric expected results” is a deterministic Novus Examples fixture for Data import. Realistic faker-generated datasets with documented schemas for testing import and ETL flows.

Documented properties for this file: JSON · 2,038 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks (delimiters, encodings, null handling, schema, and row counts) in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

Code examples

import json

with open("expected-results.json") as f:
    data = json.load(f)
print(type(data), len(data))

Generated by generation/business_fixtures.py. Free for any use, no attribution required, license.