SVG AI · JSON-LD Context
Svgai Org Context
JSON-LD context defining the semantic vocabulary for Svgai Org from SVG AI.
8 Classes
29 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
svgai:
https://svgai.org/schema#
Classes
GenerateRequest
VectorizeRequest
GeneratedSvg
GenerationStatus
VectorizationResponse
CreditBalance
ErrorResponse
ApiError
Properties
| Property | Type | Container |
|---|---|---|
| prompt | string | |
| image | string | |
| image_url | reference | |
| model | string | |
| variations | integer | |
| transparent_background | string | |
| aspect_ratio | string | |
| wait | boolean | |
| remove_background | boolean | |
| design_id | string | |
| status | string | |
| svg | string | |
| object | string | |
| id | string | |
| svgs | list | |
| background_removed | boolean | |
| credits_used | decimal | |
| credits_remaining | decimal | |
| subscription_active | boolean | |
| api_access | boolean | |
| api_access_message | string | |
| costs | ||
| topup_url | reference | |
| error | reference | |
| type | string | |
| message | string | |
| retry_after_seconds | decimal | |
| credits_required | decimal | |
| upgrade_url | reference |
JSON-LD Document
{
"@context": {
"@vocab": "https://svgai.org/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"svgai": "https://svgai.org/schema#",
"GenerateRequest": "svgai:GenerateRequest",
"prompt": {
"@id": "svgai:prompt",
"@type": "xsd:string"
},
"image": {
"@id": "svgai:image",
"@type": "xsd:string"
},
"image_url": {
"@id": "svgai:image_url",
"@type": "@id"
},
"model": {
"@id": "svgai:model",
"@type": "xsd:string"
},
"variations": {
"@id": "svgai:variations",
"@type": "xsd:integer"
},
"transparent_background": {
"@id": "svgai:transparent_background",
"@type": "xsd:string"
},
"aspect_ratio": {
"@id": "svgai:aspect_ratio",
"@type": "xsd:string"
},
"wait": {
"@id": "svgai:wait",
"@type": "xsd:boolean"
},
"VectorizeRequest": "svgai:VectorizeRequest",
"remove_background": {
"@id": "svgai:remove_background",
"@type": "xsd:boolean"
},
"GeneratedSvg": "svgai:GeneratedSvg",
"design_id": {
"@id": "svgai:design_id",
"@type": "xsd:string"
},
"status": {
"@id": "svgai:status",
"@type": "xsd:string"
},
"svg": {
"@id": "svgai:svg",
"@type": "xsd:string"
},
"GenerationStatus": "svgai:GenerationStatus",
"object": {
"@id": "svgai:object",
"@type": "xsd:string"
},
"id": {
"@id": "svgai:id",
"@type": "xsd:string"
},
"svgs": {
"@id": "svgai:svgs",
"@container": "@list"
},
"VectorizationResponse": "svgai:VectorizationResponse",
"background_removed": {
"@id": "svgai:background_removed",
"@type": "xsd:boolean"
},
"credits_used": {
"@id": "svgai:credits_used",
"@type": "xsd:decimal"
},
"credits_remaining": {
"@id": "svgai:credits_remaining",
"@type": "xsd:decimal"
},
"CreditBalance": "svgai:CreditBalance",
"subscription_active": {
"@id": "svgai:subscription_active",
"@type": "xsd:boolean"
},
"api_access": {
"@id": "svgai:api_access",
"@type": "xsd:boolean"
},
"api_access_message": {
"@id": "svgai:api_access_message",
"@type": "xsd:string"
},
"costs": {
"@id": "svgai:costs"
},
"topup_url": {
"@id": "svgai:topup_url",
"@type": "@id"
},
"ErrorResponse": "svgai:ErrorResponse",
"error": {
"@id": "svgai:error",
"@type": "@id"
},
"ApiError": "svgai:ApiError",
"type": {
"@id": "svgai:type",
"@type": "xsd:string"
},
"message": {
"@id": "svgai:message",
"@type": "xsd:string"
},
"retry_after_seconds": {
"@id": "svgai:retry_after_seconds",
"@type": "xsd:decimal"
},
"credits_required": {
"@id": "svgai:credits_required",
"@type": "xsd:decimal"
},
"upgrade_url": {
"@id": "svgai:upgrade_url",
"@type": "@id"
}
},
"@type": "schema:Dataset",
"schema:name": "SVG AI API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects SVG AI'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/svgai-org-openapi.json.",
"dcterms:created": "2026-11-25",
"dcterms:source": [
"openapi/svgai-org-openapi.json"
]
}