{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sap-bydesign/json-schema/sap-bydesign-opportunity-schema.json",
  "title": "Opportunity",
  "description": "SAP Business ByDesign CRM opportunity.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-bydesign-crm-api-openapi.yml#/components/schemas/Opportunity",
  "type": "object",
  "properties": {
    "ObjectID": {
      "type": "string"
    },
    "ID": {
      "type": "string"
    },
    "ProspectPartyName": {
      "type": "string"
    },
    "StatusCode": {
      "type": "string"
    },
    "SalesCyclePhaseCode": {
      "type": "string"
    },
    "ExpectedRevenueAmount": {
      "type": "string"
    },
    "CurrencyCode": {
      "type": "string"
    },
    "CloseDate": {
      "type": "string",
      "format": "date"
    }
  }
}