{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/dolittle-resources-configuration/latest.json",
  "title": "Resource Configuration",
  "description": "The resource configurations mapped to tenant id",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/dolittle/DotNET.Fundamentals/v5.1.0/Schemas/ResourceTypes.Configuration/resources.json",
    "sourceSha256": "8e4566a10863109792495536536d041ebae70b5ca1901b766f5e5b65fbd968e3",
    "fileMatch": [
      "**/.dolittle/resources.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "type": "object",
  "$defs": {
    "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"
        }
      },
      "required": [
        "readModels",
        "eventStore"
      ],
      "additionalProperties": true
    }
  },
  "additionalProperties": {
    "$ref": "#/$defs/resourceTypeConfiguration"
  }
}
