# social.eurosky.jeahel.cosmos

> Published by [jeahel.eurosky.social](https://lexicon.garden/identity/did:plc:cngrt4e56ip4untxxvhratec)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cngrt4e56ip4untxxvhratec/social.eurosky.jeahel.cosmos)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cngrt4e56ip4untxxvhratec/social.eurosky.jeahel.cosmos/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cngrt4e56ip4untxxvhratec/social.eurosky.jeahel.cosmos/examples)

## Definitions

### `social.eurosky.jeahel.cosmos#campaign`

**Type**: `object`

Record of a campaign.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `characters` | `array` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `gameMaster` | `string` | Yes |  |
| `synopsis` | `string` | No |  |
| `system` | `string` | Yes |  |
| `tid` | `string` (tid) | Yes |  |
| `title` | `string` | Yes |  |

### `social.eurosky.jeahel.cosmos#character`

**Type**: `object`

Record of a character in a campaign; can be player or non-player.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |
| `player` | `string` | Yes |  |
| `tid` | `string` (tid) | Yes |  |

### `social.eurosky.jeahel.cosmos#session`

**Type**: `object`

Record of a session during a campaign.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `campaignRef` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `markdown` | `string` | Yes |  |
| `sequenceNumber` | `integer` | Yes |  |
| `tid` | `string` (tid) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "campaign": {
      "description": "Record of a campaign.",
      "properties": {
        "characters": {
          "items": {
            "ref": "#character",
            "type": "ref"
          },
          "type": "array"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "gameMaster": {
          "type": "string"
        },
        "synopsis": {
          "type": "string"
        },
        "system": {
          "type": "string"
        },
        "tid": {
          "format": "tid",
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "tid",
        "title",
        "gameMaster",
        "system",
        "characters",
        "createdAt"
      ],
      "type": "object"
    },
    "character": {
      "description": "Record of a character in a campaign; can be player or non-player.",
      "properties": {
        "name": {
          "type": "string"
        },
        "player": {
          "type": "string"
        },
        "tid": {
          "format": "tid",
          "type": "string"
        }
      },
      "required": [
        "tid",
        "name",
        "player"
      ],
      "type": "object"
    },
    "session": {
      "description": "Record of a session during a campaign.",
      "properties": {
        "campaignRef": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "markdown": {
          "type": "string"
        },
        "sequenceNumber": {
          "type": "integer"
        },
        "tid": {
          "format": "tid",
          "type": "string"
        }
      },
      "required": [
        "tid",
        "campaignRef",
        "sequenceNumber",
        "markdown",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "social.eurosky.jeahel.cosmos",
  "lexicon": 1
}
```
