2X · JSON-LD Context

2X Context

JSON-LD context defining the semantic vocabulary for 2X from 2X.

26 Classes 76 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
2x: https://2x.com/schema#

Classes

ClientAlignment ValidationError AlignmentRead HTTPValidationError ClientAlignmentResponse AlignmentListResponse APIKeyResponse APIKeyScope APIKeyCreate ScoreChanges ClientResponse TrendDirection PortfolioHealthResponse ScoreChange StreamResponse StreamDetailResponse ClientListResponse ClientDetailResponse StreamListResponse RiskLevel ClientMetadata PortfolioDetailResponse PortfolioUser PortfolioListResponse PortfolioResponse AllStreamsListResponse

Properties

Property Type Container
clientId string
clientName
externalClientId
knownwellScore
scoreSource
alignment
loc list
msg string
type string
input
ctx
value string
week string
updatedAt
updatedBy
detail list
customerId string
clients list
total integer
id string
customer_id string
name string
description
scope string
status string
created_at dateTime
expires_at
last_used_at
api_key
expires_days
score integer
scoreChanges
lastContactDate
lastUpdatedAt
hasInsufficientData
metadata
extraColumns
historicalData
archived
breakdown
distribution
chr2CutoverDate
change decimal
percentage
previousScore decimal
parentClientId
parentClientName
streamState
goals
spotlight
insights
contextualClues
growthRecommendations
spotlightSummary
topics
streams list
accountOwner
annualRevenue
industry
location
active
accountStatus
domain
clientType
revenueTTM
revenueF12M
color
clientCount integer
userIds
isSystem boolean
createdAt
users
health
displayName
email
portfolios list

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://2x.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "2x": "https://2x.com/schema#",
    "ClientAlignment": "2x:ClientAlignment",
    "clientId": {
      "@id": "2x:clientId",
      "@type": "xsd:string"
    },
    "clientName": {
      "@id": "2x:clientName"
    },
    "externalClientId": {
      "@id": "2x:externalClientId"
    },
    "knownwellScore": {
      "@id": "2x:knownwellScore"
    },
    "scoreSource": {
      "@id": "2x:scoreSource"
    },
    "alignment": {
      "@id": "2x:alignment"
    },
    "ValidationError": "2x:ValidationError",
    "loc": {
      "@id": "2x:loc",
      "@container": "@list"
    },
    "msg": {
      "@id": "2x:msg",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "2x:type",
      "@type": "xsd:string"
    },
    "input": {
      "@id": "2x:input"
    },
    "ctx": {
      "@id": "2x:ctx"
    },
    "AlignmentRead": "2x:AlignmentRead",
    "value": {
      "@id": "2x:value",
      "@type": "xsd:string"
    },
    "week": {
      "@id": "2x:week",
      "@type": "xsd:string"
    },
    "updatedAt": {
      "@id": "2x:updatedAt"
    },
    "updatedBy": {
      "@id": "2x:updatedBy"
    },
    "HTTPValidationError": "2x:HTTPValidationError",
    "detail": {
      "@id": "2x:detail",
      "@container": "@list"
    },
    "ClientAlignmentResponse": "2x:ClientAlignmentResponse",
    "customerId": {
      "@id": "2x:customerId",
      "@type": "xsd:string"
    },
    "AlignmentListResponse": "2x:AlignmentListResponse",
    "clients": {
      "@id": "2x:clients",
      "@container": "@list"
    },
    "total": {
      "@id": "2x:total",
      "@type": "xsd:integer"
    },
    "APIKeyResponse": "2x:APIKeyResponse",
    "id": {
      "@id": "2x:id",
      "@type": "xsd:string"
    },
    "customer_id": {
      "@id": "2x:customer_id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "2x:name",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "2x:description"
    },
    "scope": {
      "@id": "2x:scope",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "2x:status",
      "@type": "xsd:string"
    },
    "created_at": {
      "@id": "2x:created_at",
      "@type": "xsd:dateTime"
    },
    "expires_at": {
      "@id": "2x:expires_at"
    },
    "last_used_at": {
      "@id": "2x:last_used_at"
    },
    "api_key": {
      "@id": "2x:api_key"
    },
    "APIKeyScope": "2x:APIKeyScope",
    "APIKeyCreate": "2x:APIKeyCreate",
    "expires_days": {
      "@id": "2x:expires_days"
    },
    "ScoreChanges": "2x:ScoreChanges",
    "ClientResponse": "2x:ClientResponse",
    "score": {
      "@id": "2x:score",
      "@type": "xsd:integer"
    },
    "scoreChanges": {
      "@id": "2x:scoreChanges"
    },
    "lastContactDate": {
      "@id": "2x:lastContactDate"
    },
    "lastUpdatedAt": {
      "@id": "2x:lastUpdatedAt"
    },
    "hasInsufficientData": {
      "@id": "2x:hasInsufficientData"
    },
    "metadata": {
      "@id": "2x:metadata"
    },
    "extraColumns": {
      "@id": "2x:extraColumns"
    },
    "historicalData": {
      "@id": "2x:historicalData"
    },
    "archived": {
      "@id": "2x:archived"
    },
    "TrendDirection": "2x:TrendDirection",
    "PortfolioHealthResponse": "2x:PortfolioHealthResponse",
    "breakdown": {
      "@id": "2x:breakdown"
    },
    "distribution": {
      "@id": "2x:distribution"
    },
    "chr2CutoverDate": {
      "@id": "2x:chr2CutoverDate"
    },
    "ScoreChange": "2x:ScoreChange",
    "change": {
      "@id": "2x:change",
      "@type": "xsd:decimal"
    },
    "percentage": {
      "@id": "2x:percentage"
    },
    "previousScore": {
      "@id": "2x:previousScore",
      "@type": "xsd:decimal"
    },
    "StreamResponse": "2x:StreamResponse",
    "parentClientId": {
      "@id": "2x:parentClientId"
    },
    "parentClientName": {
      "@id": "2x:parentClientName"
    },
    "streamState": {
      "@id": "2x:streamState"
    },
    "goals": {
      "@id": "2x:goals"
    },
    "StreamDetailResponse": "2x:StreamDetailResponse",
    "spotlight": {
      "@id": "2x:spotlight"
    },
    "insights": {
      "@id": "2x:insights"
    },
    "contextualClues": {
      "@id": "2x:contextualClues"
    },
    "growthRecommendations": {
      "@id": "2x:growthRecommendations"
    },
    "ClientListResponse": "2x:ClientListResponse",
    "ClientDetailResponse": "2x:ClientDetailResponse",
    "spotlightSummary": {
      "@id": "2x:spotlightSummary"
    },
    "topics": {
      "@id": "2x:topics"
    },
    "StreamListResponse": "2x:StreamListResponse",
    "streams": {
      "@id": "2x:streams",
      "@container": "@list"
    },
    "RiskLevel": "2x:RiskLevel",
    "ClientMetadata": "2x:ClientMetadata",
    "accountOwner": {
      "@id": "2x:accountOwner"
    },
    "annualRevenue": {
      "@id": "2x:annualRevenue"
    },
    "industry": {
      "@id": "2x:industry"
    },
    "location": {
      "@id": "2x:location"
    },
    "active": {
      "@id": "2x:active"
    },
    "accountStatus": {
      "@id": "2x:accountStatus"
    },
    "domain": {
      "@id": "2x:domain"
    },
    "clientType": {
      "@id": "2x:clientType"
    },
    "revenueTTM": {
      "@id": "2x:revenueTTM"
    },
    "revenueF12M": {
      "@id": "2x:revenueF12M"
    },
    "PortfolioDetailResponse": "2x:PortfolioDetailResponse",
    "color": {
      "@id": "2x:color"
    },
    "clientCount": {
      "@id": "2x:clientCount",
      "@type": "xsd:integer"
    },
    "userIds": {
      "@id": "2x:userIds"
    },
    "isSystem": {
      "@id": "2x:isSystem",
      "@type": "xsd:boolean"
    },
    "createdAt": {
      "@id": "2x:createdAt"
    },
    "users": {
      "@id": "2x:users"
    },
    "health": {
      "@id": "2x:health"
    },
    "PortfolioUser": "2x:PortfolioUser",
    "displayName": {
      "@id": "2x:displayName"
    },
    "email": {
      "@id": "2x:email"
    },
    "PortfolioListResponse": "2x:PortfolioListResponse",
    "portfolios": {
      "@id": "2x:portfolios",
      "@container": "@list"
    },
    "PortfolioResponse": "2x:PortfolioResponse",
    "AllStreamsListResponse": "2x:AllStreamsListResponse"
  },
  "@type": "schema:Dataset",
  "schema:name": "2X API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects 2X's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-04) from openapi/2x-alignment-api-openapi.yml, openapi/2x-api-keys-api-openapi.yml, openapi/2x-clients-api-openapi.yml.",
  "dcterms:created": "2026-11-04",
  "dcterms:source": [
    "openapi/2x-alignment-api-openapi.yml",
    "openapi/2x-api-keys-api-openapi.yml",
    "openapi/2x-clients-api-openapi.yml",
    "openapi/2x-documentation-api-openapi.yml",
    "openapi/2x-health-api-openapi.yml"
  ]
}