{
"id": "app.bivri.support.contentDefs",
"defs": {
"faqView": {
"type": "object",
"required": [
"id",
"categoryId",
"categoryName",
"question",
"contentFormat",
"answer",
"position",
"publishedAt"
],
"properties": {
"id": {
"type": "string"
},
"answer": {
"type": "string",
"maxLength": 1000000,
"maxGraphemes": 100000
},
"position": {
"type": "integer",
"minimum": 0
},
"question": {
"type": "string",
"maxLength": 5000,
"maxGraphemes": 500
},
"categoryId": {
"type": "string"
},
"publishedAt": {
"type": "string",
"format": "datetime"
},
"categoryName": {
"type": "string",
"maxLength": 1000,
"maxGraphemes": 100
},
"contentFormat": {
"type": "string",
"knownValues": [
"markdown"
]
}
}
},
"categoryView": {
"type": "object",
"required": [
"id",
"name",
"position"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string",
"maxLength": 1000,
"maxGraphemes": 100
},
"position": {
"type": "integer",
"minimum": 0
}
}
},
"announcementView": {
"type": "object",
"nullable": [
"newer",
"older"
],
"required": [
"id",
"categoryId",
"categoryName",
"title",
"pinned",
"publishedAt",
"contentFormat",
"content",
"newer",
"older"
],
"properties": {
"id": {
"type": "string"
},
"newer": {
"ref": "app.bivri.support.contentDefs#announcementSummary",
"type": "ref"
},
"older": {
"ref": "app.bivri.support.contentDefs#announcementSummary",
"type": "ref"
},
"title": {
"type": "string",
"maxLength": 2000,
"maxGraphemes": 200
},
"pinned": {
"type": "boolean"
},
"content": {
"type": "string",
"maxLength": 1000000,
"maxGraphemes": 100000
},
"categoryId": {
"type": "string"
},
"publishedAt": {
"type": "string",
"format": "datetime"
},
"categoryName": {
"type": "string",
"maxLength": 1000,
"maxGraphemes": 100
},
"contentFormat": {
"type": "string",
"knownValues": [
"markdown"
]
}
}
},
"announcementSummary": {
"type": "object",
"required": [
"id",
"categoryId",
"categoryName",
"title",
"pinned",
"publishedAt"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string",
"maxLength": 2000,
"maxGraphemes": 200
},
"pinned": {
"type": "boolean"
},
"categoryId": {
"type": "string"
},
"publishedAt": {
"type": "string",
"format": "datetime"
},
"categoryName": {
"type": "string",
"maxLength": 1000,
"maxGraphemes": 100
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "Public read types for announcements and FAQs."
}