def environment_document():  # type: ignore[no-untyped-def]
    """
    An example environment document as returned from the API.
    """
    return {
        "id": 1,
        "api_key": "some-key",
        "project": {
            "id": 1,
            "name": "Test Project",
            "organisation": {
                "id": 1,
                "name": "Test Organisation",
                "feature_analytics": False,
                "stop_serving_flags": False,
                "persist_trait_data": True,
            },
            "hide_disabled_flags": False,
            "segments": [],
            "enable_realtime_updates": False,
            "server_key_only_feature_ids": [],
        },
        "feature_states": [
            {
                "feature": {"id": 1, "name": "test", "type": "STANDARD"},
                "enabled": False,
                "django_id": 1,
                "feature_segment": None,
                "featurestate_uuid": "ec33a926-0b7e-4eb7-b02b-bf9df2ffa53e",
                "feature_state_value": None,
                "multivariate_feature_state_values": [],
            }
        ],
        "name": "Test",
        "allow_client_traits": True,
        "updated_at": "2023-08-01T14:00:36.347565+00:00",
        "hide_sensitive_data": False,
        "hide_disabled_flags": None,
        "use_identity_composite_key_for_hashing": True,
        "amplitude_config": None,
        "dynatrace_config": None,
        "heap_config": None,
        "mixpanel_config": None,
        "rudderstack_config": None,
        "segment_config": None,
        "webhook_config": None,
    }

    An example environment document as returned from the API.
    
api/tests/unit/integrations/flagsmith/test_unit_flagsmith_service.py