{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-healthlake/json-schema/aws-healthlake-list-fhirdatastores-request-schema.json",
  "title": "ListFHIRDatastoresRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-healthlake-datastore-api-openapi.yml#/components/schemas/ListFHIRDatastoresRequest",
  "type": "object",
  "properties": {
    "Filter": {
      "$ref": "#/$defs/DatastoreFilter"
    },
    "NextToken": {
      "type": "string",
      "description": "The token used to retrieve the next page of data stores when results are paginated."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of data stores returned on a page."
    }
  },
  "$defs": {
    "DatastoreFilter": {
      "type": "object",
      "properties": {
        "DatastoreName": {
          "type": "string",
          "description": "Filter data store results by name."
        },
        "DatastoreStatus": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "DELETING",
            "DELETED",
            "CREATE_FAILED",
            "UPDATING",
            "UPDATE_FAILED"
          ],
          "description": "Filter data store results by status."
        },
        "CreatedBefore": {
          "type": "string",
          "format": "date-time",
          "description": "Filter to set cutoff dates for records. All data stores created before the specified date are included in the results."
        },
        "CreatedAfter": {
          "type": "string",
          "format": "date-time",
          "description": "Filter to set cutoff dates for records. All data stores created after the specified date are included in the results."
        }
      }
    }
  }
}