Repository navigation
Expand file tree
/
Copy pathschema.json
More file actions
10 lines (10 loc) · 2.15 KB
/
Copy pathschema.json
File metadata and controls
10 lines (10 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
{
"version": "1.0",
"identity": {"required": ["id", "dataset_id", "synthetic"], "synthetic_value": true, "namespace": "seed/configuration/profile-shape fingerprint"},
"temporal": {"date_format": "ISO-8601", "timestamp_format": "UTC with Z", "history_anchor": "2026-10-28", "future_rows_allowed": ["meetings", "billing_schedule"]},
"money": {"unit": "integer minor units", "currency": "scenario configuration", "invariants": ["quantity * unit_amount_cents = line_total_cents", "subtotal + tax = gross", "gross - posted_credit - posted_payment = outstanding"]},
"relationships": {"source": "relationships.json", "rule": "all foreign keys resolve; task dependency graph is acyclic"},
"transport": {"canonical": "JSONL", "projection": "CSV", "nested_values": "JSON strings", "null": "empty", "booleans": "lower-case text", "spreadsheet_formula_prefix": "apostrophe"},
"domains": ["company", "accounts", "customers", "contacts", "leads", "opportunities", "services", "campaigns", "talent", "skills", "staff", "contracts", "projects", "milestones", "tasks", "time_entries", "expenses", "invoices", "credit_notes", "payments", "support_tickets", "meetings", "conversations", "notes", "activities", "knowledge", "knowledge_versions", "story_events"],
"portable_crm_fields": {"accounts": ["name", "account_type", "industry", "website", "email", "phone", "address", "lifecycle_stage", "owner_id", "employee_count", "annual_revenue_cents", "timezone", "country", "region", "description"], "contacts": ["account_id", "display_name", "first_name", "last_name", "email", "phone", "mobile", "title", "department", "job_function", "preferred_language", "consent", "marketing_status", "last_activity_at"], "leads": ["account_id", "contact_id", "owner_id", "campaign_id", "status", "created_at", "closed_at", "loss_reason", "score", "rating", "source", "source_detail", "next_activity_on", "qualification_note", "consent_status"], "opportunities": ["lead_id", "account_id", "owner_id", "name", "stage", "amount_cents", "currency", "created_at", "closed_on", "expected_close_on", "opportunity_type", "forecast_category", "probability_percent", "next_step", "next_step_on", "lead_source", "description"]}
}