{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "ticketState": {
      "enum": [
        "open",
        "closed",
        "completed"
      ],
      "type": "string"
    },
    "ticketViewDetailed": {
      "properties": {
        "author": {
          "description": "The account that opened the ticket, the editor of its first version. Not the account that last edited or closed it.",
          "ref": "org.tangled.actor.defs#profileViewBasic",
          "type": "ref"
        },
        "body": {
          "refs": [
            "org.tangled.markup.markdown"
          ],
          "type": "union"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "repo": {
          "ref": "org.tangled.repo.defs#repoViewBasic",
          "type": "ref"
        },
        "state": {
          "ref": "#ticketState",
          "type": "ref"
        },
        "tangledLabels": {
          "items": {
            "refs": [
              "org.tangled.label.defs#labelToken"
            ],
            "type": "union"
          },
          "type": "array"
        },
        "targetBranch": {
          "description": "Present when the ticket is a pull request.",
          "type": "string"
        },
        "title": {
          "refs": [
            "org.tangled.markup.markdown#inline"
          ],
          "type": "union"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "repo",
        "title",
        "state",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "org.tangled.track.defs",
  "lexicon": 1
}
