Upwork · Schema

Contract

A freelance contract between a client and freelancer on Upwork

FreelancingJobTalentMarketplaceContractsHiring

Properties

Name Type Description
id string Unique identifier for the contract
status string Current status of the contract
jobTitle string Title of the job associated with this contract
freelancerId string ID of the freelancer on the contract
freelancerName string Name of the freelancer
clientId string ID of the client
rate number Hourly or fixed rate for the contract
currency string Currency for the contract rate
startedTime string When the contract started
endedTime string When the contract ended (if closed)
View JSON Schema on GitHub

JSON Schema

graphql-contract-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/upwork/refs/heads/main/json-schema/graphql-contract-schema.json",
  "title": "Contract",
  "description": "A freelance contract between a client and freelancer on Upwork",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the contract",
      "example": "contract-abc123"
    },
    "status": {
      "type": "string",
      "description": "Current status of the contract",
      "enum": [
        "active",
        "paused",
        "closed"
      ],
      "example": "active"
    },
    "jobTitle": {
      "type": "string",
      "description": "Title of the job associated with this contract",
      "example": "Python Developer for Data Pipeline"
    },
    "freelancerId": {
      "type": "string",
      "description": "ID of the freelancer on the contract",
      "example": "~abc123"
    },
    "freelancerName": {
      "type": "string",
      "description": "Name of the freelancer",
      "example": "Jane Smith"
    },
    "clientId": {
      "type": "string",
      "description": "ID of the client",
      "example": "~def456"
    },
    "rate": {
      "type": "number",
      "description": "Hourly or fixed rate for the contract",
      "example": 75.0
    },
    "currency": {
      "type": "string",
      "description": "Currency for the contract rate",
      "example": "USD"
    },
    "startedTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the contract started",
      "example": "2025-01-15T10:00:00Z"
    },
    "endedTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the contract ended (if closed)",
      "example": "2025-03-15T10:00:00Z"
    }
  }
}

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/graphql-contract"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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