curl -X POST "https://api.onzks.com/v1/trust/attestations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"subject": "alice.zks",
"schema": "skill",
"data": {
"title": "Solidity Developer",
"description": "Expert in smart contract development",
"category": "programming",
"value": "expert",
"metadata": {
"yearsExperience": 5,
"projects": ["DeFi Protocol", "NFT Marketplace"],
"certifications": ["Certified Solidity Developer"]
},
"evidence": [
{
"type": "url",
"value": "https://github.com/alice/solidity-projects",
"description": "GitHub repository with Solidity projects"
},
{
"type": "document",
"value": "certificate.pdf",
"description": "Certification document"
}
]
},
"signature": "0xabcdef1234567890...",
"expiry": "2025-01-20T15:45:00Z",
"revocable": true,
"public": true,
"tags": ["solidity", "blockchain", "developer"]
}'