DataContractGate

Cloud Free needs no credit card

Sign inSign up
← Catalog
CRM

Salesforce — data contract (compatible with Salesforce’s documented schema; not affiliated with Salesforce)

Salesforce Opportunity object — core standard fields from the Object Reference. Compatible with Salesforce's documented Opportunity object; not affiliated with Salesforce.

Validate a client's Salesforce export at ingest into your warehouse, or with POST /egress before sending the same shape to a partner, reverse ETL, or an AI agent.

Download YAML

Also available: ODCS v3.1.0 YAML. “Use this contract” forks it into your org, then opens the validation playground so you can upload the client file.

Fields

NameTypeRequiredRuleDescription
Idstringrequiredpattern /^[A-Za-z0-9]{15,18}$/—
Namestringrequired——
AccountIdstringoptionalpattern /^[A-Za-z0-9]{15,18}$/—
StageNamestringrequiredone of: Prospecting, Qualification, Needs Analysis, Value Proposition, Id. Decision Makers, Perception Analysis, Proposal/Price Quote, Negotiation/Review, Closed Won, Closed LostCurrent stage of the opportunity (standard sales process picklist).
Amountnumberoptional≥ 0—
Probabilitynumberoptional0–100Percentage likelihood the opportunity will close.
CloseDatedaterequired—Date when the opportunity is expected to close.
Typestringoptionalone of: Existing Customer - Upgrade, Existing Customer - Replacement, Existing Customer - Downgrade, New Customer—
IsClosedbooleanoptional——
IsWonbooleanoptional——
CreatedDatetimestampoptional——

Sample rows

Three synthetic rows we wrote. They validate against this contract with zero violations. No real customer data.

[
  {
    "AccountId": "001ExampleAcct0001",
    "Amount": 48000,
    "CloseDate": "2026-03-31",
    "CreatedDate": "2026-01-10T16:05:00Z",
    "Id": "006ExampleOppy0001",
    "IsClosed": false,
    "IsWon": false,
    "Name": "Example Co - New Platform",
    "Probability": 60,
    "StageName": "Proposal/Price Quote",
    "Type": "New Customer"
  },
  {
    "AccountId": "001ExampleAcct0002",
    "Amount": 12000,
    "CloseDate": "2026-02-15",
    "CreatedDate": "2026-01-11T09:40:00Z",
    "Id": "006ExampleOppy0002",
    "IsClosed": true,
    "IsWon": true,
    "Name": "Acme Test - Renewal",
    "Probability": 100,
    "StageName": "Closed Won",
    "Type": "Existing Customer - Upgrade"
  },
  {
    "CloseDate": "2026-04-30",
    "Id": "006ExampleOppy0003",
    "IsClosed": false,
    "IsWon": false,
    "Name": "Sample Partner - Pilot",
    "Probability": 20,
    "StageName": "Qualification"
  }
]

Provenance

Checked
2026-11-05
Version
v1.0
Author
DataContractGate
License
MIT

Spotted a mismatch with the vendor’s current schema? Report an issue.

Stripe, Shopify, QuickBooks, Xero, HubSpot, Salesforce, Google Analytics and Square are trademarks of their respective owners. DataContractGate is not affiliated with or endorsed by them. These contracts describe data shaped like these vendors’ documented schemas; they are not official and are not certified by any vendor.