{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-siebel/json-schema/oracle-siebel-opportunity-input-schema.json",
  "title": "OpportunityInput",
  "description": "Input payload for creating or updating an Opportunity record",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-siebel-opportunities-api-openapi.yml#/components/schemas/OpportunityInput",
  "type": "object",
  "required": [
    "Name"
  ],
  "properties": {
    "Name": {
      "type": "string",
      "description": "Opportunity name"
    },
    "Account": {
      "type": "string",
      "description": "Associated account name"
    },
    "Sales Stage": {
      "type": "string",
      "description": "Current stage in the sales process"
    },
    "Close Date": {
      "type": "string",
      "description": "Expected close date"
    },
    "Revenue": {
      "type": "number",
      "description": "Expected revenue amount"
    },
    "Win Probability": {
      "type": "number",
      "description": "Estimated probability of winning",
      "minimum": 0,
      "maximum": 100
    },
    "Description": {
      "type": "string",
      "description": "Detailed description"
    }
  }
}