{
  "$schema": "https://github.com/Azure/data-api-builder/releases/download/v1.1.7/dab.draft.schema.json",
  "data-source": {
    "database-type": "mssql",
    "connection-string": "Server=tcp:xxx.datawarehouse.fabric.microsoft.com,1433;Initial Catalog=CATALOG;Persist Security Info=False;Encrypt=True;TrustServerCertificate=False;Authentication=Active Directory Default;",
    "options": {
      "set-session-context": false
    }
  },
  "runtime": {
    "rest": {
      "enabled": true,
      "path": "/api",
      "request-body-strict": true
    },
    "graphql": {
      "enabled": true,
      "path": "/graphql",
      "allow-introspection": true
    },
    "host": {
      "cors": {
        "origins": [],
        "allow-credentials": false
      },
      "authentication": {
        "provider": "StaticWebApps"
      },
      "mode": "production"
    }
  },
  "entities": {
    "TimeBookings": {
      "source": {
        "object": "dbo.calendardata_test_v2",
        "type": "table"
      },
      "graphql": {
        "enabled": true,
        "type": {
          "singular": "TimeBookings",
          "plural": "TimeBookings"
        }
      },
      "rest": {
        "enabled": true
      },
      "permissions": [
        {
          "role": "anonymous",
          "actions": [
            {
              "action": "*"
            }
          ]
        }
      ]
    }
  }
}