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