# org.simocracy.agents

> Published by [gainforest.earth](https://lexicon.garden/identity/did:plc:qoti4acfmc5wg6zzmtix6hse)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qoti4acfmc5wg6zzmtix6hse/org.simocracy.agents)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qoti4acfmc5wg6zzmtix6hse/org.simocracy.agents/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qoti4acfmc5wg6zzmtix6hse/org.simocracy.agents/examples)

## Definitions

### `org.simocracy.agents`

**Type**: `record`

A sim's constitution and agent configuration. One document per sim.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `sim` | `ref` → `com.atproto.repo.strongRef` | Yes | Reference to the sim record this constitution belongs to |
| `createdAt` | `string` (datetime) | Yes | Timestamp when the record was created |
| `description` | `string` | No | Full constitution text: beliefs, values, governance positions. Rich text annotations may be provided via descriptionFacets. |
| `shortDescription` | `string` | Yes | Short summary of this sim's constitution, suitable for previews and list views. Rich text annotations may be provided via shortDescriptionFacets. |
| `descriptionFacets` | `array` | No | Rich text annotations for description (mentions, URLs, hashtags, etc). |
| `shortDescriptionFacets` | `array` | No | Rich text annotations for shortDescription (mentions, URLs, hashtags, etc). |

## Raw Schema

```json
{
  "id": "org.simocracy.agents",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "sim",
          "shortDescription",
          "createdAt"
        ],
        "properties": {
          "sim": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Reference to the sim record this constitution belongs to"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when the record was created"
          },
          "description": {
            "type": "string",
            "maxLength": 30000,
            "description": "Full constitution text: beliefs, values, governance positions. Rich text annotations may be provided via descriptionFacets.",
            "maxGraphemes": 3000
          },
          "shortDescription": {
            "type": "string",
            "maxLength": 3000,
            "description": "Short summary of this sim's constitution, suitable for previews and list views. Rich text annotations may be provided via shortDescriptionFacets.",
            "maxGraphemes": 300
          },
          "descriptionFacets": {
            "type": "array",
            "items": {
              "ref": "app.bsky.richtext.facet",
              "type": "ref"
            },
            "description": "Rich text annotations for description (mentions, URLs, hashtags, etc)."
          },
          "shortDescriptionFacets": {
            "type": "array",
            "items": {
              "ref": "app.bsky.richtext.facet",
              "type": "ref"
            },
            "description": "Rich text annotations for shortDescription (mentions, URLs, hashtags, etc)."
          }
        }
      },
      "description": "A sim's constitution and agent configuration. One document per sim."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
