# org.tangled.track.ticket

- Kind: record
- Record key: any
- Authority: track.tangled.org
- Lexicon: 1
- Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.track.ticket)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.track.ticket/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.track.ticket/analytics)

## Record (`org.tangled.track.ticket`)

Type: record · key any

### Properties

- `assignees` (array)
  - `items` (string · did)
- `body` (union)
  - One of: `org.tangled.markup.markdown`
- `createdAt` (string · datetime, required)
- `labels` (ref): Self-label values for this record.
  - Reference: `com.atproto.label.defs#selfLabels`
- `state` (ref, required)
  - Reference: `org.tangled.track.defs#ticketState`
- `tangledLabels` (array)
  - `items` (union)
    - One of: `org.tangled.label.defs#labelToken`
- `targetBranch` (string): Target branch name. Must not include the `refs/heads/` prefix.
  - Constraints: maxLength: 244
- `title` (union, required)
  - One of: `org.tangled.markup.markdown#inline`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "assignees": {
            "items": {
              "format": "did",
              "type": "string"
            },
            "type": "array"
          },
          "body": {
            "refs": [
              "org.tangled.markup.markdown"
            ],
            "type": "union"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "labels": {
            "description": "Self-label values for this record.",
            "ref": "com.atproto.label.defs#selfLabels",
            "type": "ref"
          },
          "state": {
            "ref": "org.tangled.track.defs#ticketState",
            "type": "ref"
          },
          "tangledLabels": {
            "items": {
              "refs": [
                "org.tangled.label.defs#labelToken"
              ],
              "type": "union"
            },
            "type": "array"
          },
          "targetBranch": {
            "description": "Target branch name. Must not include the `refs/heads/` prefix.",
            "maxLength": 244,
            "type": "string"
          },
          "title": {
            "refs": [
              "org.tangled.markup.markdown#inline"
            ],
            "type": "union"
          }
        },
        "required": [
          "title",
          "state",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.tangled.track.ticket",
  "lexicon": 1
}
```
