Roark · JSON-LD Context

Roark Context

JSON-LD context defining the semantic vocabulary for Roark from Roark.

120 Classes 325 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/
roark: https://roark.ai/schema#

Classes

HealthResponse ErrorResponse MeResponse MeApiKeyListResponse MeApiKey CreateMyApiKeyResponse CreateMyApiKeyInput MeApiKeyRevokeResponse ProjectListResponse AgentEndpointDetailResponse CreateAgentEndpointInput UpdateAgentEndpointInput GetAgentPromptsResponse AgentPromptResponse GetAgentPromptVersionsResponse AgentPromptVersionResponse SetAgentPromptResponse SetAgentPromptInput ListAgentVersionsResponse AgentVersionResponse AgentVersionSubAgent AgentVersionTool AgentVersionHandoff AgentVersionIssue RollbackAgentVersionInput CreateAgentDraftInput UpdateAgentDraftInput PublishAgentDraftInput PhoneNumberResponse AvailablePhoneNumberResponse PhoneNumberAllowanceResponse CreatePhoneNumberInput PhoneNumberAutoPickInput UpdatePhoneNumberInput ReleasePhoneNumberResponse CallCreate TranscriptEntryAgent TranscriptEntryCustomer AgentIdentificationByRoarkId AgentIdentificationByName AgentIdentificationByCustomId AgentEndpointById AgentEndpointByValue AppendToolInvocationsResponse MetricCollectionJobResponse AppendToolInvocationsRequest UpdateCallPropertiesResponse UpdateCallPropertiesRequest CallCost CostBreakdownItem CallCostLine ChatCreate ChatMessageAgent ChatMessageCustomer ChatAgentIdentificationByRoarkId ChatAgentIdentificationByName ChatAgentIdentificationByCustomId ListMetricDefinitionsResponse LlmJudgeMetricResponse ProviderMetricResponse ThresholdMetricResponse ThresholdMetricDetails FormulaMetricResponse FormulaMetricDetails PatternMetricResponse PatternMetricDetails HttpRequestMetricResponse HttpRequestMetricDetails PromptMetricInput FormulaMetricInput PatternMetricInput HttpRequestMetricInput HttpRequestMetricConfig CreateThresholdInput UpdateMetricDefinitionInput MetricVariantResponse CreateMetricVariantInput UpdateMetricVariantInput DeleteMetricVariantResponse GetMetricPoliciesResponse MetricPolicyResponse PolicyMetricSettings CreateMetricPolicyInput UpdateMetricPolicyInput GetMetricCollectionJobsResponse CreateMetricCollectionJobInput RunSimulationResponse RunSimulationFromConfig InlineRunPlanConfig RunPlanFlowSelection RunPlanEdgeCaseSelection RunPlanFlowOverride RunPlanMetricRef ComparisonArm RunSimulationFromPlanId RunSimulationFromConfigKey RunSimulationFromTemplate SimulationRunGroup SimulationRunGroupRun SimulationRunGroupReport SimulationRunGroupReportDocument CreateSimulationRunGroupInput ListSimulationRunGroupsResponse SimulationRunGroupListItem SimulationRunGroupReportSummary ListSimulationGroupsResponse SimulationGroup CreateSimulationGroupInput SimulationGroupNotificationsInput UpdateSimulationGroupInput GetEnvironmentsResponse EnvironmentResponse CreateEnvironmentInput UpdateEnvironmentInput DeleteEnvironmentResponse GetRunPlansResponse RunPlanResponse CreateRunPlanResponse RunSimulationPlanResponse CreateRunPlanFromConfig

Properties

