Skip to content

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

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
    }
  }
}

Generated from spec source.