{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "dolittle.io/schemas/DotNET.Fundamentals/ResourceTypes.Configuration/resources.json",
    "title": "Resource Configuration",
    "description": "The resource configurations mapped to tenant id",
    "type": "object",
    "additionalProperties": {
        "$ref": "#/definitions/resourceTypeConfiguration"
    },
    "definitions": {
        "resourceTypeConfiguration": {
            "description": "The configuration of a resource type",
            "type":"object",
            "properties": {
                "readModels": {
                    "description": "Configuration for the resource type for read models",
                    "type":"object"
                },
                "eventStore": {
                    "description": "Configuration for the resource type for the event store",
                    "type":"object"
                }
            },
            "additionalProperties": true,
            "required": ["readModels", "eventStore"]
        }
    }
}