diff --git a/README.md b/README.md index 5cb356e..4f5e921 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ backend/ - matters.py - reactions.py - resources/ + - description.json - assets/ - index.json - pics/ @@ -48,13 +49,17 @@ backend/ ### description.json -`resources` 目录下的 `description.json` 是整个源的介绍文件,应当包含源的名字、作者和唯一UUID。其中UUID不带横杠(`-`)。下面给出一个示例: +`resources` 目录下的 `description.json` 是整个源的介绍文件,应当包含源的名字、作者和唯一UUID以及规则。其中UUID不带横杠(`-`)。下面给出一个示例: ```json { "name": "Offical Example", "author": "Paper Chemis Community Team", - "uuid": "6b3d2702c1c345499fc8617d664b3627" + "uuid": "6b3d2702c1c345499fc8617d664b3627", + + "rules": { + "common": true + } } ``` diff --git a/resources/description.json b/resources/description.json index 50bc002..446350e 100644 --- a/resources/description.json +++ b/resources/description.json @@ -1,5 +1,9 @@ { "name": "Offical Example", "author": "Paper Chemis Community Team", - "uuid": "6b3d2702c1c345499fc8617d664b3627" + "uuid": "6b3d2702c1c345499fc8617d664b3627", + + "rules": { + "common": true + } } \ No newline at end of file