ASAP · Schema

DealView

Public projection of a `crm.deal`.

FreelanceBillingCRMProductivity

Properties

Name Type Description
amount_cents integernull Expected amount **in cents**, or `null` before there is an estimate.
archived_at stringnull Soft-delete marker (RFC3339).
contact_id string Contact the deal belongs to.
created_at string Creation timestamp (RFC3339).
currency string ISO 4217 currency of `amount_cents`.
effective_probability integer Probability actually used for the weighted pipeline. Served even though it is derivable: a client that had to recompute it would need its own copy of the per-stage table, and the two would diverge. Th
expected_close_on stringnull Day the deal is expected to close on, `YYYY-MM-DD`.
id string Stable identifier.
lost_at stringnull When it was lost (RFC3339).
lost_reason stringnull Why it was lost.
owner_user_id stringnull Owner, or `null` for the org's backlog.
probability integernull Probability override, `null` when the stage's default applies.
source stringnull Where the deal came from.
stage string Pipeline stage token (`nouveau` … `perdu`).
title string Short human title.
updated_at string Last write timestamp (RFC3339).
won_at stringnull When it was won (RFC3339).
View JSON Schema on GitHub

JSON Schema

asap-cool-deal-view-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-deal-view-schema.json",
  "title": "DealView",
  "description": "Public projection of a `crm.deal`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-crm-api-openapi.yml#/components/schemas/DealView",
  "type": "object",
  "required": [
    "id",
    "contact_id",
    "title",
    "stage",
    "currency",
    "effective_probability",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "amount_cents": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "Expected amount **in cents**, or `null` before there is an estimate."
    },
    "archived_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "Soft-delete marker (RFC3339)."
    },
    "contact_id": {
      "type": "string",
      "format": "uuid",
      "description": "Contact the deal belongs to."
    },
    "created_at": {
      "type": "string",
      "description": "Creation timestamp (RFC3339)."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency of `amount_cents`."
    },
    "effective_probability": {
      "type": "integer",
      "format": "int32",
      "description": "Probability actually used for the weighted pipeline.\n\nServed even though it is derivable: a client that had to recompute it\nwould need its own copy of the per-stage table, and the two would\ndiverge. The weighted *amount* is deliberately absent — it is an\naggregate, and it lives in `GET /v1/crm/pipeline`."
    },
    "expected_close_on": {
      "type": [
        "string",
        "null"
      ],
      "description": "Day the deal is expected to close on, `YYYY-MM-DD`."
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Stable identifier."
    },
    "lost_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When it was lost (RFC3339)."
    },
    "lost_reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why it was lost."
    },
    "owner_user_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Owner, or `null` for the org's backlog."
    },
    "probability": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "Probability override, `null` when the stage's default applies."
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "description": "Where the deal came from."
    },
    "stage": {
      "type": "string",
      "description": "Pipeline stage token (`nouveau` … `perdu`)."
    },
    "title": {
      "type": "string",
      "description": "Short human title."
    },
    "updated_at": {
      "type": "string",
      "description": "Last write timestamp (RFC3339)."
    },
    "won_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When it was won (RFC3339)."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/asap-cool-deal-view"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.