Copy POST /verify HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 6816
{
"description": "Verifiable Presentation that has been signed",
"type": "object",
"properties": {
"@context": {
"description": "JSON-LD context array of strings or single string",
"example": "https://docknetwork.github.io/vc-schemas/basic-credential.json-ld",
"oneOf": [
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
}
},
{
"type": "string"
}
]
},
"id": {
"type": "string",
"format": "uri"
},
"type": {
"type": "array",
"items": {
"type": "string"
}
},
"verifiableCredential": {
"oneOf": [
{
"type": "object",
"description": "Verifiable (signed) Credential returned by API. The current set of properties is almost complete",
"properties": {
"@context": {
"description": "JSON-LD context array of strings or single string",
"example": "https://docknetwork.github.io/vc-schemas/basic-credential.json-ld",
"oneOf": [
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
}
},
{
"type": "string"
}
]
},
"id": {
"type": "string"
},
"type": {
"type": "array",
"items": {
"type": "string"
}
},
"credentialSubject": {
"oneOf": [
{
"type": "object"
},
{
"type": "array",
"items": {
"type": "object"
}
}
]
},
"issuer": {
"oneOf": [
{
"type": "string",
"description": "DID as fully qualified, typically. `did:cheqd:`",
"minimum": 32,
"example": "did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59"
},
{
"type": "object"
}
]
},
"issuanceDate": {
"type": "string",
"format": "date-time"
},
"expirationDate": {
"type": "string",
"format": "date-time"
},
"credentialStatus": {
"description": "Revocation registry id or user supplied status object",
"oneOf": [
{
"type": "object"
},
{
"type": "string"
}
]
},
"proof": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"description": "Type of signature (NOTE: EcdsaSecp256k1Signature2019, Sr25519Signature2020 are deprecated)",
"type": "string",
"enum": [
"Ed25519Signature2018",
"Ed25519Signature2020",
"Bls12381BBS+SignatureDock2022",
"Bls12381BBS+SignatureProofDock2022",
"Bls12381BBDT16MACDock2024",
"Bls12381BBSSignatureDock2023",
"Bls12381BBSVerificationKeyDock2023",
"BJJSignature2021",
"EcdsaSecp256k1Signature2019",
"Sr25519Signature2020"
]
},
"proofPurpose": {
"description": "Purpose of credential",
"type": "string",
"enum": [
"assertionMethod",
"authentication"
]
},
"verificationMethod": {
"type": "string"
},
"created": {
"type": "string",
"format": "date-time"
},
"proofValue": {
"type": "string"
}
}
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"description": "Type of signature (NOTE: EcdsaSecp256k1Signature2019, Sr25519Signature2020 are deprecated)",
"type": "string",
"enum": [
"Ed25519Signature2018",
"Ed25519Signature2020",
"Bls12381BBS+SignatureDock2022",
"Bls12381BBS+SignatureProofDock2022",
"Bls12381BBDT16MACDock2024",
"Bls12381BBSSignatureDock2023",
"Bls12381BBSVerificationKeyDock2023",
"BJJSignature2021",
"EcdsaSecp256k1Signature2019",
"Sr25519Signature2020"
]
},
"proofPurpose": {
"description": "Purpose of credential",
"type": "string",
"enum": [
"assertionMethod",
"authentication"
]
},
"verificationMethod": {
"type": "string"
},
"created": {
"type": "string",
"format": "date-time"
},
"proofValue": {
"type": "string"
}
}
}
}
]
}
}
},
{
"type": "array",
"items": {
"type": "object",
"description": "Verifiable (signed) Credential returned by API. The current set of properties is almost complete",
"properties": {
"@context": {
"description": "JSON-LD context array of strings or single string",
"example": "https://docknetwork.github.io/vc-schemas/basic-credential.json-ld",
"oneOf": [
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
}
},
{
"type": "string"
}
]
},
"id": {
"type": "string"
},
"type": {
"type": "array",
"items": {
"type": "string"
}
},
"credentialSubject": {
"oneOf": [
{
"type": "object"
},
{
"type": "array",
"items": {
"type": "object"
}
}
]
},
"issuer": {
"oneOf": [
{
"type": "string",
"description": "DID as fully qualified, typically. `did:cheqd:`",
"minimum": 32,
"example": "did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59"
},
{
"type": "object"
}
]
},
"issuanceDate": {
"type": "string",
"format": "date-time"
},
"expirationDate": {
"type": "string",
"format": "date-time"
},
"credentialStatus": {
"description": "Revocation registry id or user supplied status object",
"oneOf": [
{
"type": "object"
},
{
"type": "string"
}
]
},
"proof": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"description": "Type of signature (NOTE: EcdsaSecp256k1Signature2019, Sr25519Signature2020 are deprecated)",
"type": "string",
"enum": [
"Ed25519Signature2018",
"Ed25519Signature2020",
"Bls12381BBS+SignatureDock2022",
"Bls12381BBS+SignatureProofDock2022",
"Bls12381BBDT16MACDock2024",
"Bls12381BBSSignatureDock2023",
"Bls12381BBSVerificationKeyDock2023",
"BJJSignature2021",
"EcdsaSecp256k1Signature2019",
"Sr25519Signature2020"
]
},
"proofPurpose": {
"description": "Purpose of credential",
"type": "string",
"enum": [
"assertionMethod",
"authentication"
]
},
"verificationMethod": {
"type": "string"
},
"created": {
"type": "string",
"format": "date-time"
},
"proofValue": {
"type": "string"
}
}
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"description": "Type of signature (NOTE: EcdsaSecp256k1Signature2019, Sr25519Signature2020 are deprecated)",
"type": "string",
"enum": [
"Ed25519Signature2018",
"Ed25519Signature2020",
"Bls12381BBS+SignatureDock2022",
"Bls12381BBS+SignatureProofDock2022",
"Bls12381BBDT16MACDock2024",
"Bls12381BBSSignatureDock2023",
"Bls12381BBSVerificationKeyDock2023",
"BJJSignature2021",
"EcdsaSecp256k1Signature2019",
"Sr25519Signature2020"
]
},
"proofPurpose": {
"description": "Purpose of credential",
"type": "string",
"enum": [
"assertionMethod",
"authentication"
]
},
"verificationMethod": {
"type": "string"
},
"created": {
"type": "string",
"format": "date-time"
},
"proofValue": {
"type": "string"
}
}
}
}
]
}
}
}
}
]
},
"proof": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"description": "Type of signature (NOTE: EcdsaSecp256k1Signature2019, Sr25519Signature2020 are deprecated)",
"type": "string",
"enum": [
"Ed25519Signature2018",
"Ed25519Signature2020",
"Bls12381BBS+SignatureDock2022",
"Bls12381BBS+SignatureProofDock2022",
"Bls12381BBDT16MACDock2024",
"Bls12381BBSSignatureDock2023",
"Bls12381BBSVerificationKeyDock2023",
"BJJSignature2021",
"EcdsaSecp256k1Signature2019",
"Sr25519Signature2020"
]
},
"proofPurpose": {
"description": "Purpose of credential",
"type": "string",
"enum": [
"assertionMethod",
"authentication"
]
},
"verificationMethod": {
"type": "string"
},
"created": {
"type": "string",
"format": "date-time"
},
"proofValue": {
"type": "string"
}
}
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"description": "Type of signature (NOTE: EcdsaSecp256k1Signature2019, Sr25519Signature2020 are deprecated)",
"type": "string",
"enum": [
"Ed25519Signature2018",
"Ed25519Signature2020",
"Bls12381BBS+SignatureDock2022",
"Bls12381BBS+SignatureProofDock2022",
"Bls12381BBDT16MACDock2024",
"Bls12381BBSSignatureDock2023",
"Bls12381BBSVerificationKeyDock2023",
"BJJSignature2021",
"EcdsaSecp256k1Signature2019",
"Sr25519Signature2020"
]
},
"proofPurpose": {
"description": "Purpose of credential",
"type": "string",
"enum": [
"assertionMethod",
"authentication"
]
},
"verificationMethod": {
"type": "string"
},
"created": {
"type": "string",
"format": "date-time"
},
"proofValue": {
"type": "string"
}
}
}
}
]
}
}
}