Terraform provider framework and Dynamic Maps

Was trying to learn providers, I have a server of my own, with different API endpoints.
One of the endpoints outputs

{
  "data": {
    "key1": {
      "subKey1": "value1",
      "subKey2": "value2"
    },
    "key2": {
      "subKey3": "value3"
    }
  }
}

When trying to create a terraform provider using framework for various endpoints. How Can I capture this in the schema for my datasource? Is it possible?

Thanks