TrendSwap · JSON-LD Context

Trendswap App Context

JSON-LD context defining the semantic vocabulary for Trendswap App from TrendSwap.

10 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/
trendswap: https://trendswap.app/schema#

Classes

Template CreateJobRequest JobResponse PortraitResponse CreditsResponse UserInfoResponse HealthResponse McpRpcRequest McpRpcResponse ErrorResponse

Properties

Property Type Container
id string
name string
title string
description string
duration integer
preview_url reference
poster_url reference
orientation string
photos_required integer
supported_resolutions list
status string
tag string
template string
portrait_id string
secondary_portrait_id string
resolution string
format string
idempotency_key string
progress integer
video_url reference
error_message string
created_at dateTime
updated_at dateTime
code integer
data
service string
version string
commit string
timestamp dateTime
jsonrpc string
method string
params
result
message string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://trendswap.app/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "trendswap": "https://trendswap.app/schema#",
    "Template": "trendswap:Template",
    "id": {
      "@id": "trendswap:id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "trendswap:name",
      "@type": "xsd:string"
    },
    "title": {
      "@id": "trendswap:title",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "trendswap:description",
      "@type": "xsd:string"
    },
    "duration": {
      "@id": "trendswap:duration",
      "@type": "xsd:integer"
    },
    "preview_url": {
      "@id": "trendswap:preview_url",
      "@type": "@id"
    },
    "poster_url": {
      "@id": "trendswap:poster_url",
      "@type": "@id"
    },
    "orientation": {
      "@id": "trendswap:orientation",
      "@type": "xsd:string"
    },
    "photos_required": {
      "@id": "trendswap:photos_required",
      "@type": "xsd:integer"
    },
    "supported_resolutions": {
      "@id": "trendswap:supported_resolutions",
      "@container": "@list"
    },
    "status": {
      "@id": "trendswap:status",
      "@type": "xsd:string"
    },
    "tag": {
      "@id": "trendswap:tag",
      "@type": "xsd:string"
    },
    "CreateJobRequest": "trendswap:CreateJobRequest",
    "template": {
      "@id": "trendswap:template",
      "@type": "xsd:string"
    },
    "portrait_id": {
      "@id": "trendswap:portrait_id",
      "@type": "xsd:string"
    },
    "secondary_portrait_id": {
      "@id": "trendswap:secondary_portrait_id",
      "@type": "xsd:string"
    },
    "resolution": {
      "@id": "trendswap:resolution",
      "@type": "xsd:string"
    },
    "format": {
      "@id": "trendswap:format",
      "@type": "xsd:string"
    },
    "idempotency_key": {
      "@id": "trendswap:idempotency_key",
      "@type": "xsd:string"
    },
    "JobResponse": "trendswap:JobResponse",
    "progress": {
      "@id": "trendswap:progress",
      "@type": "xsd:integer"
    },
    "video_url": {
      "@id": "trendswap:video_url",
      "@type": "@id"
    },
    "error_message": {
      "@id": "trendswap:error_message",
      "@type": "xsd:string"
    },
    "created_at": {
      "@id": "trendswap:created_at",
      "@type": "xsd:dateTime"
    },
    "updated_at": {
      "@id": "trendswap:updated_at",
      "@type": "xsd:dateTime"
    },
    "PortraitResponse": "trendswap:PortraitResponse",
    "code": {
      "@id": "trendswap:code",
      "@type": "xsd:integer"
    },
    "data": {
      "@id": "trendswap:data"
    },
    "CreditsResponse": "trendswap:CreditsResponse",
    "UserInfoResponse": "trendswap:UserInfoResponse",
    "HealthResponse": "trendswap:HealthResponse",
    "service": {
      "@id": "trendswap:service",
      "@type": "xsd:string"
    },
    "version": {
      "@id": "trendswap:version",
      "@type": "xsd:string"
    },
    "commit": {
      "@id": "trendswap:commit",
      "@type": "xsd:string"
    },
    "timestamp": {
      "@id": "trendswap:timestamp",
      "@type": "xsd:dateTime"
    },
    "McpRpcRequest": "trendswap:McpRpcRequest",
    "jsonrpc": {
      "@id": "trendswap:jsonrpc",
      "@type": "xsd:string"
    },
    "method": {
      "@id": "trendswap:method",
      "@type": "xsd:string"
    },
    "params": {
      "@id": "trendswap:params"
    },
    "McpRpcResponse": "trendswap:McpRpcResponse",
    "result": {
      "@id": "trendswap:result"
    },
    "ErrorResponse": "trendswap:ErrorResponse",
    "message": {
      "@id": "trendswap:message",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "TrendSwap API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects TrendSwap'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-27) from openapi/trendswap-app-openapi.json.",
  "dcterms:created": "2026-11-27",
  "dcterms:source": [
    "openapi/trendswap-app-openapi.json"
  ]
}