GloryBot/validation/GloryBot.dmm
2024-05-01 21:15:35 +02:00

855 lines
19 KiB
Plaintext

{
"tables": {
"8218c159-d6ac-4582-ada6-42234c3b4bb9": {
"id": "8218c159-d6ac-4582-ada6-42234c3b4bb9",
"visible": true,
"name": "members",
"desc": "",
"estimatedSize": "",
"cols": [
{
"id": "cd82ad71-4ec4-4422-bf25-143b09789a88",
"name": "_id",
"datatype": "objectId",
"param": "",
"pk": true,
"nn": true,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": "",
"fk": false
},
{
"id": "ef5b6eaa-ff48-4cf5-a5dd-017ae5abcbdd",
"name": "id",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "90568cc9-2179-42e2-8126-5dda98a4ff75",
"name": "guild",
"datatype": "objectId",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": "",
"fk": true
},
{
"id": "6f7b3891-5599-434e-a99c-240c72103ebc",
"name": "status",
"datatype": "enum",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
}
],
"relations": [
"4fe09974-9056-4780-a40b-0b98427c9806",
"66940f28-fcde-4d2a-9012-ba7e6bd626e8"
],
"lines": [],
"keys": [
{
"id": "15192abf-c4da-4d33-a7c7-af68f1e7e607",
"name": "Primary",
"isPk": true,
"cols": []
},
{
"id": "1c494fbe-59ab-47bf-a18b-f5767cde72d1",
"isPk": false,
"name": "members_ai_1",
"cols": [
{
"id": "0e9654cf-049e-40f0-a081-245792ed3173",
"colid": "cd82ad71-4ec4-4422-bf25-143b09789a88"
}
]
}
],
"indexes": [],
"embeddable": false,
"generate": true,
"generateCustomCode": true,
"customCode": "",
"beforeScript": "",
"afterScript": "",
"validationLevel": "na",
"validationAction": "na",
"collation": "",
"others": "",
"size": "",
"max": "",
"validation": "",
"capped": false
},
"50052cf6-a0b4-4480-b01f-d9067db1442d": {
"id": "50052cf6-a0b4-4480-b01f-d9067db1442d",
"visible": true,
"name": "guilds",
"desc": "",
"estimatedSize": "",
"cols": [
{
"id": "90dab62e-469d-4eaa-b69c-cbee4dcc46ca",
"name": "_id",
"datatype": "objectId",
"param": "",
"pk": true,
"nn": true,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": "",
"fk": false
},
{
"id": "5f241e7a-231f-471d-a402-433ca73937bc",
"name": "id",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "6b66ce5e-a042-4d41-952a-c125cce3737d",
"name": "channels",
"datatype": "9e99a5bf-54d6-4743-9a19-0c122cdaf236",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "4a3e6d9c-7c0a-4bff-b65f-d6be5431623d",
"name": "roles",
"datatype": "ecee86d4-9d49-446d-93bb-d41274023485",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
}
],
"relations": [
"0c5b44eb-1d1a-4c61-aa95-a5e4e71095f1",
"66940f28-fcde-4d2a-9012-ba7e6bd626e8"
],
"lines": [],
"keys": [
{
"id": "d834da3e-7541-487f-9ed7-f07156a4c6cc",
"name": "Primary",
"isPk": true,
"cols": []
},
{
"id": "37b7443d-a933-4e05-856a-236e8a786531",
"isPk": false,
"name": "guilds_ai_1",
"cols": [
{
"id": "4ce6dde7-8001-4653-acd7-2bc301702b45",
"colid": "90dab62e-469d-4eaa-b69c-cbee4dcc46ca"
}
]
},
{
"id": "d5cf1cce-1151-48cb-88da-bdaebc19b8e7",
"isPk": false,
"name": "guilds_ai_2",
"cols": [
{
"id": "10b76400-aef6-4ea1-a621-e153cefc6b9d",
"colid": "90dab62e-469d-4eaa-b69c-cbee4dcc46ca"
}
]
}
],
"indexes": [],
"embeddable": false,
"generate": true,
"generateCustomCode": true,
"customCode": "",
"beforeScript": "",
"afterScript": "",
"validationLevel": "na",
"validationAction": "na",
"collation": "",
"others": "",
"size": "",
"max": "",
"validation": "",
"capped": false
},
"6e055f35-bf3f-4561-8a6c-e0420c36e4ef": {
"id": "6e055f35-bf3f-4561-8a6c-e0420c36e4ef",
"visible": true,
"name": "checks",
"desc": "",
"estimatedSize": "",
"cols": [
{
"id": "8dd045aa-3176-4528-868b-8711e194d788",
"name": "_id",
"datatype": "objectId",
"param": "",
"pk": true,
"nn": true,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "72bcf507-6b2f-4916-b8ae-eff282cd510d",
"name": "guild",
"datatype": "objectId",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": "",
"fk": true
},
{
"id": "89ff6268-aaf0-4d94-8b23-af84af81d233",
"name": "thread_id",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "8d58b94a-dc20-4659-a403-298cdfd109d0",
"name": "member",
"datatype": "objectId",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": "",
"fk": true
},
{
"id": "9a6be1e7-c31e-4536-a09a-61c8ef8dc0d5",
"name": "date_created",
"datatype": "date",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "c8af1e88-3146-40bc-8c3b-0acc666f4847",
"name": "date_modified",
"datatype": "date",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "d3b8a5d5-aecf-4c63-af11-2d3c6f1cdef3",
"name": "challenge",
"datatype": "string",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "0f31f5de-1fb1-4635-ac20-b1dc5a75cff6",
"name": "answers",
"datatype": "regex",
"param": "",
"pk": false,
"nn": false,
"list": true,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
}
],
"relations": [
"4fe09974-9056-4780-a40b-0b98427c9806",
"0c5b44eb-1d1a-4c61-aa95-a5e4e71095f1"
],
"lines": [],
"keys": [
{
"id": "47a67dd7-391a-4d12-8583-7376a6173f31",
"name": "Primary",
"isPk": true,
"cols": [
{
"id": "2d16233d-51c4-469b-9ead-1c4e93527f67",
"colid": "8dd045aa-3176-4528-868b-8711e194d788"
}
]
},
{
"id": "6d879c59-8368-4a64-bbc6-57f8875f125d",
"isPk": false,
"name": "checks_ai_1",
"cols": [
{
"id": "66211936-42bf-4794-ba1b-ef4ed5ac5f3f",
"colid": "8d58b94a-dc20-4659-a403-298cdfd109d0"
}
]
},
{
"id": "4b7c01a8-4353-4735-a34f-ee9a5fa0a841",
"isPk": false,
"name": "checks_ai_2",
"cols": [
{
"id": "96e53783-2729-42e0-9b7d-b2fab3024271",
"colid": "72bcf507-6b2f-4916-b8ae-eff282cd510d"
}
]
}
],
"indexes": [],
"embeddable": false,
"generate": true,
"generateCustomCode": true,
"customCode": "",
"beforeScript": "",
"afterScript": "",
"validationLevel": "na",
"validationAction": "na",
"collation": "",
"others": "",
"size": "",
"max": "",
"validation": "",
"capped": false
},
"9e99a5bf-54d6-4743-9a19-0c122cdaf236": {
"id": "9e99a5bf-54d6-4743-9a19-0c122cdaf236",
"visible": false,
"name": "object",
"desc": "",
"estimatedSize": "",
"cols": [
{
"id": "e347d86c-20af-4947-aa5e-5711d398c03a",
"name": "captcha",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "d6ab1041-ee1b-4b93-b0f6-aabf506aefae",
"name": "logging",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "84e03c39-4ddc-4958-8075-e03c2407f588",
"name": "welcome",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
}
],
"relations": [],
"lines": [],
"keys": [
{
"id": "504c1660-ec59-48f2-a536-f7a0132a0e62",
"name": "Primary key",
"isPk": true,
"cols": []
}
],
"indexes": [],
"embeddable": true,
"generate": true,
"generateCustomCode": true,
"customCode": "",
"beforeScript": "",
"afterScript": "",
"validationLevel": "na",
"validationAction": "na",
"collation": "",
"others": "",
"size": "",
"max": "",
"validation": "",
"capped": false
},
"ecee86d4-9d49-446d-93bb-d41274023485": {
"id": "ecee86d4-9d49-446d-93bb-d41274023485",
"visible": false,
"name": "object",
"desc": "",
"estimatedSize": "",
"cols": [
{
"id": "ebdfc6a6-4ecb-43d9-b680-bec113642463",
"name": "moderator",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "6e67129f-49ff-4851-b53d-bcad6694a5d3",
"name": "captcha_verified",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "263e0911-d6ab-455f-829a-13402122f573",
"name": "captcha_failed",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
},
{
"id": "2789fc3e-d195-4a61-9ccd-5c3bbd1e10b9",
"name": "captcha_additional",
"datatype": "long",
"param": "",
"pk": false,
"nn": false,
"list": false,
"comment": "",
"data": "",
"enum": "",
"validation": "",
"pattern": false,
"estimatedSize": "",
"any": ""
}
],
"relations": [],
"lines": [],
"keys": [
{
"id": "50995e39-016c-401a-a1a4-6f95eecd2a29",
"name": "Primary key",
"isPk": true,
"cols": []
}
],
"indexes": [],
"embeddable": true,
"generate": true,
"generateCustomCode": true,
"customCode": "",
"beforeScript": "",
"afterScript": "",
"validationLevel": "na",
"validationAction": "na",
"collation": "",
"others": "",
"size": "",
"max": "",
"validation": "",
"capped": false
}
},
"relations": {
"4fe09974-9056-4780-a40b-0b98427c9806": {
"id": "4fe09974-9056-4780-a40b-0b98427c9806",
"visible": true,
"name": "_id_member",
"desc": "",
"type": "identifying",
"parent_key": "1c494fbe-59ab-47bf-a18b-f5767cde72d1",
"parent": "8218c159-d6ac-4582-ada6-42234c3b4bb9",
"child": "6e055f35-bf3f-4561-8a6c-e0420c36e4ef",
"c_mp": "true",
"c_mch": "true",
"c_p": "one",
"c_ch": "many",
"c_cp": "",
"c_cch": "",
"cols": [
{
"id": "b7398f91-c5b9-480b-af51-4bc9485904f1",
"parentcol": "cd82ad71-4ec4-4422-bf25-143b09789a88",
"childcol": "8d58b94a-dc20-4659-a403-298cdfd109d0"
}
],
"generate": true,
"generateCustomCode": true,
"customCode": "",
"relationColor": "transparent"
},
"0c5b44eb-1d1a-4c61-aa95-a5e4e71095f1": {
"id": "0c5b44eb-1d1a-4c61-aa95-a5e4e71095f1",
"visible": true,
"name": "_id_guild",
"desc": "",
"type": "identifying",
"parent_key": "37b7443d-a933-4e05-856a-236e8a786531",
"parent": "50052cf6-a0b4-4480-b01f-d9067db1442d",
"child": "6e055f35-bf3f-4561-8a6c-e0420c36e4ef",
"c_mp": "true",
"c_mch": "true",
"c_p": "one",
"c_ch": "many",
"c_cp": "",
"c_cch": "",
"cols": [
{
"id": "dd222990-42cd-42d8-b7bb-cbddf53a8c50",
"parentcol": "90dab62e-469d-4eaa-b69c-cbee4dcc46ca",
"childcol": "72bcf507-6b2f-4916-b8ae-eff282cd510d"
}
],
"generate": true,
"generateCustomCode": true,
"customCode": "",
"relationColor": "transparent"
},
"66940f28-fcde-4d2a-9012-ba7e6bd626e8": {
"id": "66940f28-fcde-4d2a-9012-ba7e6bd626e8",
"visible": true,
"name": "_id_guild",
"desc": "",
"type": "identifying",
"parent_key": "d5cf1cce-1151-48cb-88da-bdaebc19b8e7",
"parent": "50052cf6-a0b4-4480-b01f-d9067db1442d",
"child": "8218c159-d6ac-4582-ada6-42234c3b4bb9",
"c_mp": "true",
"c_mch": "true",
"c_p": "one",
"c_ch": "many",
"c_cp": "",
"c_cch": "",
"cols": [
{
"id": "bad556f3-bee0-4e02-9be1-74fa88ac1c28",
"parentcol": "90dab62e-469d-4eaa-b69c-cbee4dcc46ca",
"childcol": "90568cc9-2179-42e2-8126-5dda98a4ff75"
}
],
"generate": true,
"generateCustomCode": true,
"customCode": "",
"relationColor": "transparent"
}
},
"notes": {},
"lines": {},
"model": {
"name": "GloryBot",
"id": "2eda0a98-3835-4c9d-a356-43df11098784",
"activeDiagram": "8b5fdfd4-c1f4-4646-be16-a36f71f9357b",
"desc": "",
"path": "",
"type": "MONGODB",
"version": 1,
"parentTableInFkCols": true,
"caseConvention": "under",
"replaceSpace": "_",
"color": "transparent",
"sideSelections": true,
"isDirty": true,
"storedin": {
"major": 8,
"minor": 5,
"extra": 1
},
"laststoredin": {
"major": 8,
"minor": 5,
"extra": 1
},
"writeFileParam": false,
"authorName": "",
"companyDetails": "",
"companyUrl": "",
"def_coltopk": true,
"def_validationLevel": "na",
"def_validationAction": "na",
"def_collation": "",
"def_others": "",
"connectionVersion": "",
"lastSaved": 1714494820523
},
"otherObjects": {},
"diagrams": {
"8b5fdfd4-c1f4-4646-be16-a36f71f9357b": {
"name": "Main Diagram",
"description": "",
"id": "8b5fdfd4-c1f4-4646-be16-a36f71f9357b",
"keysgraphics": true,
"linegraphics": "detailed",
"zoom": 1,
"background": "transparent",
"lineColor": "transparent",
"isOpen": true,
"main": true,
"diagramItems": {
"8218c159-d6ac-4582-ada6-42234c3b4bb9": {
"referencedItemId": "8218c159-d6ac-4582-ada6-42234c3b4bb9",
"x": 623,
"y": 165,
"gHeight": 99,
"gWidth": 186,
"color": "#ffffff",
"background": "#03a9f4",
"resized": false,
"autoExpand": true,
"backgroundOpacity": "10",
"collapsed": false
},
"50052cf6-a0b4-4480-b01f-d9067db1442d": {
"referencedItemId": "50052cf6-a0b4-4480-b01f-d9067db1442d",
"x": 45,
"y": 187,
"gHeight": 225,
"gWidth": 210,
"color": "#ffffff",
"background": "#03a9f4",
"resized": false,
"autoExpand": true,
"backgroundOpacity": "10",
"collapsed": false
},
"6e055f35-bf3f-4561-8a6c-e0420c36e4ef": {
"referencedItemId": "6e055f35-bf3f-4561-8a6c-e0420c36e4ef",
"x": 917,
"y": 39,
"gHeight": 171,
"gWidth": 221,
"color": "#ffffff",
"background": "#03a9f4",
"resized": false,
"autoExpand": true,
"backgroundOpacity": "10",
"collapsed": false
},
"9e99a5bf-54d6-4743-9a19-0c122cdaf236": {
"referencedItemId": "9e99a5bf-54d6-4743-9a19-0c122cdaf236",
"x": -1,
"y": -1,
"gHeight": -1,
"gWidth": -1,
"color": "#ffffff",
"background": "transparent",
"resized": false,
"autoExpand": true,
"backgroundOpacity": "10",
"collapsed": false
},
"ecee86d4-9d49-446d-93bb-d41274023485": {
"referencedItemId": "ecee86d4-9d49-446d-93bb-d41274023485",
"x": -1,
"y": -1,
"gHeight": -1,
"gWidth": -1,
"color": "#ffffff",
"background": "transparent",
"resized": false,
"autoExpand": true,
"backgroundOpacity": "10",
"collapsed": false
}
},
"scroll": {
"x": 0,
"y": 0
},
"type": "erd",
"showHorizontal": true,
"showDescriptions": true,
"showIndicators": true,
"showProgress": true,
"lineWidth": "2",
"boxSize": "0",
"boxSpacing": "2",
"boxAlign": "center",
"showIndicatorCaptions": true,
"showEstimatedSize": false,
"showSchemaContainer": true,
"showEmbeddedInParents": true,
"showCardinalityCaptions": true,
"showRelationshipNames": false,
"showLineCaptions": false,
"showColumns": true,
"showColumnDataTypes": true,
"showSampleData": false,
"showTableIndexes": true,
"showTableDescriptions": false,
"showRelations": true,
"backgroundImage": "na",
"descriptionsColor": "transparent",
"embeddedSpacing": "2",
"showMainIcon": true,
"showLabels": true,
"showCustomizations": false
}
},
"diagramsOrder": [],
"order": [],
"collapsedTreeItems": [],
"reverseStats": {}
}