Affinity · Schema

Opportunity

Opportunity model

CRMRelationship IntelligencePrivate EquityVenture CapitalContactsOrganizationsOpportunitiesDeal Management

Properties

Name Type Description
id integer The unique identifier for the opportunity
name string The name of the opportunity
listId integer The ID of the list that the opportunity belongs to
View JSON Schema on GitHub

JSON Schema

affinity-opportunity-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Opportunity",
  "description": "Opportunity model",
  "type": "object",
  "properties": {
    "id": {
      "description": "The unique identifier for the opportunity",
      "type": "integer",
      "format": "int64",
      "minimum": 1,
      "maximum": 9007199254740991,
      "examples": [
        1
      ]
    },
    "name": {
      "description": "The name of the opportunity",
      "type": "string",
      "examples": [
        "Acme Upsell $10k"
      ]
    },
    "listId": {
      "description": "The ID of the list that the opportunity belongs to",
      "type": "integer",
      "format": "int64",
      "minimum": 1,
      "maximum": 9007199254740991,
      "examples": [
        1
      ]
    }
  },
  "required": [
    "id",
    "listId",
    "name"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "listId": 1,
      "name": "Acme Upsell $10k",
      "id": 1
    }
  ]
}