Social Perks · JSON-LD Context
Socialperks App Context
JSON-LD context defining the semantic vocabulary for Socialperks App from Social Perks.
5 Classes
22 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
socialperks:
https://socialperks.app/schema#
Classes
SuccessEnvelope
ErrorEnvelope
Action
PricingEstimate
Campaign
Properties
| Property | Type | Container |
|---|---|---|
| success | boolean | |
| data | ||
| error | ||
| id | string | |
| label | string | |
| type | string | |
| effort | integer | |
| value | decimal | |
| incentivizable | boolean | |
| platformId | string | |
| platformName | string | |
| platformIcon | string | |
| platformColor | string | |
| actionId | string | |
| businessType | string | |
| estimatedValueUsd | decimal | |
| recommendedPerk | ||
| businessId | string | |
| tier | string | |
| rewardType | string | |
| rewardValue | decimal | |
| status | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://socialperks.app/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"socialperks": "https://socialperks.app/schema#",
"SuccessEnvelope": "socialperks:SuccessEnvelope",
"success": {
"@id": "socialperks:success",
"@type": "xsd:boolean"
},
"data": {
"@id": "socialperks:data"
},
"ErrorEnvelope": "socialperks:ErrorEnvelope",
"error": {
"@id": "socialperks:error"
},
"Action": "socialperks:Action",
"id": {
"@id": "socialperks:id",
"@type": "xsd:string"
},
"label": {
"@id": "socialperks:label",
"@type": "xsd:string"
},
"type": {
"@id": "socialperks:type",
"@type": "xsd:string"
},
"effort": {
"@id": "socialperks:effort",
"@type": "xsd:integer"
},
"value": {
"@id": "socialperks:value",
"@type": "xsd:decimal"
},
"incentivizable": {
"@id": "socialperks:incentivizable",
"@type": "xsd:boolean"
},
"platformId": {
"@id": "socialperks:platformId",
"@type": "xsd:string"
},
"platformName": {
"@id": "socialperks:platformName",
"@type": "xsd:string"
},
"platformIcon": {
"@id": "socialperks:platformIcon",
"@type": "xsd:string"
},
"platformColor": {
"@id": "socialperks:platformColor",
"@type": "xsd:string"
},
"PricingEstimate": "socialperks:PricingEstimate",
"actionId": {
"@id": "socialperks:actionId",
"@type": "xsd:string"
},
"businessType": {
"@id": "socialperks:businessType",
"@type": "xsd:string"
},
"estimatedValueUsd": {
"@id": "socialperks:estimatedValueUsd",
"@type": "xsd:decimal"
},
"recommendedPerk": {
"@id": "socialperks:recommendedPerk"
},
"Campaign": "socialperks:Campaign",
"businessId": {
"@id": "socialperks:businessId",
"@type": "xsd:string"
},
"tier": {
"@id": "socialperks:tier",
"@type": "xsd:string"
},
"rewardType": {
"@id": "socialperks:rewardType",
"@type": "xsd:string"
},
"rewardValue": {
"@id": "socialperks:rewardValue",
"@type": "xsd:decimal"
},
"status": {
"@id": "socialperks:status",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "Social Perks API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Social Perks'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/socialperks-app-openapi.yml.",
"dcterms:created": "2026-11-25",
"dcterms:source": [
"openapi/socialperks-app-openapi.yml"
]
}