diff --git a/.gitignore b/.gitignore index a66ef27..b5f28c7 100644 --- a/.gitignore +++ b/.gitignore @@ -22,5 +22,6 @@ !*.sh !*.md +!*.json # ...even if they are in subdirectories !*/ diff --git a/structful.json b/structful.json new file mode 100644 index 0000000..68a042e --- /dev/null +++ b/structful.json @@ -0,0 +1,44 @@ +{ + "_group": "system_collections", + "_name": "_structful", + "_version": "202507", + "singular": "structful", + "plural": "structful", + "system": true, + "idPrefix": "", + "indexSpecs": [{ + "name": "group_version_1", + "keys": { "_group": 1, "_version": 1 }, + "unique": false + }, { + "name": "group_version_1", + "keys": { "_group": 1, "_version": 1, "_name": 1 }, + "unique": true + }], + "schema": { + "type": "object", + "properties": { + "_id": { + "bsonType": "objectId" + }, + "_group": { + "bsonType": "string" + }, + "_name": { + "bsonType": "string" + }, + "_version": { + "bsonType": "string" + }, + "createdAt": { + "bsonType": "timestamp" + }, + "updatedAt": { + "bsonType": "timestamp" + }, + "archivedAt": { + "bsonType": "timestamp" + } + } + } +}