{
  "lexicon": 1,
  "id": "sh.tangled.repo.issue.state",
  "needsCbor": true,
  "needsType": true,
  "defs": {
    "main": {
      "type": "record",
      "key": "tid",
      "record": {
        "type": "object",
        "required": [
          "issue",
          "state",
          "createdAt"
        ],
        "properties": {
          "issue": {
            "type": "string",
            "format": "at-uri"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "state": {
            "type": "string",
            "description": "state of the issue",
            "knownValues": [
              "sh.tangled.repo.issue.state.open",
              "sh.tangled.repo.issue.state.closed"
            ],
            "default": "sh.tangled.repo.issue.state.open"
          }
        }
      }
    }
  }
}
