.. _io_file_formats_input_schema: ====================== 用户输入规则配置文件 ====================== 该文件为一个Python配置文件,会随程序一起默认安装在 ``/<安装目录>/ngm/`` 下, **用户无需修改**。 文件中定义了一个Python dict ``INPUT_SCHEMA``,CRANE在启动计算之前会基于该文件定义的输入内容规则,调用 `python-jsonschema`_ 库,来排查 :ref:`io_file_formats_input` 中的输入内容错误。 文件详细内容如下: .. literalinclude:: ../../../ngm/input_schema.py :language: python .. _python-jsonschema: https://python-jsonschema.readthedocs.io/en/stable/