{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://www.espocrm.com/schema/autoload.json",
    "title": "autoload",
    "description": "Composer definitions.",
    "type": "object",
    "properties": {
        "psr-4": {
            "description": "A PSR-4 mapping. Example: {\"SomeLib\\\\\": \"custom/Espo/Modules/MyModule/vendor/some-lib/src\"}",
            "type": "object",
            "additionalProperties": {
                "type": "string"
            }
        },
        "psr-0": {
            "description": "A PSR-0 mapping.",
            "type": "object",
            "additionalProperties": {
                "type": "string"
            }
        },
        "autoloadFileList": {
            "description": "Autoload PHP files.",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "classmap": {
            "description": "A class-name => file-path mapping.",
            "type": "object",
            "additionalProperties": {
                "type": "string"
            }
        }
    }
}
