主题
sandbox-session
Generated reference page for
spec/v1/schemas/resources/sandbox-session.json.
Metadata
- Type: JSON Schema
- Source:
spec/v1/schemas/resources/sandbox-session.json - Raw: View Raw
Summary
- Schema ID: https://agent-service.spec/v1/schemas/resources/sandbox-session.json
- Defs: 0
- Properties: 7
- Required: 5
Source
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agent-service.spec/v1/schemas/resources/sandbox-session.json",
"type": "object",
"additionalProperties": false,
"required": ["sessionId", "providerType", "runEnv", "runSpaceId", "status"],
"properties": {
"sessionId": {
"$ref": "../common/identity.json#/$defs/sessionId"
},
"providerType": {
"$ref": "../common/enums.json#/$defs/providerType"
},
"runEnv": {
"$ref": "../common/enums.json#/$defs/taskRunEnv"
},
"runSpaceId": {
"$ref": "../common/identity.json#/$defs/opaqueId"
},
"status": {
"$ref": "../common/enums.json#/$defs/sandboxSessionStatus"
},
"leaseExpiresAt": {
"$ref": "../common/identity.json#/$defs/timestamp"
},
"metadata": {
"type": "object",
"additionalProperties": true
}
}
}