{
  "@context": {
    "@vocab": "https://shardflux.dev/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "shardflux": "https://shardflux.dev/schema#",
    "ErrorBody": "shardflux:ErrorBody",
    "error": {
      "@id": "shardflux:error"
    },
    "SuspendProgress": "shardflux:SuspendProgress",
    "operation_id": {
      "@id": "shardflux:operation_id",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "shardflux:state",
      "@type": "xsd:string"
    },
    "workspace_state": {
      "@id": "shardflux:workspace_state",
      "@type": "xsd:string"
    },
    "phase": {
      "@id": "shardflux:phase",
      "@type": "xsd:string"
    },
    "cancelable": {
      "@id": "shardflux:cancelable",
      "@type": "xsd:boolean"
    },
    "supported": {
      "@id": "shardflux:supported",
      "@type": "xsd:boolean"
    },
    "safe_action": {
      "@id": "shardflux:safe_action",
      "@type": "xsd:string"
    },
    "phase_started_at": {
      "@id": "shardflux:phase_started_at",
      "@type": "xsd:dateTime"
    },
    "deadline_at": {
      "@id": "shardflux:deadline_at",
      "@type": "xsd:dateTime"
    },
    "accepted": {
      "@id": "shardflux:accepted",
      "@type": "xsd:boolean"
    },
    "Operation": "shardflux:Operation",
    "id": {
      "@id": "shardflux:id",
      "@type": "xsd:string"
    },
    "kind": {
      "@id": "shardflux:kind",
      "@type": "xsd:string"
    },
    "workspace_id": {
      "@id": "shardflux:workspace_id"
    },
    "volume_id": {
      "@id": "shardflux:volume_id"
    },
    "created_at": {
      "@id": "shardflux:created_at",
      "@type": "xsd:dateTime"
    },
    "updated_at": {
      "@id": "shardflux:updated_at",
      "@type": "xsd:dateTime"
    },
    "started_at": {
      "@id": "shardflux:started_at"
    },
    "completed_at": {
      "@id": "shardflux:completed_at"
    },
    "state_reason": {
      "@id": "shardflux:state_reason"
    },
    "input": {
      "@id": "shardflux:input"
    },
    "result": {
      "@id": "shardflux:result"
    },
    "progress": {
      "@id": "shardflux:progress",
      "@type": "@id"
    },
    "WorkspaceLifetime": "shardflux:WorkspaceLifetime",
    "DiskLayout": "shardflux:DiskLayout",
    "WorkspacePurpose": "shardflux:WorkspacePurpose",
    "WorkspaceMode": "shardflux:WorkspaceMode",
    "TemplateDefaults": "shardflux:TemplateDefaults",
    "lifetime": {
      "@id": "shardflux:lifetime",
      "@type": "@id"
    },
    "idle_timeout_seconds": {
      "@id": "shardflux:idle_timeout_seconds"
    },
    "limits": {
      "@id": "shardflux:limits"
    },
    "egress": {
      "@id": "shardflux:egress"
    },
    "agent_tools": {
      "@id": "shardflux:agent_tools"
    },
    "TemplateEgressDefault": "shardflux:TemplateEgressDefault",
    "mode": {
      "@id": "shardflux:mode",
      "@type": "xsd:string"
    },
    "allow_hosts": {
      "@id": "shardflux:allow_hosts",
      "@container": "@list"
    },
    "TemplateInput": "shardflux:TemplateInput",
    "required": {
      "@id": "shardflux:required",
      "@type": "xsd:boolean"
    },
    "default": {
      "@id": "shardflux:default"
    },
    "description": {
      "@id": "shardflux:description"
    },
    "TemplateStartCommand": "shardflux:TemplateStartCommand",
    "name": {
      "@id": "shardflux:name",
      "@type": "xsd:string"
    },
    "when": {
      "@id": "shardflux:when",
      "@type": "xsd:string"
    },
    "run": {
      "@id": "shardflux:run",
      "@type": "xsd:string"
    },
    "user": {
      "@id": "shardflux:user"
    },
    "cwd": {
      "@id": "shardflux:cwd"
    },
    "timeout_seconds": {
      "@id": "shardflux:timeout_seconds",
      "@type": "xsd:integer"
    },
    "TemplateService": "shardflux:TemplateService",
    "restart": {
      "@id": "shardflux:restart",
      "@type": "xsd:string"
    },
    "ready": {
      "@id": "shardflux:ready"
    },
    "ready_timeout_seconds": {
      "@id": "shardflux:ready_timeout_seconds",
      "@type": "xsd:integer"
    },
    "initialized_cpu": {
      "@id": "shardflux:initialized_cpu"
    },
    "TemplateSettings": "shardflux:TemplateSettings",
    "env": {
      "@id": "shardflux:env"
    },
    "inputs": {
      "@id": "shardflux:inputs"
    },
    "start": {
      "@id": "shardflux:start",
      "@container": "@list"
    },
    "services": {
      "@id": "shardflux:services"
    },
    "defaults": {
      "@id": "shardflux:defaults",
      "@type": "@id"
    },
    "data_mounts": {
      "@id": "shardflux:data_mounts",
      "@container": "@list"
    },
    "TemplateSettingsInput": "shardflux:TemplateSettingsInput",
    "TemplateRecipeV1": "shardflux:TemplateRecipeV1",
    "base": {
      "@id": "shardflux:base",
      "@type": "xsd:string"
    },
    "dockerfile": {
      "@id": "shardflux:dockerfile",
      "@type": "xsd:string"
    },
    "architecture": {
      "@id": "shardflux:architecture",
      "@type": "xsd:string"
    },
    "resources": {
      "@id": "shardflux:resources"
    },
    "network": {
      "@id": "shardflux:network"
    },
    "TemplateRecipeV2": "shardflux:TemplateRecipeV2",
    "build": {
      "@id": "shardflux:build"
    },
    "settings": {
      "@id": "shardflux:settings"
    },
    "immutable": {
      "@id": "shardflux:immutable",
      "@container": "@list"
    },
    "TemplateUploadRequest": "shardflux:TemplateUploadRequest",
    "sha256": {
      "@id": "shardflux:sha256",
      "@type": "xsd:string"
    },
    "size": {
      "@id": "shardflux:size",
      "@type": "xsd:integer"
    },
    "TemplateUpload": "shardflux:TemplateUpload",
    "verified_at": {
      "@id": "shardflux:verified_at"
    },
    "TemplateUploadResponse": "shardflux:TemplateUploadResponse",
    "upload": {
      "@id": "shardflux:upload",
      "@type": "@id"
    },
    "put": {
      "@id": "shardflux:put"
    },
    "TemplateVersionRecipe": "shardflux:TemplateVersionRecipe",
    "version": {
      "@id": "shardflux:version",
      "@type": "xsd:integer"
    },
    "source_kind": {
      "@id": "shardflux:source_kind"
    },
    "recipe": {
      "@id": "shardflux:recipe"
    },
    "TemplatePackagePage": "shardflux:TemplatePackagePage",
    "data": {
      "@id": "shardflux:data",
      "@container": "@list"
    },
    "source": {
      "@id": "shardflux:source",
      "@type": "xsd:string"
    },
    "TemplatePackage": "shardflux:TemplatePackage",
    "summary": {
      "@id": "shardflux:summary"
    },
    "versions": {
      "@id": "shardflux:versions",
      "@container": "@list"
    },
    "TemplateLanguages": "shardflux:TemplateLanguages",
    "platform_base": {
      "@id": "shardflux:platform_base",
      "@type": "xsd:string"
    },
    "apt_hosts": {
      "@id": "shardflux:apt_hosts",
      "@container": "@list"
    },
    "TemplateSource": "shardflux:TemplateSource",
    "workspace": {
      "@id": "shardflux:workspace"
    },
    "TemplateFilesSummary": "shardflux:TemplateFilesSummary",
    "entries": {
      "@id": "shardflux:entries"
    },
    "total_file_bytes": {
      "@id": "shardflux:total_file_bytes"
    },
    "TemplateStorageWarning": "shardflux:TemplateStorageWarning",
    "TemplateStorage": "shardflux:TemplateStorage",
    "format": {
      "@id": "shardflux:format",
      "@type": "xsd:string"
    },
    "org_bytes": {
      "@id": "shardflux:org_bytes",
      "@type": "xsd:integer"
    },
    "new_bytes": {
      "@id": "shardflux:new_bytes",
      "@type": "xsd:integer"
    },
    "base_bytes": {
      "@id": "shardflux:base_bytes"
    },
    "template_bytes": {
      "@id": "shardflux:template_bytes",
      "@type": "xsd:integer"
    },
    "org_template_bytes": {
      "@id": "shardflux:org_template_bytes",
      "@type": "xsd:integer"
    },
    "plan_storage_bytes": {
      "@id": "shardflux:plan_storage_bytes"
    },
    "template_share": {
      "@id": "shardflux:template_share"
    },
    "org_share": {
      "@id": "shardflux:org_share"
    },
    "warnings": {
      "@id": "shardflux:warnings",
      "@container": "@list"
    },
    "OrgTemplateStorage": "shardflux:OrgTemplateStorage",
    "bytes": {
      "@id": "shardflux:bytes",
      "@type": "xsd:integer"
    },
    "share": {
      "@id": "shardflux:share"
    },
    "largest": {
      "@id": "shardflux:largest",
      "@container": "@list"
    },
    "TemplateBuild": "shardflux:TemplateBuild",
    "organization_id": {
      "@id": "shardflux:organization_id",
      "@type": "xsd:string"
    },
    "template": {
      "@id": "shardflux:template"
    },
    "target_version": {
      "@id": "shardflux:target_version"
    },
    "auto_publish": {
      "@id": "shardflux:auto_publish",
      "@type": "xsd:boolean"
    },
    "published_at": {
      "@id": "shardflux:published_at"
    },
    "registration": {
      "@id": "shardflux:registration"
    },
    "template_version": {
      "@id": "shardflux:template_version"
    },
    "cancel_requested_at": {
      "@id": "shardflux:cancel_requested_at"
    },
    "requested_by": {
      "@id": "shardflux:requested_by"
    },
    "bounds": {
      "@id": "shardflux:bounds"
    },
    "requested_bounds": {
      "@id": "shardflux:requested_bounds"
    },
    "bound_sources": {
      "@id": "shardflux:bound_sources"
    },
    "denied_hosts": {
      "@id": "shardflux:denied_hosts",
      "@container": "@list"
    },
    "provenance": {
      "@id": "shardflux:provenance"
    },
    "failure": {
      "@id": "shardflux:failure"
    },
    "log": {
      "@id": "shardflux:log"
    },
    "publishable": {
      "@id": "shardflux:publishable",
      "@type": "xsd:boolean"
    },
    "builder_availability": {
      "@id": "shardflux:builder_availability"
    },
    "queue": {
      "@id": "shardflux:queue"
    },
    "source_workspace_id": {
      "@id": "shardflux:source_workspace_id"
    },
    "source_checkpoint_id": {
      "@id": "shardflux:source_checkpoint_id"
    },
    "scrub_result": {
      "@id": "shardflux:scrub_result"
    },
    "files": {
      "@id": "shardflux:files"
    },
    "produced_layer_id": {
      "@id": "shardflux:produced_layer_id"
    },
    "squashed": {
      "@id": "shardflux:squashed"
    },
    "immutable_paths": {
      "@id": "shardflux:immutable_paths",
      "@container": "@list"
    },
    "DraftState": "shardflux:DraftState",
    "checkpoint_id": {
      "@id": "shardflux:checkpoint_id",
      "@type": "xsd:string"
    },
    "label": {
      "@id": "shardflux:label"
    },
    "captured_at": {
      "@id": "shardflux:captured_at",
      "@type": "xsd:dateTime"
    },
    "captured_by": {
      "@id": "shardflux:captured_by"
    },
    "test_instances": {
      "@id": "shardflux:test_instances",
      "@type": "xsd:integer"
    },
    "CreateDraftBody": "shardflux:CreateDraftBody",
    "project_id": {
      "@id": "shardflux:project_id",
      "@type": "xsd:string"
    },
    "display_name": {
      "@id": "shardflux:display_name",
      "@type": "xsd:string"
    },
    "caps": {
      "@id": "shardflux:caps"
    },
    "agent_label": {
      "@id": "shardflux:agent_label",
      "@type": "xsd:string"
    },
    "tools": {
      "@id": "shardflux:tools",
      "@container": "@list"
    },
    "CreateTestInstanceBody": "shardflux:CreateTestInstanceBody",
    "state_id": {
      "@id": "shardflux:state_id",
      "@type": "xsd:string"
    },
    "key": {
      "@id": "shardflux:key",
      "@type": "xsd:string"
    },
    "PublishDraftBody": "shardflux:PublishDraftBody",
    "acknowledged_scan_findings": {
      "@id": "shardflux:acknowledged_scan_findings",
      "@container": "@list"
    },
    "SaveAsTemplateBody": "shardflux:SaveAsTemplateBody",
    "template_slug": {
      "@id": "shardflux:template_slug",
      "@type": "xsd:string"
    },
    "SaveAsTemplateResponse": "shardflux:SaveAsTemplateResponse",
    "operation": {
      "@id": "shardflux:operation"
    },
    "ResetWorkspaceBody": "shardflux:ResetWorkspaceBody",
    "confirm_destructive": {
      "@id": "shardflux:confirm_destructive",
      "@type": "xsd:boolean"
    },
    "TemplateFileEntry": "shardflux:TemplateFileEntry",
    "path": {
      "@id": "shardflux:path",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "shardflux:type",
      "@type": "xsd:string"
    },
    "size_bytes": {
      "@id": "shardflux:size_bytes",
      "@type": "xsd:integer"
    },
    "uid": {
      "@id": "shardflux:uid",
      "@type": "xsd:integer"
    },
    "gid": {
      "@id": "shardflux:gid",
      "@type": "xsd:integer"
    },
    "link_target": {
      "@id": "shardflux:link_target"
    },
    "hardlink_of": {
      "@id": "shardflux:hardlink_of"
    },
    "child_count": {
      "@id": "shardflux:child_count"
    },
    "TemplateFilePage": "shardflux:TemplateFilePage",
    "next_cursor": {
      "@id": "shardflux:next_cursor"
    },
    "TemplateDiffEntry": "shardflux:TemplateDiffEntry",
    "change": {
      "@id": "shardflux:change",
      "@type": "xsd:string"
    },
    "before": {
      "@id": "shardflux:before"
    },
    "after": {
      "@id": "shardflux:after"
    },
    "TemplateDiffPage": "shardflux:TemplateDiffPage",
    "from": {
      "@id": "shardflux:from"
    },
    "to": {
      "@id": "shardflux:to"
    },
    "WorkspaceStartup": "shardflux:WorkspaceStartup",
    "trigger": {
      "@id": "shardflux:trigger"
    },
    "step": {
      "@id": "shardflux:step"
    },
    "service": {
      "@id": "shardflux:service"
    },
    "exit_code": {
      "@id": "shardflux:exit_code"
    },
    "output_tail": {
      "@id": "shardflux:output_tail"
    },
    "reason": {
      "@id": "shardflux:reason"
    },
    "at": {
      "@id": "shardflux:at"
    },
    "WorkspaceInputs": "shardflux:WorkspaceInputs",
    "CreateVersionTestInstanceBody": "shardflux:CreateVersionTestInstanceBody",
    "SuspendRequest": "shardflux:SuspendRequest",
    "requested_at": {
      "@id": "shardflux:requested_at",
      "@type": "xsd:dateTime"
    },
    "after_seconds": {
      "@id": "shardflux:after_seconds",
      "@type": "xsd:integer"
    },
    "not_before": {
      "@id": "shardflux:not_before",
      "@type": "xsd:dateTime"
    },
    "ResizeWorkspaceBody": "shardflux:ResizeWorkspaceBody",
    "memory_mib": {
      "@id": "shardflux:memory_mib",
      "@type": "xsd:integer"
    },
    "memory_mib_held": {
      "@id": "shardflux:memory_mib_held",
      "@type": "xsd:integer"
    },
    "allocation_mode": {
      "@id": "shardflux:allocation_mode",
      "@type": "xsd:string"
    },
    "cpu_millis": {
      "@id": "shardflux:cpu_millis",
      "@type": "xsd:integer"
    },
    "disk_gib": {
      "@id": "shardflux:disk_gib",
      "@type": "xsd:integer"
    },
    "at_least": {
      "@id": "shardflux:at_least",
      "@type": "xsd:boolean"
    },
    "ResizeResult": "shardflux:ResizeResult",
    "memory": {
      "@id": "shardflux:memory"
    },
    "cpu": {
      "@id": "shardflux:cpu"
    },
    "disk": {
      "@id": "shardflux:disk"
    },
    "ComputerUse": "shardflux:ComputerUse",
    "enabled": {
      "@id": "shardflux:enabled",
      "@type": "xsd:boolean"
    },
    "available": {
      "@id": "shardflux:available",
      "@type": "xsd:boolean"
    },
    "BrowserProfile": "shardflux:BrowserProfile",
    "scope": {
      "@id": "shardflux:scope"
    },
    "sites": {
      "@id": "shardflux:sites",
      "@container": "@list"
    },
    "fingerprint": {
      "@id": "shardflux:fingerprint",
      "@type": "xsd:string"
    },
    "Workspace": "shardflux:Workspace",
    "secret_redaction_required": {
      "@id": "shardflux:secret_redaction_required",
      "@type": "xsd:boolean"
    },
    "workspace_key": {
      "@id": "shardflux:workspace_key",
      "@type": "xsd:string"
    },
    "labels": {
      "@id": "shardflux:labels"
    },
    "retention": {
      "@id": "shardflux:retention"
    },
    "template_version_id": {
      "@id": "shardflux:template_version_id",
      "@type": "xsd:string"
    },
    "desired_state": {
      "@id": "shardflux:desired_state",
      "@type": "xsd:string"
    },
    "observed_state": {
      "@id": "shardflux:observed_state",
      "@type": "xsd:string"
    },
    "cell_id": {
      "@id": "shardflux:cell_id"
    },
    "cell_endpoint": {
      "@id": "shardflux:cell_endpoint"
    },
    "ownership_epoch": {
      "@id": "shardflux:ownership_epoch",
      "@type": "xsd:integer"
    },
    "ceilings": {
      "@id": "shardflux:ceilings"
    },
    "grants": {
      "@id": "shardflux:grants"
    },
    "storage_recovery": {
      "@id": "shardflux:storage_recovery"
    },
    "disk_space": {
      "@id": "shardflux:disk_space"
    },
    "active_operation": {
      "@id": "shardflux:active_operation"
    },
    "pending_reason": {
      "@id": "shardflux:pending_reason"
    },
    "forked_from_workspace_id": {
      "@id": "shardflux:forked_from_workspace_id"
    },
    "disk_layout": {
      "@id": "shardflux:disk_layout",
      "@type": "@id"
    },
    "purpose": {
      "@id": "shardflux:purpose",
      "@type": "@id"
    },
    "idle": {
      "@id": "shardflux:idle"
    },
    "origin": {
      "@id": "shardflux:origin"
    },
    "ended_reason": {
      "@id": "shardflux:ended_reason"
    },
    "dev_template_id": {
      "@id": "shardflux:dev_template_id"
    },
    "startup": {
      "@id": "shardflux:startup"
    },
    "tree_revision": {
      "@id": "shardflux:tree_revision",
      "@type": "xsd:integer"
    },
    "upgrade_available": {
      "@id": "shardflux:upgrade_available"
    },
    "upgrade_pending": {
      "@id": "shardflux:upgrade_pending"
    },
    "computer_use": {
      "@id": "shardflux:computer_use",
      "@type": "@id"
    },
    "deleted_at": {
      "@id": "shardflux:deleted_at"
    },
    "TemplateDraft": "shardflux:TemplateDraft",
    "base_version": {
      "@id": "shardflux:base_version"
    },
    "states_count": {
      "@id": "shardflux:states_count",
      "@type": "xsd:integer"
    },
    "latest_state": {
      "@id": "shardflux:latest_state"
    },
    "test_instances_live": {
      "@id": "shardflux:test_instances_live",
      "@type": "xsd:integer"
    },
    "created_by": {
      "@id": "shardflux:created_by"
    },
    "ToolToken": "shardflux:ToolToken",
    "token": {
      "@id": "shardflux:token",
      "@type": "xsd:string"
    },
    "token_type": {
      "@id": "shardflux:token_type",
      "@type": "xsd:string"
    },
    "expires_at": {
      "@id": "shardflux:expires_at",
      "@type": "xsd:dateTime"
    },
    "issued_at": {
      "@id": "shardflux:issued_at",
      "@type": "xsd:dateTime"
    },
    "kid": {
      "@id": "shardflux:kid",
      "@type": "xsd:string"
    },
    "audience": {
      "@id": "shardflux:audience",
      "@type": "xsd:string"
    },
    "agent_session_id": {
      "@id": "shardflux:agent_session_id",
      "@type": "xsd:string"
    },
    "Port": "shardflux:Port",
    "port": {
      "@id": "shardflux:port",
      "@type": "xsd:integer"
    },
    "url": {
      "@id": "shardflux:url",
      "@type": "xsd:string"
    },
    "callback": {
      "@id": "shardflux:callback"
    },
    "Volume": "shardflux:Volume",
    "cloned_from_volume_id": {
      "@id": "shardflux:cloned_from_volume_id"
    },
    "quota_gib": {
      "@id": "shardflux:quota_gib",
      "@type": "xsd:integer"
    },
    "org_shared": {
      "@id": "shardflux:org_shared",
      "@type": "xsd:boolean"
    },
    "backup_policy": {
      "@id": "shardflux:backup_policy",
      "@type": "xsd:string"
    },
    "usage": {
      "@id": "shardflux:usage"
    },
    "live_attachments": {
      "@id": "shardflux:live_attachments",
      "@type": "xsd:integer"
    },
    "delete_requested_at": {
      "@id": "shardflux:delete_requested_at"
    },
    "VolumeAttachment": "shardflux:VolumeAttachment",
    "volume": {
      "@id": "shardflux:volume"
    },
    "mount_path": {
      "@id": "shardflux:mount_path",
      "@type": "xsd:string"
    },
    "mounted": {
      "@id": "shardflux:mounted",
      "@type": "xsd:boolean"
    },
    "attach_operation_id": {
      "@id": "shardflux:attach_operation_id",
      "@type": "xsd:string"
    },
    "detach_operation_id": {
      "@id": "shardflux:detach_operation_id"
    },
    "attached_at": {
      "@id": "shardflux:attached_at"
    },
    "detach_requested_at": {
      "@id": "shardflux:detach_requested_at"
    },
    "detached_at": {
      "@id": "shardflux:detached_at"
    },
    "SpendCap": "shardflux:SpendCap",
    "paused": {
      "@id": "shardflux:paused",
      "@type": "xsd:boolean"
    },
    "cap_minor": {
      "@id": "shardflux:cap_minor"
    },
    "effective_cap_minor": {
      "@id": "shardflux:effective_cap_minor",
      "@type": "xsd:integer"
    },
    "max_cap_minor": {
      "@id": "shardflux:max_cap_minor"
    },
    "charges_minor": {
      "@id": "shardflux:charges_minor",
      "@type": "xsd:integer"
    },
    "remaining_minor": {
      "@id": "shardflux:remaining_minor",
      "@type": "xsd:integer"
    },
    "percent_of_cap": {
      "@id": "shardflux:percent_of_cap"
    },
    "currency": {
      "@id": "shardflux:currency",
      "@type": "xsd:string"
    },
    "resets_at": {
      "@id": "shardflux:resets_at",
      "@type": "xsd:dateTime"
    },
    "lines": {
      "@id": "shardflux:lines",
      "@container": "@list"
    },
    "projected_reached_at": {
      "@id": "shardflux:projected_reached_at"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Shardflux API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Shardflux's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-24) from openapi/shardflux-dev-openapi.json.",
  "dcterms:created": "2026-11-24",
  "dcterms:source": [
    "openapi/shardflux-dev-openapi.json"
  ]
}