SPL basic examples. Work in progress.
{
"message_id": "001",
"sender": "agent_A",
"receiver": "agent_B",
"task": {
"type": "video_upscale",
"input": "raw.mp4",
"output": "upscaled.mp4",
"deadline": "2025-05-01T00:00:00Z"
},
"reward": {
"currency": "AIT",
"amount": 5
}
}
{
"service_id": "002",
"service_type": "optimization",
"input": {
"type": "logistics_data",
"format": "JSON"
},
"output": {
"type": "optimized_solution",
"format": "JSON"
},
"reward": {
"currency": "AIT",
"amount": 50
}
}
{
"service": "ai-video-editor",
"requires": ["payment-sei", "storage-ipfs"],
"delivery": {
"protocol": "0g",
"plugin": "storage-zerog",
"fallback": {
"protocol": "ipfs",
"cid": "QmXYZ..."
}
}
}
Query:
{
"query": {
"type": "data_transformation",
"input_format": "CSV"
}
}
Response:
{
"response": {
"services": [
{
"service_id": "001",
"service_type": "data_transformation",
"description": "Cleans and structures CSV data",
"reward": {
"currency": "AIT",
"amount": 10
}
}
]
}
}