主题
run-space
Generated reference page for
spec/v1/schemas/resources/run-space.json.
Metadata
- Type: JSON Schema
- Source:
spec/v1/schemas/resources/run-space.json - Raw: View Raw
Summary
- Schema ID: https://agent-service.spec/v1/schemas/resources/run-space.json
- Defs: 0
- Properties: 14
- Required: 8
Source
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agent-service.spec/v1/schemas/resources/run-space.json",
"type": "object",
"additionalProperties": false,
"required": ["runSpaceId", "orgId", "providerType", "runEnv", "kind", "status", "createdAt", "updatedAt"],
"properties": {
"runSpaceId": {
"$ref": "../common/identity.json#/$defs/runSpaceId"
},
"orgId": {
"$ref": "../common/identity.json#/$defs/orgId"
},
"providerType": {
"$ref": "../common/enums.json#/$defs/providerType"
},
"runEnv": {
"$ref": "../common/enums.json#/$defs/taskRunEnv"
},
"kind": {
"type": "string",
"enum": ["workspace", "instance", "slot", "invocation", "custom"]
},
"status": {
"type": "string",
"enum": ["provisioning", "ready", "occupied", "reclaiming", "terminated", "failed"]
},
"currentSessionId": {
"$ref": "../common/identity.json#/$defs/sessionId"
},
"currentRunId": {
"$ref": "../common/identity.json#/$defs/runId"
},
"currentAttemptId": {
"$ref": "../common/identity.json#/$defs/attemptId"
},
"locator": {
"type": "object",
"additionalProperties": true
},
"metadata": {
"type": "object",
"additionalProperties": true
},
"createdAt": {
"$ref": "../common/identity.json#/$defs/timestamp"
},
"updatedAt": {
"$ref": "../common/identity.json#/$defs/timestamp"
},
"terminatedAt": {
"$ref": "../common/identity.json#/$defs/timestamp"
}
}
}