Skip to main content

CredentialContent

Loading ....

Source :

{
"$id": "agntcy.identity.core.v1alpha1.CredentialContent.jsonschema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "CredentialContent represents the content of a Verifiable Credential.",
"patternProperties": {
"^(content_type)$": {
"anyOf": [
{
"enum": [
"CREDENTIAL_CONTENT_TYPE_UNSPECIFIED",
"CREDENTIAL_CONTENT_TYPE_AGENT_BADGE",
"CREDENTIAL_CONTENT_TYPE_MCP_BADGE"
],
"type": "string"
},
{
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
}
],
"description": "Type specifies the type of the content of the credential.",
"title": "Credential Content Type"
}
},
"properties": {
"content": {
"$ref": "google.protobuf.Struct.jsonschema.json",
"description": "The content representation in JSON-LD format."
},
"contentType": {
"anyOf": [
{
"enum": [
"CREDENTIAL_CONTENT_TYPE_UNSPECIFIED",
"CREDENTIAL_CONTENT_TYPE_AGENT_BADGE",
"CREDENTIAL_CONTENT_TYPE_MCP_BADGE"
],
"type": "string"
},
{
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
}
],
"description": "Type specifies the type of the content of the credential.",
"title": "Credential Content Type"
}
},
"title": "Credential Content",
"type": "object"
}