Property Type Container
status string
version string
timestamp string
type string
code string
message string
param string
details
tokenScope string
user
organization
defaultProject
grantedPermissions list
scopes list
apiKeys list
id string
name string
createdAt string
lastUsedAt string
expiresAt string
organizationId string
defaultProjectId string
permissions list
key string
projectId string
deleted boolean
projects list
agentId string
value string
environment string
direction string
outboundDialType string
outboundDialHttpRequestDefinitionId string
updatedAt string
data list
source string
prompt string
versionNumber integer
promptId string
changed boolean
pagination
revision integer
baseVersionId string
rolledBackFromVersionId string
summary string
createdByType string
createdById string
publishedAt string
publishedByType string
publishedById string
modalities list
language string
firstMessageMode string
firstMessage string
firstMessageAudioUrl string
llmProvider string
llmModel string
llmTemperature decimal
llmMaxTokens integer
llmBackendModel string
llmVoice string
sttProvider string
sttModel string
sttKeyterms list
sttSmartFormat boolean
sttEndpointingMs integer
sttTurnDetection string
interruptionMode string
vadStartSecs decimal
vadStopSecs decimal
callMaxDurationSeconds integer
callSilenceTimeoutSeconds integer
idleTimeoutSeconds integer
idleMaxCount integer
idleMessages list
endDetectionPhrases list
endDetectionReasons list
endCallGoodbyeMessage string
backgroundNoise string
backgroundNoiseUrl string
backgroundNoiseVolume decimal
chatMaxDurationSeconds integer
chatInactivityTimeoutSeconds integer
subAgents list
issues list
systemPrompt string
isInitial boolean
ttsProvider string
ttsModel string
ttsVoiceId string
ttsSpeed decimal
ttsStability decimal
ttsSimilarityBoost decimal
tools list
handoffs list
toolDefinitionId string
pinnedVersion integer
to string
description string
once boolean
history string
note string
field string
expectedLiveVersionId string
fromVersionId string
expectedRevision integer
settings
e164 string
localityCode string
purchasedAt string
rentNextChargeAt string
isFree boolean
monthlyRentMicros integer
region string
locality string
bestEffort boolean
plan string
freeLimit integer
used integer
paidCount integer
nextIsFree boolean
canPurchase boolean
blockedReason string
isOverridden boolean
autoPick reference
country string
expectFree boolean
expectMonthlyRentMicros integer
numberType string
areaCode string
contains string
released boolean
recordingUrl reference
stereoRecordingUrl reference
startedAt string
interfaceType string
callDirection string
endedStatus string
transcript list
toolInvocations list
properties
vapiCallId string
livekitRoomId string
externalId string
agent
agents list
customer
customers list
startOffsetMs integer
endOffsetMs integer
text string
languageCode string
payload
role string
roarkId string
customId string
callId string
added integer
skipped integer
metricCollectionJob
metricCollectionError string
triggeredBy string
totalItems integer
completedItems integer
failedItems integer
completedAt string
errorMessage string
policyIds list
metrics list
updated list
removed list
currency string
totalUsdMicros integer
totalUsd decimal
breakdown list
items list
surface string
amountUsdMicros integer
amountUsd decimal
quantity decimal
eventId string
quantityUnit string
provider string
model string
simulationJobId string
metricDefinitionId string
metricCollectionJobId string
occurredAt string
startTimestamp string
endTimestamp string
messages list
traceId string
slug string
metricId string
variantId string
versionId string
scope string
supportedContexts list
supportedConversationSources list
requiresLiveConversation boolean
supportsVariants boolean
unit
evidenceSource
calculationType string
llmPrompt string
booleanTrueLabel string
booleanFalseLabel string
threshold reference
sourceMetricDefinitionId string
operator string
thresholdValue string
aggregationMode string
countThreshold integer
sourceParticipantRole string
sourceVariantId string
formula reference
expression string
sources list
pattern reference
operation string
windowMode string
triggerCombinator string
triggers list
outcome
httpRequest
url string
method string
headers
body string
outputType string
participantRole string
analysisPackageId string
scaleMin integer
scaleMax integer
scaleLabels list
classificationOptions list
maxClassifications integer
trigger
toolDefinitionIds list
changeReason string
calcType
supportsMultipleVariants
isSystem boolean
isDefault boolean
conditions list
verifiedProperties list
excludedPhrases list
voicemailScript string
screeningBrief string
knowledgeBaseDocumentIds list
modality string
callIds list
chatIds list
policyId string
simulationRunPlanJobId string
simulationRunPlanId string
savedAsPlan boolean
simulationJobCount integer
saveAsPlan boolean
variables
iterationCount integer
maxConcurrentJobs integer
maxSimulationDurationSeconds integer
silenceTimeoutSeconds integer
maxNoResponseRetries integer
noResponseRetryBackoffSeconds integer
endCallPhrases list
endCallReasons list
executionMode string
scenarios list
flows list
personas list
agentEndpoints list
includeFlowMetrics boolean
includeAutomaticMetrics boolean
comparisonProperty string
comparisonBaseline string
comparisonValues list
enrichWithLiveConversation boolean
happyPath boolean
edgeCases
personaOverrideId string
overrides list
property string
conversationSource string
minPassRate decimal
planId string
planConfigKey string
template string
additionalMetrics list
questions list
personaId string
environmentId string
runCount integer
runs list
latestReport
planName string
runNumber integer
endedAt string
document
generatedAtIso string
simulationRunGroupId string
headline
executiveSummary list
scorecard list
wentWell list
smallerItems list
recommendations list
aggregates list
methodology string
simulationRunPlanJobIds list
simulationRunPlanIds list
configManaged boolean
plans list
notifications
lastRunAt string
latestRunGroupId string
email
slack list
isConfigManaged boolean
evaluators list
testCaseCount integer
runPlan reference
runPlanJob
autoRun boolean

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://roark.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "roark": "https://roark.ai/schema#",
    "HealthResponse": "roark:HealthResponse",
    "status": {
      "@id": "roark:status",
      "@type": "xsd:string"
    },
    "version": {
      "@id": "roark:version",
      "@type": "xsd:string"
    },
    "timestamp": {
      "@id": "roark:timestamp",
      "@type": "xsd:string"
    },
    "ErrorResponse": "roark:ErrorResponse",
    "type": {
      "@id": "roark:type",
      "@type": "xsd:string"
    },
    "code": {
      "@id": "roark:code",
      "@type": "xsd:string"
    },
    "message": {
      "@id": "roark:message",
      "@type": "xsd:string"
    },
    "param": {
      "@id": "roark:param",
      "@type": "xsd:string"
    },
    "details": {
      "@id": "roark:details"
    },
    "MeResponse": "roark:MeResponse",
    "tokenScope": {
      "@id": "roark:tokenScope",
      "@type": "xsd:string"
    },
    "user": {
      "@id": "roark:user"
    },
    "organization": {
      "@id": "roark:organization"
    },
    "defaultProject": {
      "@id": "roark:defaultProject"
    },
    "grantedPermissions": {
      "@id": "roark:grantedPermissions",
      "@container": "@list"
    },
    "scopes": {
      "@id": "roark:scopes",
      "@container": "@list"
    },
    "MeApiKeyListResponse": "roark:MeApiKeyListResponse",
    "apiKeys": {
      "@id": "roark:apiKeys",
      "@container": "@list"
    },
    "MeApiKey": "roark:MeApiKey",
    "id": {
      "@id": "roark:id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "roark:name",
      "@type": "xsd:string"
    },
    "createdAt": {
      "@id": "roark:createdAt",
      "@type": "xsd:string"
    },
    "lastUsedAt": {
      "@id": "roark:lastUsedAt",
      "@type": "xsd:string"
    },
    "expiresAt": {
      "@id": "roark:expiresAt",
      "@type": "xsd:string"
    },
    "organizationId": {
      "@id": "roark:organizationId",
      "@type": "xsd:string"
    },
    "defaultProjectId": {
      "@id": "roark:defaultProjectId",
      "@type": "xsd:string"
    },
    "permissions": {
      "@id": "roark:permissions",
      "@container": "@list"
    },
    "CreateMyApiKeyResponse": "roark:CreateMyApiKeyResponse",
    "key": {
      "@id": "roark:key",
      "@type": "xsd:string"
    },
    "CreateMyApiKeyInput": "roark:CreateMyApiKeyInput",
    "projectId": {
      "@id": "roark:projectId",
      "@type": "xsd:string"
    },
    "MeApiKeyRevokeResponse": "roark:MeApiKeyRevokeResponse",
    "deleted": {
      "@id": "roark:deleted",
      "@type": "xsd:boolean"
    },
    "ProjectListResponse": "roark:ProjectListResponse",
    "projects": {
      "@id": "roark:projects",
      "@container": "@list"
    },
    "AgentEndpointDetailResponse": "roark:AgentEndpointDetailResponse",
    "agentId": {
      "@id": "roark:agentId",
      "@type": "xsd:string"
    },
    "value": {
      "@id": "roark:value",
      "@type": "xsd:string"
    },
    "environment": {
      "@id": "roark:environment",
      "@type": "xsd:string"
    },
    "direction": {
      "@id": "roark:direction",
      "@type": "xsd:string"
    },
    "outboundDialType": {
      "@id": "roark:outboundDialType",
      "@type": "xsd:string"
    },
    "outboundDialHttpRequestDefinitionId": {
      "@id": "roark:outboundDialHttpRequestDefinitionId",
      "@type": "xsd:string"
    },
    "updatedAt": {
      "@id": "roark:updatedAt",
      "@type": "xsd:string"
    },
    "CreateAgentEndpointInput": "roark:CreateAgentEndpointInput",
    "UpdateAgentEndpointInput": "roark:UpdateAgentEndpointInput",
    "GetAgentPromptsResponse": "roark:GetAgentPromptsResponse",
    "data": {
      "@id": "roark:data",
      "@container": "@list"
    },
    "AgentPromptResponse": "roark:AgentPromptResponse",
    "source": {
      "@id": "roark:source",
      "@type": "xsd:string"
    },
    "prompt": {
      "@id": "roark:prompt",
      "@type": "xsd:string"
    },
    "GetAgentPromptVersionsResponse": "roark:GetAgentPromptVersionsResponse",
    "AgentPromptVersionResponse": "roark:AgentPromptVersionResponse",
    "versionNumber": {
      "@id": "roark:versionNumber",
      "@type": "xsd:integer"
    },
    "SetAgentPromptResponse": "roark:SetAgentPromptResponse",
    "promptId": {
      "@id": "roark:promptId",
      "@type": "xsd:string"
    },
    "changed": {
      "@id": "roark:changed",
      "@type": "xsd:boolean"
    },
    "SetAgentPromptInput": "roark:SetAgentPromptInput",
    "ListAgentVersionsResponse": "roark:ListAgentVersionsResponse",
    "pagination": {
      "@id": "roark:pagination"
    },
    "AgentVersionResponse": "roark:AgentVersionResponse",
    "revision": {
      "@id": "roark:revision",
      "@type": "xsd:integer"
    },
    "baseVersionId": {
      "@id": "roark:baseVersionId",
      "@type": "xsd:string"
    },
    "rolledBackFromVersionId": {
      "@id": "roark:rolledBackFromVersionId",
      "@type": "xsd:string"
    },
    "summary": {
      "@id": "roark:summary",
      "@type": "xsd:string"
    },
    "createdByType": {
      "@id": "roark:createdByType",
      "@type": "xsd:string"
    },
    "createdById": {
      "@id": "roark:createdById",
      "@type": "xsd:string"
    },
    "publishedAt": {
      "@id": "roark:publishedAt",
      "@type": "xsd:string"
    },
    "publishedByType": {
      "@id": "roark:publishedByType",
      "@type": "xsd:string"
    },
    "publishedById": {
      "@id": "roark:publishedById",
      "@type": "xsd:string"
    },
    "modalities": {
      "@id": "roark:modalities",
      "@container": "@list"
    },
    "language": {
      "@id": "roark:language",
      "@type": "xsd:string"
    },
    "firstMessageMode": {
      "@id": "roark:firstMessageMode",
      "@type": "xsd:string"
    },
    "firstMessage": {
      "@id": "roark:firstMessage",
      "@type": "xsd:string"
    },
    "firstMessageAudioUrl": {
      "@id": "roark:firstMessageAudioUrl",
      "@type": "xsd:string"
    },
    "llmProvider": {
      "@id": "roark:llmProvider",
      "@type": "xsd:string"
    },
    "llmModel": {
      "@id": "roark:llmModel",
      "@type": "xsd:string"
    },
    "llmTemperature": {
      "@id": "roark:llmTemperature",
      "@type": "xsd:decimal"
    },
    "llmMaxTokens": {
      "@id": "roark:llmMaxTokens",
      "@type": "xsd:integer"
    },
    "llmBackendModel": {
      "@id": "roark:llmBackendModel",
      "@type": "xsd:string"
    },
    "llmVoice": {
      "@id": "roark:llmVoice",
      "@type": "xsd:string"
    },
    "sttProvider": {
      "@id": "roark:sttProvider",
      "@type": "xsd:string"
    },
    "sttModel": {
      "@id": "roark:sttModel",
      "@type": "xsd:string"
    },
    "sttKeyterms": {
      "@id": "roark:sttKeyterms",
      "@container": "@list"
    },
    "sttSmartFormat": {
      "@id": "roark:sttSmartFormat",
      "@type": "xsd:boolean"
    },
    "sttEndpointingMs": {
      "@id": "roark:sttEndpointingMs",
      "@type": "xsd:integer"
    },
    "sttTurnDetection": {
      "@id": "roark:sttTurnDetection",
      "@type": "xsd:string"
    },
    "interruptionMode": {
      "@id": "roark:interruptionMode",
      "@type": "xsd:string"
    },
    "vadStartSecs": {
      "@id": "roark:vadStartSecs",
      "@type": "xsd:decimal"
    },
    "vadStopSecs": {
      "@id": "roark:vadStopSecs",
      "@type": "xsd:decimal"
    },
    "callMaxDurationSeconds": {
      "@id": "roark:callMaxDurationSeconds",
      "@type": "xsd:integer"
    },
    "callSilenceTimeoutSeconds": {
      "@id": "roark:callSilenceTimeoutSeconds",
      "@type": "xsd:integer"
    },
    "idleTimeoutSeconds": {
      "@id": "roark:idleTimeoutSeconds",
      "@type": "xsd:integer"
    },
    "idleMaxCount": {
      "@id": "roark:idleMaxCount",
      "@type": "xsd:integer"
    },
    "idleMessages": {
      "@id": "roark:idleMessages",
      "@container": "@list"
    },
    "endDetectionPhrases": {
      "@id": "roark:endDetectionPhrases",
      "@container": "@list"
    },
    "endDetectionReasons": {
      "@id": "roark:endDetectionReasons",
      "@container": "@list"
    },
    "endCallGoodbyeMessage": {
      "@id": "roark:endCallGoodbyeMessage",
      "@type": "xsd:string"
    },
    "backgroundNoise": {
      "@id": "roark:backgroundNoise",
      "@type": "xsd:string"
    },
    "backgroundNoiseUrl": {
      "@id": "roark:backgroundNoiseUrl",
      "@type": "xsd:string"
    },
    "backgroundNoiseVolume": {
      "@id": "roark:backgroundNoiseVolume",
      "@type": "xsd:decimal"
    },
    "chatMaxDurationSeconds": {
      "@id": "roark:chatMaxDurationSeconds",
      "@type": "xsd:integer"
    },
    "chatInactivityTimeoutSeconds": {
      "@id": "roark:chatInactivityTimeoutSeconds",
      "@type": "xsd:integer"
    },
    "subAgents": {
      "@id": "roark:subAgents",
      "@container": "@list"
    },
    "issues": {
      "@id": "roark:issues",
      "@container": "@list"
    },
    "AgentVersionSubAgent": "roark:AgentVersionSubAgent",
    "systemPrompt": {
      "@id": "roark:systemPrompt",
      "@type": "xsd:string"
    },
    "isInitial": {
      "@id": "roark:isInitial",
      "@type": "xsd:boolean"
    },
    "ttsProvider": {
      "@id": "roark:ttsProvider",
      "@type": "xsd:string"
    },
    "ttsModel": {
      "@id": "roark:ttsModel",
      "@type": "xsd:string"
    },
    "ttsVoiceId": {
      "@id": "roark:ttsVoiceId",
      "@type": "xsd:string"
    },
    "ttsSpeed": {
      "@id": "roark:ttsSpeed",
      "@type": "xsd:decimal"
    },
    "ttsStability": {
      "@id": "roark:ttsStability",
      "@type": "xsd:decimal"
    },
    "ttsSimilarityBoost": {
      "@id": "roark:ttsSimilarityBoost",
      "@type": "xsd:decimal"
    },
    "tools": {
      "@id": "roark:tools",
      "@container": "@list"
    },
    "handoffs": {
      "@id": "roark:handoffs",
      "@container": "@list"
    },
    "AgentVersionTool": "roark:AgentVersionTool",
    "toolDefinitionId": {
      "@id": "roark:toolDefinitionId",
      "@type": "xsd:string"
    },
    "pinnedVersion": {
      "@id": "roark:pinnedVersion",
      "@type": "xsd:integer"
    },
    "AgentVersionHandoff": "roark:AgentVersionHandoff",
    "to": {
      "@id": "roark:to",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "roark:description",
      "@type": "xsd:string"
    },
    "once": {
      "@id": "roark:once",
      "@type": "xsd:boolean"
    },
    "history": {
      "@id": "roark:history",
      "@type": "xsd:string"
    },
    "note": {
      "@id": "roark:note",
      "@type": "xsd:string"
    },
    "AgentVersionIssue": "roark:AgentVersionIssue",
    "field": {
      "@id": "roark:field",
      "@type": "xsd:string"
    },
    "RollbackAgentVersionInput": "roark:RollbackAgentVersionInput",
    "expectedLiveVersionId": {
      "@id": "roark:expectedLiveVersionId",
      "@type": "xsd:string"
    },
    "CreateAgentDraftInput": "roark:CreateAgentDraftInput",
    "fromVersionId": {
      "@id": "roark:fromVersionId",
      "@type": "xsd:string"
    },
    "UpdateAgentDraftInput": "roark:UpdateAgentDraftInput",
    "expectedRevision": {
      "@id": "roark:expectedRevision",
      "@type": "xsd:integer"
    },
    "settings": {
      "@id": "roark:settings"
    },
    "PublishAgentDraftInput": "roark:PublishAgentDraftInput",
    "PhoneNumberResponse": "roark:PhoneNumberResponse",
    "e164": {
      "@id": "roark:e164",
      "@type": "xsd:string"
    },
    "localityCode": {
      "@id": "roark:localityCode",
      "@type": "xsd:string"
    },
    "purchasedAt": {
      "@id": "roark:purchasedAt",
      "@type": "xsd:string"
    },
    "rentNextChargeAt": {
      "@id": "roark:rentNextChargeAt",
      "@type": "xsd:string"
    },
    "isFree": {
      "@id": "roark:isFree",
      "@type": "xsd:boolean"
    },
    "monthlyRentMicros": {
      "@id": "roark:monthlyRentMicros",
      "@type": "xsd:integer"
    },
    "AvailablePhoneNumberResponse": "roark:AvailablePhoneNumberResponse",
    "region": {
      "@id": "roark:region",
      "@type": "xsd:string"
    },
    "locality": {
      "@id": "roark:locality",
      "@type": "xsd:string"
    },
    "bestEffort": {
      "@id": "roark:bestEffort",
      "@type": "xsd:boolean"
    },
    "PhoneNumberAllowanceResponse": "roark:PhoneNumberAllowanceResponse",
    "plan": {
      "@id": "roark:plan",
      "@type": "xsd:string"
    },
    "freeLimit": {
      "@id": "roark:freeLimit",
      "@type": "xsd:integer"
    },
    "used": {
      "@id": "roark:used",
      "@type": "xsd:integer"
    },
    "paidCount": {
      "@id": "roark:paidCount",
      "@type": "xsd:integer"
    },
    "nextIsFree": {
      "@id": "roark:nextIsFree",
      "@type": "xsd:boolean"
    },
    "canPurchase": {
      "@id": "roark:canPurchase",
      "@type": "xsd:boolean"
    },
    "blockedReason": {
      "@id": "roark:blockedReason",
      "@type": "xsd:string"
    },
    "isOverridden": {
      "@id": "roark:isOverridden",
      "@type": "xsd:boolean"
    },
    "CreatePhoneNumberInput": "roark:CreatePhoneNumberInput",
    "autoPick": {
      "@id": "roark:autoPick",
      "@type": "@id"
    },
    "country": {
      "@id": "roark:country",
      "@type": "xsd:string"
    },
    "expectFree": {
      "@id": "roark:expectFree",
      "@type": "xsd:boolean"
    },
    "expectMonthlyRentMicros": {
      "@id": "roark:expectMonthlyRentMicros",
      "@type": "xsd:integer"
    },
    "PhoneNumberAutoPickInput": "roark:PhoneNumberAutoPickInput",
    "numberType": {
      "@id": "roark:numberType",
      "@type": "xsd:string"
    },
    "areaCode": {
      "@id": "roark:areaCode",
      "@type": "xsd:string"
    },
    "contains": {
      "@id": "roark:contains",
      "@type": "xsd:string"
    },
    "UpdatePhoneNumberInput": "roark:UpdatePhoneNumberInput",
    "ReleasePhoneNumberResponse": "roark:ReleasePhoneNumberResponse",
    "released": {
      "@id": "roark:released",
      "@type": "xsd:boolean"
    },
    "CallCreate": "roark:CallCreate",
    "recordingUrl": {
      "@id": "roark:recordingUrl",
      "@type": "@id"
    },
    "stereoRecordingUrl": {
      "@id": "roark:stereoRecordingUrl",
      "@type": "@id"
    },
    "startedAt": {
      "@id": "roark:startedAt",
      "@type": "xsd:string"
    },
    "interfaceType": {
      "@id": "roark:interfaceType",
      "@type": "xsd:string"
    },
    "callDirection": {
      "@id": "roark:callDirection",
      "@type": "xsd:string"
    },
    "endedStatus": {
      "@id": "roark:endedStatus",
      "@type": "xsd:string"
    },
    "transcript": {
      "@id": "roark:transcript",
      "@container": "@list"
    },
    "toolInvocations": {
      "@id": "roark:toolInvocations",
      "@container": "@list"
    },
    "properties": {
      "@id": "roark:properties"
    },
    "vapiCallId": {
      "@id": "roark:vapiCallId",
      "@type": "xsd:string"
    },
    "livekitRoomId": {
      "@id": "roark:livekitRoomId",
      "@type": "xsd:string"
    },
    "externalId": {
      "@id": "roark:externalId",
      "@type": "xsd:string"
    },
    "agent": {
      "@id": "roark:agent"
    },
    "agents": {
      "@id": "roark:agents",
      "@container": "@list"
    },
    "customer": {
      "@id": "roark:customer"
    },
    "customers": {
      "@id": "roark:customers",
      "@container": "@list"
    },
    "TranscriptEntryAgent": "roark:TranscriptEntryAgent",
    "startOffsetMs": {
      "@id": "roark:startOffsetMs",
      "@type": "xsd:integer"
    },
    "endOffsetMs": {
      "@id": "roark:endOffsetMs",
      "@type": "xsd:integer"
    },
    "text": {
      "@id": "roark:text",
      "@type": "xsd:string"
    },
    "languageCode": {
      "@id": "roark:languageCode",
      "@type": "xsd:string"
    },
    "payload": {
      "@id": "roark:payload"
    },
    "role": {
      "@id": "roark:role",
      "@type": "xsd:string"
    },
    "TranscriptEntryCustomer": "roark:TranscriptEntryCustomer",
    "AgentIdentificationByRoarkId": "roark:AgentIdentificationByRoarkId",
    "roarkId": {
      "@id": "roark:roarkId",
      "@type": "xsd:string"
    },
    "AgentIdentificationByName": "roark:AgentIdentificationByName",
    "customId": {
      "@id": "roark:customId",
      "@type": "xsd:string"
    },
    "AgentIdentificationByCustomId": "roark:AgentIdentificationByCustomId",
    "AgentEndpointById": "roark:AgentEndpointById",
    "AgentEndpointByValue": "roark:AgentEndpointByValue",
    "AppendToolInvocationsResponse": "roark:AppendToolInvocationsResponse",
    "callId": {
      "@id": "roark:callId",
      "@type": "xsd:string"
    },
    "added": {
      "@id": "roark:added",
      "@type": "xsd:integer"
    },
    "skipped": {
      "@id": "roark:skipped",
      "@type": "xsd:integer"
    },
    "metricCollectionJob": {
      "@id": "roark:metricCollectionJob"
    },
    "metricCollectionError": {
      "@id": "roark:metricCollectionError",
      "@type": "xsd:string"
    },
    "MetricCollectionJobResponse": "roark:MetricCollectionJobResponse",
    "triggeredBy": {
      "@id": "roark:triggeredBy",
      "@type": "xsd:string"
    },
    "totalItems": {
      "@id": "roark:totalItems",
      "@type": "xsd:integer"
    },
    "completedItems": {
      "@id": "roark:completedItems",
      "@type": "xsd:integer"
    },
    "failedItems": {
      "@id": "roark:failedItems",
      "@type": "xsd:integer"
    },
    "completedAt": {
      "@id": "roark:completedAt",
      "@type": "xsd:string"
    },
    "errorMessage": {
      "@id": "roark:errorMessage",
      "@type": "xsd:string"
    },
    "policyIds": {
      "@id": "roark:policyIds",
      "@container": "@list"
    },
    "AppendToolInvocationsRequest": "roark:AppendToolInvocationsRequest",
    "metrics": {
      "@id": "roark:metrics",
      "@container": "@list"
    },
    "UpdateCallPropertiesResponse": "roark:UpdateCallPropertiesResponse",
    "updated": {
      "@id": "roark:updated",
      "@container": "@list"
    },
    "removed": {
      "@id": "roark:removed",
      "@container": "@list"
    },
    "UpdateCallPropertiesRequest": "roark:UpdateCallPropertiesRequest",
    "CallCost": "roark:CallCost",
    "currency": {
      "@id": "roark:currency",
      "@type": "xsd:string"
    },
    "totalUsdMicros": {
      "@id": "roark:totalUsdMicros",
      "@type": "xsd:integer"
    },
    "totalUsd": {
      "@id": "roark:totalUsd",
      "@type": "xsd:decimal"
    },
    "breakdown": {
      "@id": "roark:breakdown",
      "@container": "@list"
    },
    "items": {
      "@id": "roark:items",
      "@container": "@list"
    },
    "CostBreakdownItem": "roark:CostBreakdownItem",
    "surface": {
      "@id": "roark:surface",
      "@type": "xsd:string"
    },
    "amountUsdMicros": {
      "@id": "roark:amountUsdMicros",
      "@type": "xsd:integer"
    },
    "amountUsd": {
      "@id": "roark:amountUsd",
      "@type": "xsd:decimal"
    },
    "quantity": {
      "@id": "roark:quantity",
      "@type": "xsd:decimal"
    },
    "CallCostLine": "roark:CallCostLine",
    "eventId": {
      "@id": "roark:eventId",
      "@type": "xsd:string"
    },
    "quantityUnit": {
      "@id": "roark:quantityUnit",
      "@type": "xsd:string"
    },
    "provider": {
      "@id": "roark:provider",
      "@type": "xsd:string"
    },
    "model": {
      "@id": "roark:model",
      "@type": "xsd:string"
    },
    "simulationJobId": {
      "@id": "roark:simulationJobId",
      "@type": "xsd:string"
    },
    "metricDefinitionId": {
      "@id": "roark:metricDefinitionId",
      "@type": "xsd:string"
    },
    "metricCollectionJobId": {
      "@id": "roark:metricCollectionJobId",
      "@type": "xsd:string"
    },
    "occurredAt": {
      "@id": "roark:occurredAt",
      "@type": "xsd:string"
    },
    "ChatCreate": "roark:ChatCreate",
    "startTimestamp": {
      "@id": "roark:startTimestamp",
      "@type": "xsd:string"
    },
    "endTimestamp": {
      "@id": "roark:endTimestamp",
      "@type": "xsd:string"
    },
    "messages": {
      "@id": "roark:messages",
      "@container": "@list"
    },
    "traceId": {
      "@id": "roark:traceId",
      "@type": "xsd:string"
    },
    "ChatMessageAgent": "roark:ChatMessageAgent",
    "ChatMessageCustomer": "roark:ChatMessageCustomer",
    "ChatAgentIdentificationByRoarkId": "roark:ChatAgentIdentificationByRoarkId",
    "ChatAgentIdentificationByName": "roark:ChatAgentIdentificationByName",
    "ChatAgentIdentificationByCustomId": "roark:ChatAgentIdentificationByCustomId",
    "ListMetricDefinitionsResponse": "roark:ListMetricDefinitionsResponse",
    "LlmJudgeMetricResponse": "roark:LlmJudgeMetricResponse",
    "slug": {
      "@id": "roark:slug",
      "@type": "xsd:string"
    },
    "metricId": {
      "@id": "roark:metricId",
      "@type": "xsd:string"
    },
    "variantId": {
      "@id": "roark:variantId",
      "@type": "xsd:string"
    },
    "versionId": {
      "@id": "roark:versionId",
      "@type": "xsd:string"
    },
    "scope": {
      "@id": "roark:scope",
      "@type": "xsd:string"
    },
    "supportedContexts": {
      "@id": "roark:supportedContexts",
      "@container": "@list"
    },
    "supportedConversationSources": {
      "@id": "roark:supportedConversationSources",
      "@container": "@list"
    },
    "requiresLiveConversation": {
      "@id": "roark:requiresLiveConversation",
      "@type": "xsd:boolean"
    },
    "supportsVariants": {
      "@id": "roark:supportsVariants",
      "@type": "xsd:boolean"
    },
    "unit": {
      "@id": "roark:unit"
    },
    "evidenceSource": {
      "@id": "roark:evidenceSource"
    },
    "calculationType": {
      "@id": "roark:calculationType",
      "@type": "xsd:string"
    },
    "llmPrompt": {
      "@id": "roark:llmPrompt",
      "@type": "xsd:string"
    },
    "booleanTrueLabel": {
      "@id": "roark:booleanTrueLabel",
      "@type": "xsd:string"
    },
    "booleanFalseLabel": {
      "@id": "roark:booleanFalseLabel",
      "@type": "xsd:string"
    },
    "ProviderMetricResponse": "roark:ProviderMetricResponse",
    "ThresholdMetricResponse": "roark:ThresholdMetricResponse",
    "threshold": {
      "@id": "roark:threshold",
      "@type": "@id"
    },
    "ThresholdMetricDetails": "roark:ThresholdMetricDetails",
    "sourceMetricDefinitionId": {
      "@id": "roark:sourceMetricDefinitionId",
      "@type": "xsd:string"
    },
    "operator": {
      "@id": "roark:operator",
      "@type": "xsd:string"
    },
    "thresholdValue": {
      "@id": "roark:thresholdValue",
      "@type": "xsd:string"
    },
    "aggregationMode": {
      "@id": "roark:aggregationMode",
      "@type": "xsd:string"
    },
    "countThreshold": {
      "@id": "roark:countThreshold",
      "@type": "xsd:integer"
    },
    "sourceParticipantRole": {
      "@id": "roark:sourceParticipantRole",
      "@type": "xsd:string"
    },
    "sourceVariantId": {
      "@id": "roark:sourceVariantId",
      "@type": "xsd:string"
    },
    "FormulaMetricResponse": "roark:FormulaMetricResponse",
    "formula": {
      "@id": "roark:formula",
      "@type": "@id"
    },
    "FormulaMetricDetails": "roark:FormulaMetricDetails",
    "expression": {
      "@id": "roark:expression",
      "@type": "xsd:string"
    },
    "sources": {
      "@id": "roark:sources",
      "@container": "@list"
    },
    "PatternMetricResponse": "roark:PatternMetricResponse",
    "pattern": {
      "@id": "roark:pattern",
      "@type": "@id"
    },
    "PatternMetricDetails": "roark:PatternMetricDetails",
    "operation": {
      "@id": "roark:operation",
      "@type": "xsd:string"
    },
    "windowMode": {
      "@id": "roark:windowMode",
      "@type": "xsd:string"
    },
    "triggerCombinator": {
      "@id": "roark:triggerCombinator",
      "@type": "xsd:string"
    },
    "triggers": {
      "@id": "roark:triggers",
      "@container": "@list"
    },
    "outcome": {
      "@id": "roark:outcome"
    },
    "HttpRequestMetricResponse": "roark:HttpRequestMetricResponse",
    "httpRequest": {
      "@id": "roark:httpRequest"
    },
    "HttpRequestMetricDetails": "roark:HttpRequestMetricDetails",
    "url": {
      "@id": "roark:url",
      "@type": "xsd:string"
    },
    "method": {
      "@id": "roark:method",
      "@type": "xsd:string"
    },
    "headers": {
      "@id": "roark:headers"
    },
    "body": {
      "@id": "roark:body",
      "@type": "xsd:string"
    },
    "PromptMetricInput": "roark:PromptMetricInput",
    "outputType": {
      "@id": "roark:outputType",
      "@type": "xsd:string"
    },
    "participantRole": {
      "@id": "roark:participantRole",
      "@type": "xsd:string"
    },
    "analysisPackageId": {
      "@id": "roark:analysisPackageId",
      "@type": "xsd:string"
    },
    "scaleMin": {
      "@id": "roark:scaleMin",
      "@type": "xsd:integer"
    },
    "scaleMax": {
      "@id": "roark:scaleMax",
      "@type": "xsd:integer"
    },
    "scaleLabels": {
      "@id": "roark:scaleLabels",
      "@container": "@list"
    },
    "classificationOptions": {
      "@id": "roark:classificationOptions",
      "@container": "@list"
    },
    "maxClassifications": {
      "@id": "roark:maxClassifications",
      "@type": "xsd:integer"
    },
    "FormulaMetricInput": "roark:FormulaMetricInput",
    "PatternMetricInput": "roark:PatternMetricInput",
    "trigger": {
      "@id": "roark:trigger"
    },
    "HttpRequestMetricInput": "roark:HttpRequestMetricInput",
    "HttpRequestMetricConfig": "roark:HttpRequestMetricConfig",
    "CreateThresholdInput": "roark:CreateThresholdInput",
    "UpdateMetricDefinitionInput": "roark:UpdateMetricDefinitionInput",
    "toolDefinitionIds": {
      "@id": "roark:toolDefinitionIds",
      "@container": "@list"
    },
    "changeReason": {
      "@id": "roark:changeReason",
      "@type": "xsd:string"
    },
    "calcType": {
      "@id": "roark:calcType"
    },
    "supportsMultipleVariants": {
      "@id": "roark:supportsMultipleVariants"
    },
    "MetricVariantResponse": "roark:MetricVariantResponse",
    "isSystem": {
      "@id": "roark:isSystem",
      "@type": "xsd:boolean"
    },
    "isDefault": {
      "@id": "roark:isDefault",
      "@type": "xsd:boolean"
    },
    "CreateMetricVariantInput": "roark:CreateMetricVariantInput",
    "UpdateMetricVariantInput": "roark:UpdateMetricVariantInput",
    "DeleteMetricVariantResponse": "roark:DeleteMetricVariantResponse",
    "GetMetricPoliciesResponse": "roark:GetMetricPoliciesResponse",
    "MetricPolicyResponse": "roark:MetricPolicyResponse",
    "conditions": {
      "@id": "roark:conditions",
      "@container": "@list"
    },
    "PolicyMetricSettings": "roark:PolicyMetricSettings",
    "verifiedProperties": {
      "@id": "roark:verifiedProperties",
      "@container": "@list"
    },
    "excludedPhrases": {
      "@id": "roark:excludedPhrases",
      "@container": "@list"
    },
    "voicemailScript": {
      "@id": "roark:voicemailScript",
      "@type": "xsd:string"
    },
    "screeningBrief": {
      "@id": "roark:screeningBrief",
      "@type": "xsd:string"
    },
    "knowledgeBaseDocumentIds": {
      "@id": "roark:knowledgeBaseDocumentIds",
      "@container": "@list"
    },
    "CreateMetricPolicyInput": "roark:CreateMetricPolicyInput",
    "modality": {
      "@id": "roark:modality",
      "@type": "xsd:string"
    },
    "UpdateMetricPolicyInput": "roark:UpdateMetricPolicyInput",
    "GetMetricCollectionJobsResponse": "roark:GetMetricCollectionJobsResponse",
    "CreateMetricCollectionJobInput": "roark:CreateMetricCollectionJobInput",
    "callIds": {
      "@id": "roark:callIds",
      "@container": "@list"
    },
    "chatIds": {
      "@id": "roark:chatIds",
      "@container": "@list"
    },
    "policyId": {
      "@id": "roark:policyId",
      "@type": "xsd:string"
    },
    "RunSimulationResponse": "roark:RunSimulationResponse",
    "simulationRunPlanJobId": {
      "@id": "roark:simulationRunPlanJobId",
      "@type": "xsd:string"
    },
    "simulationRunPlanId": {
      "@id": "roark:simulationRunPlanId",
      "@type": "xsd:string"
    },
    "savedAsPlan": {
      "@id": "roark:savedAsPlan",
      "@type": "xsd:boolean"
    },
    "simulationJobCount": {
      "@id": "roark:simulationJobCount",
      "@type": "xsd:integer"
    },
    "RunSimulationFromConfig": "roark:RunSimulationFromConfig",
    "saveAsPlan": {
      "@id": "roark:saveAsPlan",
      "@type": "xsd:boolean"
    },
    "variables": {
      "@id": "roark:variables"
    },
    "InlineRunPlanConfig": "roark:InlineRunPlanConfig",
    "iterationCount": {
      "@id": "roark:iterationCount",
      "@type": "xsd:integer"
    },
    "maxConcurrentJobs": {
      "@id": "roark:maxConcurrentJobs",
      "@type": "xsd:integer"
    },
    "maxSimulationDurationSeconds": {
      "@id": "roark:maxSimulationDurationSeconds",
      "@type": "xsd:integer"
    },
    "silenceTimeoutSeconds": {
      "@id": "roark:silenceTimeoutSeconds",
      "@type": "xsd:integer"
    },
    "maxNoResponseRetries": {
      "@id": "roark:maxNoResponseRetries",
      "@type": "xsd:integer"
    },
    "noResponseRetryBackoffSeconds": {
      "@id": "roark:noResponseRetryBackoffSeconds",
      "@type": "xsd:integer"
    },
    "endCallPhrases": {
      "@id": "roark:endCallPhrases",
      "@container": "@list"
    },
    "endCallReasons": {
      "@id": "roark:endCallReasons",
      "@container": "@list"
    },
    "executionMode": {
      "@id": "roark:executionMode",
      "@type": "xsd:string"
    },
    "scenarios": {
      "@id": "roark:scenarios",
      "@container": "@list"
    },
    "flows": {
      "@id": "roark:flows",
      "@container": "@list"
    },
    "personas": {
      "@id": "roark:personas",
      "@container": "@list"
    },
    "agentEndpoints": {
      "@id": "roark:agentEndpoints",
      "@container": "@list"
    },
    "includeFlowMetrics": {
      "@id": "roark:includeFlowMetrics",
      "@type": "xsd:boolean"
    },
    "includeAutomaticMetrics": {
      "@id": "roark:includeAutomaticMetrics",
      "@type": "xsd:boolean"
    },
    "comparisonProperty": {
      "@id": "roark:comparisonProperty",
      "@type": "xsd:string"
    },
    "comparisonBaseline": {
      "@id": "roark:comparisonBaseline",
      "@type": "xsd:string"
    },
    "comparisonValues": {
      "@id": "roark:comparisonValues",
      "@container": "@list"
    },
    "enrichWithLiveConversation": {
      "@id": "roark:enrichWithLiveConversation",
      "@type": "xsd:boolean"
    },
    "RunPlanFlowSelection": "roark:RunPlanFlowSelection",
    "happyPath": {
      "@id": "roark:happyPath",
      "@type": "xsd:boolean"
    },
    "edgeCases": {
      "@id": "roark:edgeCases"
    },
    "personaOverrideId": {
      "@id": "roark:personaOverrideId",
      "@type": "xsd:string"
    },
    "overrides": {
      "@id": "roark:overrides",
      "@container": "@list"
    },
    "RunPlanEdgeCaseSelection": "roark:RunPlanEdgeCaseSelection",
    "RunPlanFlowOverride": "roark:RunPlanFlowOverride",
    "property": {
      "@id": "roark:property",
      "@type": "xsd:string"
    },
    "RunPlanMetricRef": "roark:RunPlanMetricRef",
    "conversationSource": {
      "@id": "roark:conversationSource",
      "@type": "xsd:string"
    },
    "minPassRate": {
      "@id": "roark:minPassRate",
      "@type": "xsd:decimal"
    },
    "ComparisonArm": "roark:ComparisonArm",
    "RunSimulationFromPlanId": "roark:RunSimulationFromPlanId",
    "planId": {
      "@id": "roark:planId",
      "@type": "xsd:string"
    },
    "RunSimulationFromConfigKey": "roark:RunSimulationFromConfigKey",
    "planConfigKey": {
      "@id": "roark:planConfigKey",
      "@type": "xsd:string"
    },
    "RunSimulationFromTemplate": "roark:RunSimulationFromTemplate",
    "template": {
      "@id": "roark:template",
      "@type": "xsd:string"
    },
    "additionalMetrics": {
      "@id": "roark:additionalMetrics",
      "@container": "@list"
    },
    "questions": {
      "@id": "roark:questions",
      "@container": "@list"
    },
    "personaId": {
      "@id": "roark:personaId",
      "@type": "xsd:string"
    },
    "environmentId": {
      "@id": "roark:environmentId",
      "@type": "xsd:string"
    },
    "SimulationRunGroup": "roark:SimulationRunGroup",
    "runCount": {
      "@id": "roark:runCount",
      "@type": "xsd:integer"
    },
    "runs": {
      "@id": "roark:runs",
      "@container": "@list"
    },
    "latestReport": {
      "@id": "roark:latestReport"
    },
    "SimulationRunGroupRun": "roark:SimulationRunGroupRun",
    "planName": {
      "@id": "roark:planName",
      "@type": "xsd:string"
    },
    "runN

# --- truncated at 32 KB (36 KB total) ---
# Full source: https://artifacts.apis.io/roark/json-ld/roark-context.jsonld