SRIFT · JSON-LD Context

Srift App Context

JSON-LD context defining the semantic vocabulary for Srift App from SRIFT.

6 Classes 34 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
srift: https://srift.app/schema#

Classes

Transfer Participant PendingJoin DaemonStatus QuickShareResult ErrorResponse

Properties

Property Type Container
fileId string
name string
size decimal
progress decimal
speedKBps decimal
etaSeconds decimal
protocol string
status string
direction string
bytesTransferred decimal
userId string
username string
isHost boolean
online boolean
tempUserId string
session
activeTransfers list
pendingJoins list
participants list
lastUpdated string
success boolean
mode string
sessionId string
token string
downloadUrl string
shareUrl string
fileName string
fileSize decimal
maxDownloads decimal
expiresAt decimal
encrypted boolean
passwordProtected boolean
error string
retryAfterMs decimal

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://srift.app/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "srift": "https://srift.app/schema#",
    "Transfer": "srift:Transfer",
    "fileId": {
      "@id": "srift:fileId",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "srift:name",
      "@type": "xsd:string"
    },
    "size": {
      "@id": "srift:size",
      "@type": "xsd:decimal"
    },
    "progress": {
      "@id": "srift:progress",
      "@type": "xsd:decimal"
    },
    "speedKBps": {
      "@id": "srift:speedKBps",
      "@type": "xsd:decimal"
    },
    "etaSeconds": {
      "@id": "srift:etaSeconds",
      "@type": "xsd:decimal"
    },
    "protocol": {
      "@id": "srift:protocol",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "srift:status",
      "@type": "xsd:string"
    },
    "direction": {
      "@id": "srift:direction",
      "@type": "xsd:string"
    },
    "bytesTransferred": {
      "@id": "srift:bytesTransferred",
      "@type": "xsd:decimal"
    },
    "Participant": "srift:Participant",
    "userId": {
      "@id": "srift:userId",
      "@type": "xsd:string"
    },
    "username": {
      "@id": "srift:username",
      "@type": "xsd:string"
    },
    "isHost": {
      "@id": "srift:isHost",
      "@type": "xsd:boolean"
    },
    "online": {
      "@id": "srift:online",
      "@type": "xsd:boolean"
    },
    "PendingJoin": "srift:PendingJoin",
    "tempUserId": {
      "@id": "srift:tempUserId",
      "@type": "xsd:string"
    },
    "DaemonStatus": "srift:DaemonStatus",
    "session": {
      "@id": "srift:session"
    },
    "activeTransfers": {
      "@id": "srift:activeTransfers",
      "@container": "@list"
    },
    "pendingJoins": {
      "@id": "srift:pendingJoins",
      "@container": "@list"
    },
    "participants": {
      "@id": "srift:participants",
      "@container": "@list"
    },
    "lastUpdated": {
      "@id": "srift:lastUpdated",
      "@type": "xsd:string"
    },
    "QuickShareResult": "srift:QuickShareResult",
    "success": {
      "@id": "srift:success",
      "@type": "xsd:boolean"
    },
    "mode": {
      "@id": "srift:mode",
      "@type": "xsd:string"
    },
    "sessionId": {
      "@id": "srift:sessionId",
      "@type": "xsd:string"
    },
    "token": {
      "@id": "srift:token",
      "@type": "xsd:string"
    },
    "downloadUrl": {
      "@id": "srift:downloadUrl",
      "@type": "xsd:string"
    },
    "shareUrl": {
      "@id": "srift:shareUrl",
      "@type": "xsd:string"
    },
    "fileName": {
      "@id": "srift:fileName",
      "@type": "xsd:string"
    },
    "fileSize": {
      "@id": "srift:fileSize",
      "@type": "xsd:decimal"
    },
    "maxDownloads": {
      "@id": "srift:maxDownloads",
      "@type": "xsd:decimal"
    },
    "expiresAt": {
      "@id": "srift:expiresAt",
      "@type": "xsd:decimal"
    },
    "encrypted": {
      "@id": "srift:encrypted",
      "@type": "xsd:boolean"
    },
    "passwordProtected": {
      "@id": "srift:passwordProtected",
      "@type": "xsd:boolean"
    },
    "ErrorResponse": "srift:ErrorResponse",
    "error": {
      "@id": "srift:error",
      "@type": "xsd:string"
    },
    "retryAfterMs": {
      "@id": "srift:retryAfterMs",
      "@type": "xsd:decimal"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "SRIFT API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects SRIFT'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-25) from openapi/srift-app-openapi.yml.",
  "dcterms:created": "2026-11-25",
  "dcterms:source": [
    "openapi/srift-app-openapi.yml"
  ]
}