AGNTCY · Schema

Agntcy Identity Credential Content.Jsonschema

AI AgentsInteroperabilitySpecificationOpen-SourceAgent DiscoveryIdentityAgent DirectoryMCPA2AOpenAPIgRPCProtocol BuffersVerifiable CredentialsSchemaTaxonomyMessagingObservabilityLinux Foundation
View JSON Schema on GitHub

JSON Schema

agntcy-identity-credential-content.jsonschema.json Raw ↑
{
  "$defs": {
    "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": "#/$defs/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"
    },
    "google.protobuf.Struct.jsonschema.json": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "title": "Struct",
      "type": "object"
    }
  },
  "$id": "agntcy.identity.core.v1alpha1.CredentialContent.jsonschema.bundle.json",
  "$ref": "#/$defs/agntcy.identity.core.v1alpha1.CredentialContent.jsonschema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}