# at.marque.team

> Published by [marque.at](https://lexicon.garden/identity/did:plc:nckosudltxrtrjkt4zz4jy5y)

✓ This is the authoritative definition for this NSID.

## Description

A team for a single domain managed by Marque, owned by the domain owner. Stored in the owner's repository.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:nckosudltxrtrjkt4zz4jy5y/at.marque.team)
- [Documentation](https://lexicon.garden/lexicon/did:plc:nckosudltxrtrjkt4zz4jy5y/at.marque.team/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:nckosudltxrtrjkt4zz4jy5y/at.marque.team/examples)

## Definitions

### `at.marque.team`

**Type**: `record`

Record representing the team for one domain. The record key is the domain name, created lazily with the first accepted membership.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `domain` | `string` | Yes | Fully qualified domain name this team applies to, e.g. example.com. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | Strong reference to the owner's at.marque.domain record. |
| `createdAt` | `string` (datetime) | Yes | When the team record was created. |
| `updatedAt` | `string` (datetime) | Yes | When the team record was last updated. |

## Raw Schema

```json
{
  "id": "at.marque.team",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "domain",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "domain": {
            "type": "string",
            "maxLength": 253,
            "description": "Fully qualified domain name this team applies to, e.g. example.com."
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Strong reference to the owner's at.marque.domain record."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the team record was created."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the team record was last updated."
          }
        }
      },
      "description": "Record representing the team for one domain. The record key is the domain name, created lazily with the first accepted membership."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A team for a single domain managed by Marque, owned by the domain owner. Stored in the owner's repository."
}
```
