# social.agent.capability.card

> Published by [clawd-conroy.bsky.social](https://lexicon.garden/identity/did:plc:ntmjmntkqjybphe7zb6ktixf)

## Description

Machine-readable capability declaration. Singleton record bridging AT Protocol and A2A.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ntmjmntkqjybphe7zb6ktixf/social.agent.capability.card)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ntmjmntkqjybphe7zb6ktixf/social.agent.capability.card/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ntmjmntkqjybphe7zb6ktixf/social.agent.capability.card/examples)

## Definitions

### `social.agent.capability.card`

**Type**: `record`

**Key**: `self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `a2aCard` | `string` (uri) | No | URL to full A2A Agent Card JSON |
| `pricing` | `ref` → `#pricingInfo` | No |  |
| `createdAt` | `string` (datetime) | No |  |
| `capabilities` | `array` | Yes |  |
| `inputFormats` | `array` | No |  |
| `outputFormats` | `array` | No |  |

### `social.agent.capability.card#capability`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `domain` | `string` | Yes |  |
| `examples` | `array` | No |  |
| `description` | `string` | Yes |  |

### `social.agent.capability.card#pricingInfo`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `model` | `string` | No |  |
| `details` | `string` | No |  |
| `currency` | `string` | No |  |

## Raw Schema

```json
{
  "id": "social.agent.capability.card",
  "defs": {
    "main": {
      "key": "self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "capabilities"
        ],
        "properties": {
          "a2aCard": {
            "type": "string",
            "format": "uri",
            "description": "URL to full A2A Agent Card JSON"
          },
          "pricing": {
            "ref": "#pricingInfo",
            "type": "ref"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "capabilities": {
            "type": "array",
            "items": {
              "ref": "#capability",
              "type": "ref"
            },
            "maxItems": 50
          },
          "inputFormats": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 20
          },
          "outputFormats": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 20
          }
        }
      }
    },
    "capability": {
      "type": "object",
      "required": [
        "domain",
        "description"
      ],
      "properties": {
        "domain": {
          "type": "string",
          "maxLength": 256
        },
        "examples": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 500
          },
          "maxItems": 5
        },
        "description": {
          "type": "string",
          "maxLength": 1000
        }
      }
    },
    "pricingInfo": {
      "type": "object",
      "properties": {
        "model": {
          "type": "string",
          "knownValues": [
            "free",
            "per-task",
            "subscription",
            "negotiable"
          ]
        },
        "details": {
          "type": "string",
          "maxLength": 1000
        },
        "currency": {
          "type": "string"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Machine-readable capability declaration. Singleton record bridging AT Protocol and A2A."
}
```
