{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkedin/json-schema/linkedin-contracts-response-schema.json",
  "title": "ContractsResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkedin-sales-contracts-api-openapi.yml#/components/schemas/ContractsResponse",
  "type": "object",
  "properties": {
    "elements": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Contract"
      }
    },
    "paging": {
      "$ref": "#/$defs/Paging"
    }
  },
  "$defs": {
    "Contract": {
      "type": "object",
      "properties": {
        "contract": {
          "type": "string",
          "description": "The URN of this Sales Navigator contract"
        },
        "name": {
          "type": "string",
          "description": "The name of this contract, appropriate for display to an end-user"
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Additional information about the contract"
        },
        "hasReportingAccess": {
          "type": "boolean",
          "description": "Indicates whether the user can export data for this contract"
        }
      },
      "required": [
        "contract",
        "name",
        "hasReportingAccess"
      ]
    },
    "Paging": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        },
        "start": {
          "type": "integer"
        },
        "links": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}