{
  "@context": {
    "@version": 1.1,
    "@protected": true,
    "@vocab": "https://www.w3.org/ns/credentials/issuer-dependent#",
    "schema": "https://schema.org/",
    "ttcred": "https://schemata.tradetrust.io/io/tradetrust/4.0/alpha-context.json#",
    "TradeTrustCredential": {
      "@id": "ttcred:TradeTrustCredential",
      "@context": { "name": "schema:name" }
    },
    "TradeTrustIssuer": {
      "@id": "ttcred:TradeTrustIssuer",
      "@context": {
        "identityProof": {
          "@id": "ttcred:identityProof",
          "@context": {
            "identityProofType": "ttcred:identityProofType",
            "identifier": { "@id": "ttcred:identityProofIdentifier", "@type": "schema:identifier" }
          }
        }
      }
    },
    "TradeTrustCredentialStatus": {
      "@id": "ttcred:credentialStatus",
      "@context": {
        "credentialStatusType": "ttcred:credentialStatusType",
        "location": { "@id": "ttcred:credentialStatusLocation", "@type": "schema:identifier" }
      }
    },
    "TradeTrustRenderMethod": {
      "@id": "ttcred:renderMethod",
      "@context": {
        "name": "ttcred:renderMethodName",
        "renderMethodType": "ttcred:renderMethodType",
        "url": { "@id": "ttcred:templateUrl", "@type": "schema:identifier" }
      }
    },
    "TradeTrustMerkleProofSignature2018": {
      "@id": "ttcred:TradeTrustMerkleProofSignature2018",
      "@context": {
        "proofPurpose": "ttcred:proofPurpose",
        "targetHash": "ttcred:proofTargetHash",
        "proofs": {
          "@id": "ttcred:proofIntermediateProofs",
          "@container": "@list"
        },
        "merkleRoot": "ttcred:proofMerkleRoot",
        "salts": "ttcred:proofSalts",
        "privacy": {
          "@id": "ttcred:proofPrivacy",
          "@context": {
            "obfuscated": { "@id": "ttcred:proofPrivacyObfuscated", "@container": "@list" }
          }
        },
        "key": "ttcred:proofKey",
        "signature": "ttcred:proofSignature"
      }
    },
    "attachments": {
      "@id": "ttcred:TradeTrustAttachments",
      "@context": {
        "data": "xsd:string",
        "fileName": "xsd:string",
        "mimeType": "xsd:string"
      }
    },
    "network": {
      "@id": "ttcred:TradeTrustNetwork",
      "@context": {
        "chain": "xsd:string",
        "chainId": "xsd:string"
      }
    },
    "TradeTrustIdentityVC": {
      "@id": "ttcred:TradeTrustIdentityVC",
      "@context": {
        "data": {
          "@id": "http://example.com/vocab/json",
          "@type": "@json"
        }
      }
    }
  }
}
